top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Other than uid/gid is there any permission verification in runtime for an android app?

+6 votes
374 views

In android generally when an app is installed, the PackageInstallerActivity and PackageManagerService make sure to assign the supplementary gid's to the app. This determines the level of access when an app is invoked everytime.

I just wanted to confirm if any verification process takes place in the runtime from packagemanager or any other service for that matter.

The app is granted the corresponding access from the gid's that should get it running technically and Packagemanager will only come into picture incase of updating the app.

Is my understanding correct?

posted Feb 7, 2014 by Sonu Jindal

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I've a problem of not having enough permissions for setting a “persist.xxxxx” property from one of the applications. This application shares the User-id of the phone so I tried to hack in property_service.c and add an entry:

{“persist.”, AID_RADIO, 0} 
in property_perms structure. 

After this I was able to set the property but without this I get a “permission denied” error "> init: sys_prop: permission denied uid:1001 name:persist.xxxxx". Any clue...

0 votes

A user on my box has Wordpress installed under a virtualhost. He has other users uploading photos to different directories using Wordpress' interface. The concern is that these directories are defaulting/need to be setup to 777 permissions for the uploads to be successful.

Any advice.

+3 votes

We know there are bootstrap themes for free to use but don't know if there is same for android layouts so that we can reduce the time while designing the app UI. If someone know, please share the link?

+2 votes

I want to know the UID(System UID or User UID) of the application running in my Emulator. How can I see that information in DDMS ?

0 votes

I understand not allowing apps to automatically install home screen widgets as it could be annoying but for n00bish users it can be a challenge to instruct them on how to do so and so it DRASTICALLY weakens the business case for building a widget (and thereby diminishes a defining feature of Android).
To remedy this I wanted to suggest either an API that allows for installing a home screen widget after a confirmation with the user and/or an app permission that allows an app to install home screen widgets and/or a feature on Google Play that could take care of the confirming and installing.

...