TreKing.  You gressed it.  Broadcast receiver.  It's an activity that runs 
for about 600 - 700 mills.  
On Saturday, March 2, 2013 11:05:23 AM UTC-7, TreKing wrote:
>
>
> On Sat, Mar 2, 2013 at 10:36 AM, [email protected] <javascript:> <
> [email protected] <javascript:>> wrote:
>
>> Well, the app reliably works while other activities are running and when 
>> the phone is locked.
>
>
> This may be the case in your testing, but this is not guaranteed. Your app 
> can and will be killed at any point while it's in the background to make 
> room for other components as the system requires. You will find this out 
> quite quickly once you release the app users who manage to get into these 
> type of edge-cases.
>
> It sounds like you should be using a Service.
>  
>
>> You send the phone a text and you get back the phones location.  It 
>> doesn't have to be running.  In fact it never has to run.  It just has to 
>> be installed on the phone.
>
>
> Obviously it does have to run at some point to do anything. Maybe it runs 
> in response to a Broadcast instead of user interaction but it doesn't just 
> magically work without actually running some code.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
-- 
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