You might be able to use the android:sharedUserId attribute in your
manifest, and set the value identically in all applications that need
access to this data. Doing that, if you have one package designated as
the primary one (say, com.example.master), and multiple other packages
(sa, com.example.slave1, com.example.slave2), you should be able to
have all routines access the "files" area within com.example.master
since their user ID's will be the same.

This won't make the data invisible on a rooted device, but as long as
the device is not rooted, the file access will be limited to your set
of applications.

Caveats:
* Each application must be signed with the same key.
* If the application is already installed without a sharedUserId (or
with a different sharedUserId), you will not be able to properly
update the application. The problem is that /data/data/package.name
already exists, with the previous user ID. To update, you need to
uninstall the old APK and you may also need to then manually delete
the directory -- not an option for an application that's already
distributed to user devices.

On Jun 3, 11:38 pm, surendra <[email protected]> wrote:
> hi,
>
> I am new to android platform.
> Please give me some pointers on how to "make partitions invisible and
> provide access to few applications only on this invisible partition"
>
> Regards, Surendra

-- 
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

Reply via email to