I developed an app with:
- a button to insert some data in a sqlite db
- some views to show and update the sqlite db records
Now i'd like to write a simple widget that just perform the app button action: insert some data in the SAME sqlite db. The goal is to use the widget for fast insert without opening the app, and the app when i need more complex opertions.
- is the widget the right way to do it?
- is it possible to share the same db between the app (the real owner) and the widget? how?
- do I need a contentProvider?
Thanks