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 !
And :
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
2 matches
Mail list logo