Hello, Corona Labs Forum.
I am a newbie, have been working on a simple app, but I am making good steady progress on a simple app. The problem is it works nice in the Corona Simulator, but the saving and loading files is not working on Android Nexus 7 (2012). Have any of you encountered such problems?
I need to save messages which can not be sent offline.
The app has a basic form to email process which is called using chromium. I cant tell what is wrong, I have not got into droid debugging yet… though I am reluctantly downloading the Droid SDK now.
The app works by Playing a simple game (which is hard); Then when player surrenders; They can submit a form to make contact.
I clear the form once the SEND button is pressed, save the data in a text file in System directory
Then try to send it via Coronium IO - it can check internet access and switch control accordingly so that data which can not be sent is saved into a temporary file in the system.DocumentsDirectory
- This works nice in the simulator.
- It works when simulator is offline.
- It works when device is online.
- but when device is offline, it does not save – or it does not load
I do a check within the start screen to see if there are old messages to send which were saved during offline session.
Problem is the black box droid which is not able to pick up data inputted during offline session. I hope to get more insight into the black box now, but it has been very discouraging and I wonder if there are any heads out there which can advise?
Thanks in advance,
Daniel