I would like to acces my app from another app. For instance, i would like to, from the build-in SMS-application, to copy some text and add the text to my database. But the whole action should be done from the SMS-application. Is that possible?
Further explanation:
I am making a grocery-list app. My idea is then, that is someone text you: “Can you pick up potatoes?”, then you can long click on the sms, pick the word “potato” and add it to the database in my app, directly from the SMS-application.
Regards
Jesper
Each application in Android runs in it’s own separate process, and it’s isolated from other applications. But there is a way to interact and share information between applications, using Content Providers.
Take a look at this
You will find out how you can access other’s application database, and get information from there (for your application, the messages stored in the sms application database).