So, just so I understand this correctly. I will need two classes, one
the broadcastreciever and the other the service. The broadcastreciever
will listen for the boot complete to start the service. The service
will then listen for the headset broadcast and pass that back to the
broadcastreciever cla
Even if you declare the receiver in the manifest, you have to register
that receiver in each of your activities if you want to receive
specific intents. Declaring only in the manifest just ensures that
your receiver gets called, but it wont pass on that broadcast to your
Activities unless you regis
thanks All [?]
@Agus : can u plz expalin me how to do that
in my project there are 5 classes
--> 4 class file extend *Activity* -- mainly they display user interaction
screen
--> 1 class file extends *BroadcastReceiver -- *capture the incomming call
and display/ launch the one of the activity.
--
no, just declare your receiver in the manifest.
On Fri, Jul 23, 2010 at 12:40 AM, Kumar Bibek wrote:
> You have to register the receivers in each of the activities.
>
> -Kumar Bibek
> http://tech-droid.blogspot.com
>
> On Jul 23, 11:12 am, Sandeep wrote:
>> Hi All,
>>
>> I am working on one proj
You have to register the receivers in each of the activities.
-Kumar Bibek
http://tech-droid.blogspot.com
On Jul 23, 11:12 am, Sandeep wrote:
> Hi All,
>
> I am working on one project where i am using broadcast receiver in one
> of my activity to capture the incomming call and its works fine.
>
5 matches
Mail list logo