Re: [android-developers] Re: Write to another application's internal memory

2012-12-04 Thread Android Test
Ok noted. Thanks for the info. On Mon, Dec 3, 2012 at 6:15 PM, Amey Bapat amey.n.ba...@gmail.com wrote: Hi , There are few bugs related to sharedUserId which you must take into account before using it mate. read more here: http://java-hamster.blogspot.in/2010/05/androids-shareduserid.html

Re: [android-developers] Re: Write to another application's internal memory

2012-12-03 Thread Android Test
Hi All, Thanks for all the advice. I used android:sharedUserId in the android manifest and now is able to write across the app's internal memory. As my only purpose is to write text files (no sharing etc is involved), I found this the most easiest to implement. On Thu, Nov 29, 2012 at 5:37 PM,

Re: [android-developers] Re: Write to another application's internal memory

2012-12-03 Thread Amey Bapat
Hi , There are few bugs related to sharedUserId which you must take into account before using it mate. read more here: http://java-hamster.blogspot.in/2010/05/androids-shareduserid.html On Mon, Dec 3, 2012 at 2:23 PM, Android Test aandroidt...@gmail.com wrote: Hi All, Thanks for all the

[android-developers] Re: Write to another application's internal memory

2012-11-29 Thread Carl
You could try using android:process with the same process name on the manifest declaration of the activities in each app between which you wish communication to occur. Note that they will also probably have to share a single heap, which may create problems, depending upon how much memory is

[android-developers] Re: Write to another application's internal memory

2012-11-29 Thread skink
Carl wrote: You could try using android:process with the same process name on the manifest declaration of the activities in each app between which you wish communication to occur. Note that they will also probably have to share a single heap, which may create problems, depending upon how

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread Streets Of Boston
You can't do that. If you want 2 separate apps (i.e. apps with a different package name and therefore different user-ids) to share data, you'd have to device other measures: 1. Write your own ContentProvider that is public/exported.

Re: [android-developers] Re: Write to another application's internal memory

2012-11-28 Thread bob
Why not just write it to the SD card temporarily? And encrypt it? On Tuesday, November 27, 2012 7:57:58 PM UTC-6, Android Test wrote: Hi Bob, Because, I don't want it to be visible to users. At the same time do no want other unauthorized applications to be able to access the info.

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread G. Blake Meike
I think that the fact that this question is about writing to internal memory is confusing people. I think that all you want to do is allow App2 access to a file owned by App1. That is probably pretty easy: App1 will own the file(s). They will be in its sandbox files directory and not

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread bob
I am not his uncle. On Wednesday, November 28, 2012 12:39:08 PM UTC-6, G. Blake Meike wrote: I think that the fact that this question is about writing to internal memory is confusing people. I think that all you want to do is allow App2 access to a file owned by App1. That is probably

[android-developers] Re: Write to another application's internal memory

2012-11-28 Thread G. Blake Meike
http://en.wikipedia.org/wiki/Bob's_your_uncle -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Write to another application's internal memory

2012-11-28 Thread Kristopher Micinski
This is the right advice, and this is the Android way to do it. On Wed, Nov 28, 2012 at 9:45 AM, Streets Of Boston flyingdutc...@gmail.comwrote: You can't do that. If you want 2 separate apps (i.e. apps with a different package name and therefore different user-ids) to share data, you'd

[android-developers] Re: Write to another application's internal memory

2012-11-27 Thread skink
Android Test wrote: Hi All, I have 2 applications with different package names. E.g. App1 and App2. App1 needs to write some files to App2's internal memory so that it could be uploaded to the backend. I have used the following in App1 to do so: filePath =

[android-developers] Re: Write to another application's internal memory

2012-11-27 Thread bob
Why not just write it to the SD card? On Tuesday, November 27, 2012 1:56:27 AM UTC-6, Android Test wrote: Hi All, I have 2 applications with different package names. E.g. App1 and App2. App1 needs to write some files to App2's internal memory so that it could be uploaded to the

Re: [android-developers] Re: Write to another application's internal memory

2012-11-27 Thread Android Test
Hi Bob, Because, I don't want it to be visible to users. At the same time do no want other unauthorized applications to be able to access the info. On Wed, Nov 28, 2012 at 12:04 AM, bob b...@coolfone.comze.com wrote: Why not just write it to the SD card? On Tuesday, November 27, 2012

Re: [android-developers] Re: Write to another application's internal memory

2012-11-27 Thread Mário César Mancinelli de Araújo
Maybe a good solution would be creating a lib project to take care of that data and import it in bouth projects. Then, in this lib project you culd use a database, shared preferences or anything you want to hold the data. ;-) Best regards. Em 28/11/2012 00:03, Android Test aandroidt...@gmail.com