Confirmed users
2,023
edits
No edit summary |
|||
| Line 24: | Line 24: | ||
===Env Vars=== | ===Env Vars=== | ||
If you need to set and env var at run time, use append --es env# VAR=VAL to your activity manager command where # is the ordered number of variables for example: | If you need to set and env var at run time, use append --es env# VAR=VAL to your activity manager command where # is the ordered number of variables for example: | ||
adb shell am start -a android.activity.MAIN -n org.mozilla. | adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_unofficial/.App --es env0 VAR=val --es env1 FOO=bar | ||
You may need {{bug|578493}} if the env var you're using is tested before XRE_Main is called | You may need {{bug|578493}} if the env var you're using is tested before XRE_Main is called | ||