> A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a
> silence application which handles the Push messages based on actions/
> mimetype without needing any intreaction with user,
> I've tried to test it in a SMS receiver by removing the Activity from
> the project and it stopped receiving the SMS messages.

If your Activity was the one that called registerReceiver() to register
your BroadcastReceiver, and you remove the Activity, that will have a side
effect of eliminating the registerReceiver() call.

> My question: Does all android applications "MUST" define a activity?

No. You can define a BroadcastReceiver in the manifest, for example.

Bear in mind, though, that users will sometimes down-rate apps on the
Market that lack an activity, just because they cannot figure out how to
use the app if there is no icon.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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