Hey huys, I’ve got a samsung s4 that I’m trying to test some functionality on that unfortunately, can’t be done through the simulator on windows (cough*textboxes*cough) Basically, I’ve got a login screen, with a username and password field, and a login button. The login button calls a function that, for the moment, is supposed to be writing the data to my appData.json file. I’ve attempted to search for the file (through ESFileExplorer app) but it’s not locating it on the device. Any one have any hints on trying to locate the folder it should be in? I’ve attempted to google, but I’m not really getting any hints, mostly finding things for people looking for a sandbox to test in for other things
@akuthia, if I am not mistaken, you would only be able to access the app sandbox if your app is rooted.
But you can easily test that functionality on your Corona Simulator. Just add the a “if” on your login button handler that checks if you are running the app on your simulator. If so, makes the app login using a hard coded credentials.
Renato, thanks for the reply, I’m almost positive I’m rooted (or, at least I had been and don’t remember doing anything to unroot it) That’s essentially what I’m doing now (although I skipped the if and just hardcoded a string into the variable I’m passing for now at the top of the file.)
The software that I use to access Android files is AndroidCommander.
Here are the paths on my Android:
Documents Directory: /data/data/[com.app.bundle.id]/app_data/
Temporary Directory: /data/data/[com.app.bundle.id]/cache/
ok, it looks like IO’m not rooted. I had actually done a search in ESF for the com.app stuff, and didn’t have any hits… something to work on tomorrow i guess
@akuthia, if I am not mistaken, you would only be able to access the app sandbox if your app is rooted.
But you can easily test that functionality on your Corona Simulator. Just add the a “if” on your login button handler that checks if you are running the app on your simulator. If so, makes the app login using a hard coded credentials.
Renato, thanks for the reply, I’m almost positive I’m rooted (or, at least I had been and don’t remember doing anything to unroot it) That’s essentially what I’m doing now (although I skipped the if and just hardcoded a string into the variable I’m passing for now at the top of the file.)
The software that I use to access Android files is AndroidCommander.
Here are the paths on my Android:
Documents Directory: /data/data/[com.app.bundle.id]/app_data/
Temporary Directory: /data/data/[com.app.bundle.id]/cache/
ok, it looks like IO’m not rooted. I had actually done a search in ESF for the com.app stuff, and didn’t have any hits… something to work on tomorrow i guess