[android-developers] JSON Android Wear

2016-03-19 Thread Buğra Öztürk
Hi, I am trying to send json to database over android wear. I got lost in errors. Is it possible? If there is a way to send json data to server over wear, please tell me. Thank You. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

Re: [android-developers] JSON Android Wear

2016-03-18 Thread TreKing
On Thu, Mar 17, 2016 at 4:14 PM, Buğra Öztürk wrote: > I am trying to send json to database over android wear. What does that mean? > I got lost in errors. What does that mean? > Is it possible? Maybe, depends on what you're trying to do, which is unclear.

Re: [android-developers] JSON android

2011-09-05 Thread Ralph Bergmann | the4thFloor.eu
Am 02.09.11 16:10, schrieb ashish: How to check whether an element is a JSONArray or JSONObject. I wrote the code to check, try this: JSONObject jObject = new JSONObject(); JSONArray jArray = new JSONArray(); Object test = jObject; if (test instanceof JSONObject) { Log.i(test, JSONObject);

[android-developers] JSON android

2011-09-04 Thread ashish
How to check whether an element is a JSONArray or JSONObject. I wrote the code to check, if(jsonObject.getJSONObject(Category).getClass().isArray()) { } else { } In this case if the element 'category' is JSONObject then it work fine but if it contains an array then it throw exception: JSONArray