Nishad Rahman
Posts: 0
Joined: Mon Jul 15, 2013 5:32 am

Database service Work in emulator, but not on android phone

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Database service Work in emulator, but not on android phone

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?

Nishad Rahman
Posts: 0
Joined: Mon Jul 15, 2013 5:32 am

Database service Work in emulator, but not on android phone

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...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Database service Work in emulator, but not on android phone

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

Nishad Rahman
Posts: 0
Joined: Mon Jul 15, 2013 5:32 am

Database service Work in emulator, but not on android phone

Great, will await your response.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Database service Work in emulator, but not on android phone

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

Nishad Rahman
Posts: 0
Joined: Mon Jul 15, 2013 5:32 am

Database service Work in emulator, but not on android phone

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Database service Work in emulator, but not on android phone

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

Nishad Rahman
Posts: 0
Joined: Mon Jul 15, 2013 5:32 am

Database service Work in emulator, but not on android phone

Sure. its on your server anyways :)

https://appery.io/database/

Database name : qpi

anything else you require ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Database service Work in emulator, but not on android phone

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

Return to “Issues”