Select to view content in your preferred language

Error While accessing map services in android SDK

1849
1
03-03-2016 06:59 AM
ABHISHEKSINDAL1
Occasional Contributor

We have developed a sample application in Android (SDK version around 3.2 and ArcGIS runtime SDK 10.2 or lesser and IDE is Eclipse). With this application we are able to load map service below and show layers on map.

http://69.172.201.70/lams/rest/services/LAMS_Incident_themes/MapServer (ArcGIS server version 10.1)

Sample Android application code can be downloaded from link below.

http://119.73.244.169/LayerTest.zip

Android SDK which we have used can be downloaded using link below.

http://119.73.244.169/ArcGISAndroidSDK_v2.zip

After migrating map services to ArcGIS server 10.3.1 and put it behind proxy server with new URL mentioned below, map is not getting displayed in Android app. http://203.127.20.70/4gLAMS/Services/GaaS/gaas4glamsincthemes/ (ArcGIS Server version 10.3.1)

But when we use same above URL in different clients like JavaScript, Flex etc. we  are able to view map.

Can you please let us know what could be the issue with android SDK?

0 Kudos
1 Reply
EricBader
Honored Contributor

Hello! Thank you for this post and the resources to try to reproduce.

When you say "proxy server", are you referring to an HTTP Proxy of your own? 

Just for your reference, the ArcGIS Proxy page used for JavaScript is not supported in the ArcGIS Runtime.