api - how to connect apigee proxy (Oauth verify) by using apigee android sdk? -


After text "itemprop =" text ">

I want to use the apigee Android SDK in the Android app. Using the Android SDK, I want to connect to the APG Endpoint Proxy but the API Proxy has received O2.0 validation. How to use our proxy?

  // Create client entity string ORGNAME = "your-org"; String APPNAME = "Your App"; ApigeeClient apigeeClient = New ApigeeClient (ORGNAME, APPNAME); Dataclick Data Client = apigeeClient.getDataClient (); String type = "item"; // unit type can be retrieved map queryString = null; // We do not need any additional query parameters, to get started in this case // Asynchronous API phone dataClient.getCollectionAsync (getCollectionAsync phone type, query string, new ApiResponseCallback () {// getEntitiesAsync fails, error public @Override Catching Zero onException (Exception E) {// Error} // Then GetCollectionAsync is successful, Public Zero onResponse (ApiResponse Response) @Override Response Object Handle {try {if (feedback! = Null) {// Success}} Hold (upper The E) {// API request an error / failed}}} returned;  

itemprop = "text">

There is currently no support for OAuth in the Android SDK.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -