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 unsu
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.
-
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", "JSONObje
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: JSONArra
4 matches
Mail list logo