V viljemto Member Licensed User Longtime User May 8, 2013 #1 Hi guys, did someone find solution for StarAtBoot on HTC devices with Fast boot enabled? If device is restarted - app is started OK if device is shutdown and powered on again - app does not start at all. With regards, Viljem
Hi guys, did someone find solution for StarAtBoot on HTC devices with Fast boot enabled? If device is restarted - app is started OK if device is shutdown and powered on again - app does not start at all. With regards, Viljem
Erel B4X founder Staff member Licensed User Longtime User May 8, 2013 #2 The problem in this mode is that the "boot completed" intent is not sent as this is not a full boot. I haven't tested it, however if your service is a sticky service I expect it to continue running after fast boot. Upvote 0
The problem in this mode is that the "boot completed" intent is not sent as this is not a full boot. I haven't tested it, however if your service is a sticky service I expect it to continue running after fast boot.
V viljemto Member Licensed User Longtime User May 8, 2013 #3 No, it does not run. I have deselected StartAtBoot and add code bellow. As far for now that I could test, it is working OK. B4X: AddPermission(android.permission.RECEIVE_BOOT_COMPLETED) AddReceiverText(tel, <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.QUICKBOOT_POWERON" /> </intent-filter>) Upvote 0
No, it does not run. I have deselected StartAtBoot and add code bellow. As far for now that I could test, it is working OK. B4X: AddPermission(android.permission.RECEIVE_BOOT_COMPLETED) AddReceiverText(tel, <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.QUICKBOOT_POWERON" /> </intent-filter>)
V viljemto Member Licensed User Longtime User Jul 6, 2014 #5 I would like post to update on this. On HTC Desire 500 dual sim (Android 4.1.2) I had to use all of these: B4X: <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.QUICKBOOT_POWERON" /> <action android:name="android.intent.action.QUICKBOOT_POWEROFF" /> <action android:name="com.htc.intent.action.QUICKBOOT_POWEROFF" /> <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" /> Upvote 0
I would like post to update on this. On HTC Desire 500 dual sim (Android 4.1.2) I had to use all of these: B4X: <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.QUICKBOOT_POWERON" /> <action android:name="android.intent.action.QUICKBOOT_POWEROFF" /> <action android:name="com.htc.intent.action.QUICKBOOT_POWEROFF" /> <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />