I\'ve been trying to test a service when a device boots up on android, but I cannot get it to work. I\'m trying to start it with this command from CMD:
(in ..\\AppDa
If adb root is not working (Production build), Use in your manifest :
android:name="android.intent.action.ACTION_BOOT_COMPLETED instead.
android:name="android.intent.action.ACTION_BOOT_COMPLETED
and from terminal:
adb shell am broadcast -a android.intent.action.ACTION_BOOT_COMPLETED