Hi,
Im writing my first app using B2A having written a couple using java.
The app goes like thus:
1) User chooses the widget and adds to the home screen. Done
2) On adding the widget i want it to open an activity of user options. Done
3) User makes changes which are reflected on the widget. Done
4) User save changes or exits activity. Done
What i want to happen is if the user decides to exit the activity without saving, then the widget is removed from the homescreen as though it had never been added.
I'm thinking possibly i may need to remove the widget using AppWidgetHost.
Can anybody help me please, i have seen this functionality in an app called Widgetsoid so it must be possible.
Im writing my first app using B2A having written a couple using java.
The app goes like thus:
1) User chooses the widget and adds to the home screen. Done
2) On adding the widget i want it to open an activity of user options. Done
3) User makes changes which are reflected on the widget. Done
4) User save changes or exits activity. Done
What i want to happen is if the user decides to exit the activity without saving, then the widget is removed from the homescreen as though it had never been added.
I'm thinking possibly i may need to remove the widget using AppWidgetHost.
Can anybody help me please, i have seen this functionality in an app called Widgetsoid so it must be possible.