[ACCEPTED]-Using local json file in Android-eclipse
Accepted answer
There are so many ways,
You can store your 7 JSON file in assets folder and read them 6 like this - https://stackoverflow.com/a/19945484/713778
You can store it in res/raw 5 folder and read the same as show here - https://stackoverflow.com/a/6349913/713778
For 4 basic JSON parsing, Android's in-built JSONObject 3 should work - https://developer.android.com/reference/org/json/JSONObject.html
For more advanced JSON parsing 2 (json-java mapping), you can look at GSON 1 library - https://code.google.com/p/google-gson/
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.