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 - Feed FileReader from server side files -

java - How to create your own button and Use it with Scene Builder for javafx -

c++ - Drawing a circle in directx 9 -