Hi All,

I want to start my application when i start emulator like as Email
application.
I created a Receiver class "BootReceiver" and i want to print a Log
from onReceive() method of my Receiver class when my emulator's boot
up complete. I did two things in manifest file as below , but it's not
working.

------------------------------------
1.)
<receiver android:name="com.android.exchange.BootReceiver"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
----------------------
2.)
<uses-permission
android:name="android.permission.RECEIVE_BOOT_COMPLETED">
</uses-permission>
-----------------------------

Please let me know how to do this.

Thanks,
Sohan Badaya

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to