I Done Hybrid application using IBM Worklight.I created apk file using eclipse and installed in android device.if my Mobile first Server is Stopped my app in android Mobile not working. if my Mobile first Server is Started then My app working can u tell me what is happing?
Asked
Active
Viewed 139 times
-3
-
Why do you think the app would work if you turn the server off? – leppie Feb 13 '15 at 04:53
-
My Mobile First Server is off and i opened app in android.. app is to update the entered user password.. when i clicked on update its showing Checking User Loading Message upto 1 Min.. Then I started My Server.. I done Same thing within 5 sec it stated that password is updated sucessfully – Linga Reddy Feb 13 '15 at 05:08
1 Answers
1
Your application must connect to the Server.
If you close the server, it will fail connecting to the server.
If you start the Server, it will then succeed to connect to the Server.
If you want your application to continue functioning to some degree while the server is not reachable, you may want to see if Offline Authentication is what you're looking for.
From your duplicate question, it also seems that you're trying to use MFP adapters while the server is offline; this will not work. adapters use the server. Review my comments in the other question.