I want to start my application when phone startup
I just follow tutorial from here but it doesn\'t work in my device. Please see my method:
public c
@Override
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")) {
context.startService(new Intent(context, BootService.class));
}
}
and next you should implements BootService class extended Service