[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
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

[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
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

[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
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

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread Adam Hammer
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 wrote: > Hello, > > I want to share data between 2 applications. > the idea is both applications can write and read the SAME data an

Re: [android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread Dianne Hackborn
On Sun, Sep 19, 2010 at 7:32 AM, ayanir wrote: > I'll go with the file on external storage. > I think that there should be a general system ContentProvider for that > exact purpose - I could only hope it will be one day... > Why? There is already external storage which is a mess enough. Why ad

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread ayanir
Thanks, it worked like a charm. On Sep 19, 4:39 pm, Mark Murphy wrote: > On Sun, Sep 19, 2010 at 10:32 AM, ayanir wrote: > > I think that there should be a general system ContentProvider for that > > exact purpose - I could only hope it will be one day... > > I rather doubt that will happen, at

Re: [android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread Mark Murphy
On Sun, Sep 19, 2010 at 10:32 AM, ayanir wrote: > I think that there should be a general system ContentProvider for that > exact purpose - I could only hope it will be one day... I rather doubt that will happen, at least in terms of the core OS. Android is very determined to avoid applications le

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread ayanir
Thank you Mark. I'll go with the file on external storage. I think that there should be a general system ContentProvider for that exact purpose - I could only hope it will be one day... Prakash - you solution of installing a third app which contains the ContentProvider is not really an option for

Re: [android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread Prakash Iyer
Yes. That's what I interpreted the OP saying when he says File is an option but he's looking for alternatives. On Sep 19, 2010 10:10 AM, "DanH" wrote: Can an application not place images or music in directories on the device, and have those files persist beyond the persistence of the app? On Se

Re: [android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread Mark Murphy
On Sun, Sep 19, 2010 at 10:09 AM, DanH wrote: > Can an application not place images or music in directories on the > device, and have those files persist beyond the persistence of the > app? On external storage, yes. In the directory obtained via getFilesDir() (/data/data/your.package.here/files)

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread DanH
Can an application not place images or music in directories on the device, and have those files persist beyond the persistence of the app? On Sep 19, 7:23 am, Mark Murphy wrote: > On Sun, Sep 19, 2010 at 8:12 AM, ayanir wrote: > > I want to share data between 2 applications. > > the idea is both