On Sat, Mar 2, 2013 at 6:57 PM, [email protected] <[email protected]> wrote: > It's a broadcast receiver it runs on receipt of an sms message and runs for > less than a second. Just sends the phone location back to the sender.
Which, as he noted, will not work on any Android 3.1+ device until the user manually runs the app once, such as by launching an activity of yours. > You gressed it. Broadcast receiver. It's an activity that runs for about > 600 - 700 mills. AFAIK, `SmsManager` can be used by a `BroadcastReceiver`, and so there's no obvious reason why you would need an activity in the first place. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.6 Available! -- -- 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.

