Convert json array to html table
1. Suppose you have a json array, or data in a List Map which is displayed in a ListView. e.g. fruits.json file in assets folder To read it and set the json array to a string variable: a) Add a method to read assets file: public String _readJsonFromAsset(final String _filename) { String json = null; try { InputStream is = this.getAssets().open(_filename); int size = is.available(); byte[] buffer = new byte[size]; is.read(buffer); is.close(); json = new String(buffer, StandardCharsets.UTF_8); } catch (IOException ex) { ex.printStackTrace(); return null; } return json; } For above method, in Sketchware, you can create a more block readJsonFromAsset of type String and with a String variable filename . Then put codes below. String json = null; try { InputStream is = this.getAssets().open(_filename); int size = is.available(); byte[] buffer = new byte[size]; is.read(buffer); is.close();...