[android-developers] Re: Service start in Turn on Device

2010-10-22 Thread MarcoCanali
Thanks ... It Works ! i Use this Code in Service Class : Intent mIntent = new Intent(context,MyClass.class); context.startService(mIntent); And Uses Permission in Manifest ! !-- Register in Android Manifest BootReceiver receiver -- receiver android:name=BootReceiver

[android-developers] Re: Service start in Turn on Device

2010-10-12 Thread pramod.deore
You have to register for the BOOT_COMPLETED intent but also for the intent that will start the actual service.In manifest file use permission as uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / The broadcast action android.intent.action.BOOT_COMPLETED that is sent out