Hi,
Well i am knew to Xamarin and confuse of how to parse the JSON object content/array of content into views/component. The purpose of this is that i have a online VPS in the cloud, with MySQL Database there. I put the .php files up and call it using URL to return (in JSON object) the data i query. So, this is what i already know from the web service method:
- Request HttpURLConnection (Build Strings for example: http://101.10.30.890/index.php?hello=20?testing=10/)
- Then my index.php file return JSON object which i can parse (how to parse the object in it?)
- If i'm not mistaken using the Class which extends AsyncTask is the best approach, for example:
class FetchTask extends AsyncTask<String, Void, String>
which includes onPreExecute, During, and OnPostExecute method?
Please correct me if i am wrong, i am just trying to understand how to get the data into my views (Entry and Label for example). I already know how to request the data and return it, what i am missing is how to parse it and put it into my views. Any help is appreciated
Regards,
Kevin