Hello guys i'm starting android development and currently i'm testing some basic search the UI is like this:
1 EditText: where the user writes something that wants to search example Android 2 Button: when click this button i want to do all the process of searching for that particular topic using the google search api
https:/ /ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Android
i think i have right the json parser but i'm getting and NetworkOnMainException something like that..
MainActivity.java :
JSONParser.java:
the JSON:
http://pastebin.com/kw1qDuvS
please guys help me out