Reputation: 237
I would like to create two applications, the first creat and write in a file. the Second one read from this file and update its informations. I don't know if it is possible. and if it is possible for the update the best way is a service or an Activity?
Upvotes: 0
Views: 287
Reputation: 82563
You can use a Content Provider to provide access for third party apps to your internal files. This is the recommended method for sharing files across apps, and is much safer as pointed out by @CommonsWare in the comments.
If you are the one writing both apps, and they are signed with the same key, then you can also use a shared user ID to allow direct interapp access to data files.
Upvotes: 2