Unfortunately I not have solved. I also tried with ScreenOn and ScreenOFF, but if I/User close the Activity manually (by dragging in the panel phone), this are blocking processes and remains the only Widget opended. It's possible , close a Widget when I close the Activity manually ( not to code)?
So, I've a Activity start (whenlaunch the widget); the Service Modele (my widget) and a Second Activity (my menu).
The problem is this Secon Activity. When it closed Manually, I wont terminate a widget...it's possible?
Thanks