[android-developers] How to start application when bootup complete of emulator

2010-09-01 Thread Sohan badaya
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.test.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


[android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread Sohan badaya
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


Re: [android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread { Devdroid }
 receiver android:name=com.android.exchange.BootReceiver

is your package really named com.android.exchange? Anyway, shorten the name
to just android:name=.BootReceiver so you will not have to bother
package names by hand

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


Re: [android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread Kostya Vasilyev
 And better change the package so it doesn't start with com.android, 
or you won't be able to upload the results of your work to Android Market.


-- Kostya

12.08.2010 18:30, { Devdroid } пишет:

receiver android:name=com.android.exchange.BootReceiver

is your package really named com.android.exchange? Anyway, shorten the name
to just android:name=.BootReceiver so you will not have to bother
package names by hand



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


Re: [android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread Sohan badaya
Hi,

sorry for the mistake, my receiver tag is like
receiver android:name=.BootReceiver.
/receiver

but still problem is same how to start my application after boot up
complete.
Please help me for the same.

Thanks,
Sohan Badaya


On Thu, Aug 12, 2010 at 8:30 PM, { Devdroid } webnet.andr...@gmail.comwrote:

  receiver android:name=com.android.exchange.BootReceiver

 is your package really named com.android.exchange? Anyway, shorten the
 name
 to just android:name=.BootReceiver so you will not have to bother
 package names by hand

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 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