android - accessing applicationStorageDirectory in Java -


i rewriting application written in adobe air - in native - java. there preferences stored in config.xml in applicationstoragedirectory still access in java code. know how access file in java?

in air, applicationstoragedirectory resolves 1 of these paths, depending on os:

  • windows 7 / vista: %userprofile%/appdata/roaming/application name

  • windows xp: %userprofile%/application data/application name

  • mac os x: ~/library/preferences/application name

  • linux (ubuntu): ~/.appdata/application name

  • android: /data/data/application name


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -