Tuesday, May 7, 2013

[android-developers] Need help with background loading

Hi!

In my app, I have a loader that calls a webservice and gets a result from it. Based on that result being positive, it would show an alertdialog to tell the user there is an update available for some files (that are parts of my app).

Problem is : I'd like to start that loader on app launch, and deliver the alertdialog anywhere in the app, whatever activity the user is in.

I searched for a solution. Thought about putting the loader work in the Application class, but really not sure it's a viable solution.

TL;DR : Do you have any idea how to do background process on app launch, that would delivers an alertdialog independently of the activity user's in?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate