Mark, not sure what you mean. If the user runs the app, it's a FlashLight app where the user can turn on the led to find his way around in the dark. If the app is kicked off by a sms message it does a completely different thing. I have installed the app, never ran the flashlight, sent a sms message and it works. My android phone number is 5209791360. Send it a sms message containg &&& only. You should get back the location.
On Saturday, March 2, 2013 5:08:42 PM UTC-7, Mark Murphy (a Commons Guy) wrote: > On Sat, Mar 2, 2013 at 6:57 PM, [email protected] <javascript:> > <[email protected] <javascript:>> 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.

