I have an app with a main activity that has no visible interface 
(android:theme="@android:style/Theme.NoDisplay).  The app is  started by 
receipt of an SMS message in a BroadCast activity which kicks off another 
activity (also no GUI) that does work and then sends an SMS message.  It 
works very well; actually better than I had expected because it runs even 
if other apps are running a foreground activity.
 
Now I'm familiar with the Android Activity Lifecycle but I guess this means 
that Android (I'm using 2.33) can run "many" activities "at once."  Even 
when I'm running a very active GPS tracking application that is writing 
layers on a mapview, my "no-display" app starts does his work and sends the 
results out on an SMS message.  The tracking app that was running never 
even blinked.
 
I don't have any problem (at least not programming related), I'm just 
curious why this works.
Regards,
Gary
 
 

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to