Java Class:private JSONObject jObject; private String jString = "{\"itemmenu\": {" + "\"itemid\": \"file\"," + " \"itemvalue\": \"File\"," + " \"itemarray\": { \"menuitem\": " + "[ " + "{\"value\": \"New\" , " + "\"onclick\": \"CreateNewDoc()\"}, " + " {\"value\": \"Open\"," + " \"onclick\":" + " \"OpenDoc()\"}," + "{\"value\": \"Close\"," + " \"onclick\": \"CloseDoc()\"}" + "]}" + "}" + "}"; public void onCreate(Bundle savedInstanceState) { ...
A blog where you can find all codes for Android, Corona, Basic tutorials, Interview questions and more...