I'd like to know how to add an AsyncTask (successfully) to the following code. I've already implemented the AsyncTask (to the best of my knowledge - using info I've found on the net) however it keeps crashing and I'm not sure exactly why...
Im trying to write a login service in the android by sending JSON to the web service i have in PHP after its processed in the web service JSON is returned back. My problem is sending JSON and then reading JSON in the android app.
If we use net.sf.json.JSONObejct in android ,the class loader can not find the class . Why we could not use the net.sf.json in android?
and have a json jar which could use in android ? becuse the org.json of google is too simple .
i want to parse a JSONObject to/from an Object.
thxs a lot .