If you need to load the data just once, write a boolean flag somewhere after
the initial download succeeds, and check it when the application is started
again.

If the data can change over time, write a timestamp, and check with your
server if it's different. If not, just use whatever has already been
downloaded.
14.04.2011 2:06 пользователь "ABSOLUT" <[email protected]> написал:
> Hi
> I have an application with some tabhosts.
> The first time that i do click in the tabhost the app must connect to
> internet to get some data. I save this data in a sqllite database.
> Well I Would like the best way if I push other time /times the tabhost
> that the data will be reading from database
>
> Many thanks and sorry for my english
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to