I wrote a splash activity with an async call to download JSON from a URL. In onPostExecute I get JSON as a result. Now I need to pass that JSON to a new activity to parse and display it in listView. Do I need to start that new activity before or after I have passed the JSON?
I wrote a splash activity with an async call to download JSON from a
Share
You can make the resulting JSON available to the new activity by using
putExtrainonPostExecuteright before starting the new activity.You can then get the json by calling
getStringin your new activity.