Page 1 of 2

Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 5:32 am
by Nishad Rahman

App works fine when opened in emulator (test - launched in web browser). However, when exported to .apk and installed on an android phone. the application stops when services to databases are called.

Please Help


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 7:49 am
by Maryna Brodina

Hello! Could you clarify what do you mean on "application stops". What exactly happens when you call the services? What device (and version) you use to test?


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 8:20 am
by Nishad Rahman

Well, i have placed each service to call the next service on success. in a sequential flow.

All previous events gets completed, however when the app triggers the service to write to db. nothing happens.

I tried replacing the flow of events, yet every time when the app has to write to db it stops, which means it does not trigger the subsequent services called.

Do note - the issue is only when its run on an android device.

The device I used is SAMSUNG GALAXY SII. (Android ver:2.3.3)

the public link to the app is : http://appery.io/app/view/b2f5fbdc-ea...


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 8:26 am
by Maryna Brodina

Thank you, we'll test, but it takes time...


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 8:36 am
by Nishad Rahman

Great, will await your response.


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 12:17 pm
by Maryna Brodina

Sorry, could you clarify how to reproduce the problem? Where to go/click after login on Facebook?


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 12:21 pm
by Nishad Rahman

There is nothing more.. (Its just in the initial stages)

right now, after the user logins to Facebook, his profile information needs to be saved to the database.

Like I mentioned before, the details are captured to db when I run the app on web browser. However, on the android phone nothing is saved to db.


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 12:28 pm
by Maryna Brodina

Ok, got it. Could you share your DB with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 12:30 pm
by Nishad Rahman

Sure. its on your server anyways :)

https://appery.io/database/

Database name : qpi

anything else you require ?


Database service Work in emulator, but not on android phone

Posted: Mon Jul 15, 2013 12:34 pm
by Maryna Brodina

No, that's enough for now. Thank you! I'll update.