-
PlayerPrefs, save load data
PlayerPrefs reference: http://docs.unity3d.com/Documentation/ScriptReference/PlayerPrefs.html
-
byte[] data to String
-
android file > create a new folder on SD card
android file. how could you create a new folder on SD card, please follow be code. remember, add user permission
-
PowenKo, Android , Data, org.json.JSONArray
-
PowenKo > Android > SharedPreferences
SharedPreferences Tutorial http://alchemiaandroid.altervista.org/sharedPreferencesTutorial.html
-
PowenKo > Android > DB > SQLite sample
sample code:Tutorial_DB_SQLiteActivity databse on assets\powenbko.sqlite
-
PowenKo, Android TextView, read from raw
Android can handle text file as raw. Create a text file, named hello.txt, and save it in the folder /res/raw. The files inside /res/raw will betraded as raw files, they will not be compiled. They will be moved to application package as they are. main.xml AndroidTxt.java Download the files.
-
PowenKo, Android File,Uri, resource, sd card, http
To better explain how to obtain a file’s URI, let’s assume that we are trying to get the URI of a video named intro.3gp which is in the /res/raw folder. Here’s the code to get the URI: Uri introURI; introURI = Uri.parse(“android.resource://your.app.package/” + R.raw.intro); Now let’s assume the same intro.3gp is at the root of the SD card. The code to correctly get the file’s URI would be: String introURI; introURI = Uri.parse(“file:///sdcard/intro.3gp”); […]
-
PowenKo, Android Tutorial 65-6, File, Check file is exit?
check file is exit ?
-
PowenKo, Android Tutorial 65-5,File sd card file read and write
main.xml sample code: Tutorial_File_read_write_sdcard solution 2