Just add this line to your Android manifest in your project:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"></uses-permission>
And then you'll be able to respond to OS boot.
A site devoted to the Qt Development Frameworks with news, tricks, tips, source code, examples and more, much more.
This blog is in no way affiliated to or endorsed by Digia Plc.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"></uses-permission>
No comments:
Post a Comment