For now I've used the classic export
command to set an environment variable and tried to read this variable from my test with System.getenv()
function, but it doesn't seem to work.
Can someone give an example how to set and read a system variable in an Android application?