One more thing ... if I happen to be in the NetBeans IDE /
Debugger.... I can be at a breakpoint and (all of a sudden) its been
knocked out of debugging mode -- i.e. the App really has "died"


On Sep 11, 3:37 pm, tony obrien <[email protected]> wrote:
> Thanks, but I already HAVE such a thing in my Manifest...
>
> I suppose that my BR intent *could be* lurking while my MAIN dies...
> but then why doesn't the MAIN get REStarted when the BR starts
> updating Main's (static) variables ?  Main is *not* starting and so
> its just as if the SMS was never received...
>
> any ideas?
>
> On Sep 11, 3:02 pm, Kostya Vasilyev <[email protected]> wrote:
>
> >   Well, all-you-gotta-do is:
>
> > Register your receiver in the manifest, like so:
>
> > <receiver android:name=".YourSmsMessageReceiverClassName">
> > <intent-filter>
> > <action android:name="android.provider.Telephony.SMS_RECEIVED" />
> > </intent-filter>
> > </receiver>
>
> > ( Taken 
> > from:http://developer.android.com/resources/samples/ApiDemos/AndroidManife...
> > )
>
> > Receivers declared in the manifest are active all the time, for as long
> > as the application is installed (and not disabled in the manifest). You
> > don't need to take any kind of special action for them to receive events.
>
> > In the onReceive() method of your broadcast receiver, you are free to do
> > whatever you like: such as starting a service to do some kind of
> > processing (I actually recommend this).
>
> > The application process will be started by Android as necessary.
>
> > -- Kostya
>
> > 11.09.2010 22:25, tony obrien пишет:
>
> > > I am hoping someone may respond and say … "Well, all-you-gotta-do is
> > > Blah_Blah…"  Is there a way to make the OS "not" clean me out of
> > > memory? Is the answer to make the b-receiver a "service"? And is that
> > > allowable in Android?
>
> > --
> > Kostya Vasilyev -- WiFi Manager + pretty widget 
> > --http://kmansoft.wordpress.com
>
>

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

Reply via email to