Best programming practice for retrieving JSON files in Android [on hold]

​I am currently working on an Android app that takes an input from user and outputs information about it.

The inputs are queried from a JSON file located in raw folder.

There are 2 activities : MainActivity and OutputActivity which is started from an Intent by MainActivity and both of them use the file.

The file is first read and converted to a String in JSONReader class which i have made and then it passes the S​​tring to the Activity to be converted into a JSONObject for parsing purposes.


Read More »

By: StackOverFlow - Friday, 15 June

Related Posts