I am building an android application that when the AppWidget is pressed a number of times, it will send an SMS. The application will run as service, and if the AppWidget is pressed a number of times it will send an SMS alert. Is there any way that the AppWidget can still be use even if the phone is in lock-screen?
Asked
Active
Viewed 114 times
2 Answers
0
In the widgets widget_info.xml file under res/xml you can add the following line of code:
android:widgetCategory="keyguard|home_screen"
This will allow your widget to be placed on the lock screen and home screen.

TronicZomB
- 8,667
- 7
- 35
- 50