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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -