Your app can't run unless you actually run it the first time, that's a security feature. (Yes, I know you're catching on boot.)
Doesn't it seem unprofessional to start out asking developers a question and then trying to get money out of them? Kris On Sat, Mar 2, 2013 at 11:36 AM, [email protected] <[email protected]> wrote: > Well, the app reliably works while other activities are running and when the > phone is locked. I will have it on Google Play next week and you can try it > for yourselves (for a couple bucks). It's called SignalBeacon. 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. > Gary > > On Thursday, February 28, 2013 8:53:21 AM UTC-7, [email protected] > wrote: >> >> 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. > > -- -- 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.

