Search code examples
androidcshareuid

Is it possible for an Android application to share UID with a non-android application in C


1) Is it possible for an android application to share UID with an non-android application written in C?

2) Is it possible to add an Android application to a group?

Thanks!!


Solution

  • 1) Is it possible for an android application to share UID with an non-android application written in C?

    Do you mean native code bundeled with your app (NDK) then yes, to share UID with someting in the platform NO, this is part of the Android security model.

    2) Is it possible to add an Android application to a group?

    This might be possible maybe asking for some of the permissions will put you in that group, thats one way to easily solve it (like support to read/write the USB massstorage area) But I have not looked at the source code to verify this. (Some permissions do not rely on the group think and are tested on the server/receiver side of some services)