Languages

Menu
Sites
Language
Changing Previlege on Runtime

I would like to change an app privilege on runtime. Suppose an application has internet access privilege. Now i want to change the privilege blocked so that this application can not use internet.

I am waiting for a response to find a way to block the privilege after application is installed. If there is no way. How can i approach to block interner access by process/app id.

Thank in advanced.

Edited by: Hissain Khan on 16 Jun, 2015

Responses

4 Replies
Marco Buettner

Privileges cannot change in runtime

Jean Yang

Hi, 

I also think we can't change privilege in runtime, you can find some clue in IDE help:

Tizen Mobile Native App Programming > Tutorials > Security Tutorials

Privilege Information Tutorial

Alex Dem

Hi,
I think it is not possible and I did not face with appropriate api to manage such settings of another app. You could detect what your app is running now with app_manager_is_running or detect the moment when your app has been installed with Package Manager.
Alexey.

Tamas Miklos

It's not possible right now, with Tizen 2.3, but hopefully at 3.0 or 3.1 it will be made possible. It would be a huge step forward in the right direction IMHO, especially now that both iOS and Android (from Android M) work that way.