Dianne, it will be great if I can use any other way as long it will: 1. be accessible for both apps no mater which of them installed first 2. will "survive" uninstall
Adam, I can't use cloud because of security reasons: the first app being installed saves kind of a "login" details for both of the apps. The only way I can use cloud was if a device could have unique identification but you can't achieve that on Android :( Also, both apps can change that data and I want to keep a single instance of it without a copy. ayanir On Sep 20, 12:10 am, Adam Hammer <[email protected]> wrote: > You could use network/cloud storage for this instead of SD. Depending > on how much data you are talking it's a feasible alternative. > > Adam > > On Sep 19, 5:12 am, ayanir <[email protected]> wrote: > > > Hello, > > > I want to share data between 2 applications. > > the idea is both applications can write and read the SAME data and > > there is no dependency which one of the apps is installed or first > > created the data. I have 2 version of the same app: regular and > > premium and I don't know which of them will be first installed and > > both of them can change it. > > > I tried to use ContentProvider but the problem is that only the first > > app can create the Provider and when it is uninstalled it deletes that > > custom Provider. I want the Content to be kept for the second app. > > Also, I tried to use Settings.System which keeps the data regardless > > if the application is installed or not but I don't want to use the > > permission for that (it is very problematic from user perspective). > > BTW, it seems that I can change ANY of the Settings.System which is > > not secured from Android OS perspective - but this is a subject for > > other post. > > > I see only one left choice using a File for that but, I wanted to know > > if I can use another way? > > > Thanks, > > ayanir -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

