Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old December 13th, 2011, 10:44 AM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Online mobile apps

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

cctruc is offline  
Reply With Quote
Sponsors
Old December 13th, 2011, 03:28 PM   #2 (permalink)
Premium Member
 
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
 
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
Default

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.
jiminaus is offline  
Reply With Quote
Old December 14th, 2011, 06:01 AM   #3 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot, Jiminaus!
cctruc is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:18 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo