title: android environment variable :: user profile file or something?
body: <p>i want to change application user's environment variable(suppose that i have root permission).    how does 'application user'(like app_0, app_1...) load their environment variable? in ubuntu for example, i could change environment variable via .bashrc or /etc/profile or etc. where is user profile file like .bashrc for app_X user? </p>
  
  <pre><code># su app_0
  $ export
  ANDROID_ASSETS
  ANDROID_BOOTLOGO
  ANDROID_DATA
  ANDROID_PROPERTY_WORKSPACE
  ANDROID_ROOT
  ASEC_MOUNTPOINT
  BOOTCLASSPATH
  EXTERNAL_STORAGE
  LD_LIBRARY_PATH
  LOOP_MOUNTPOINT
  PATH
  PWD
  $ echo ~
  ~
  $ echo $PATH
  /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
  $ echo $PWD
  /data/data
  $ echo $LD_LIBRARY_PATH
  /vendor/lib:/system/lib
  $ cd ~
  cd: can't cd to ~
  $
  </code></pre>