Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to parse graph cool service in android

I want to parse the graph Cool service in android. I am unable to parse the data.

here is the URL:

 https://api.graph.cool/simple/v1/cj8dyjr0144dk33b7pz

have to parse this service

 mutation {
    updateLocation(

   id:"cjck0maq9q7ovs54z",
  lat:"16.11",
  long:"81.11"
   ) {
 id,lat,long
}
}

Please, any one has idea about that.Please help to resolve this issue.

like image 342
Lassie Avatar asked Jan 19 '18 04:01

Lassie


People also ask

How do you read ANR?

A good way to try to detect the problem is by fetching the file /data/anr/traces. txt which is generated after a ANR happens on a device (beware that it is overridden after another ANR happens). That offers you a overview of what each thread was doing at the time of the ANR.

How do you avoid ANR?

How to prevent an ANR? Stop doing heavy tasks on the main thread. Instead use worker threads such as IntentService, AsyncTask Handler, or another Thread simply.

What causes ANR Android?

Application Not Responding (ANR) errors are triggered when the UI thread of the application is not responding for more than 5 seconds. You can read more about ANRs and diagnosing ANRs in the Android documentation. Additionally, Crashlytics can help pinpoint specific problematic threads.

How do I transfer data from one app to another Android?

Android uses the action ACTION_SEND to send data from one activity to another, even across process boundaries. You need to specify the data and its type. The system automatically identifies the compatible activities that can receive the data and displays them to the user.


1 Answers

please refer the complete document provided by Apollo graphql. it is a GraphQL compliant client that generates Java models from standard GraphQL queries.this link provides a sample application for native android. click here

like image 131
Bharat Kumar Emani Avatar answered Nov 15 '22 00:11

Bharat Kumar Emani