KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have experimented little with Android OS and I tried to call System.getenv() to get environmental variables. It works e.g. for $PATH , but I was not able to define own variable, which can be accessible in this way... Is it possible? I have tried to set and export variables from adb shell as a shell user but it does not work - no matter if I started the application from the phone menu or when I used the adb shell am command. Can the Runtime.getRuntime().exec() help there? Will it help if I will have root access to the phone? Thanks
Tags (comma-separated)
Save Edits
Cancel