How can i test my application after reboot(BOOT COMPLETED) using Genymotion I am using nexus 4 as device
<receiver android:name="com.template.SampleBootReceiver"
android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
You can use the command line with adb reboot
. It should restart your device.
To use adb you need to be inside the adb binary's folder. ie, <android SDK>/platform-tools/
or <genymotion folder>/tools/
if the android SDK is not installed. You can also these folders to your path to access it from anywhere.