• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Online mobile apps

cctruc

Lurker
Hello,
I'm new at android development and I have a theoretical question. My app, at the first screen, is gonna check a server to offer some options to the user. The options are phrases and the app has to load these phrases and show in the screen. Is it possible to do every time that the user turn the app on? Is it possible to do via web services?

Thanks a lot..

Caio
 
You can do this in the main activities's onStart method. Although, you'll want to only start a background thread in onStart and do the actual network communication in that background thread.

In regards to web services, you have network, XML and JSON libraries in the core Android platform. There's no built-in SOAP library. I've never used it, but I've seen people use ksoap2 in Android projects.
 
Back
Top Bottom