Access map from local Arcgis server using dynamic services

1663
2
03-19-2014 01:52 AM
FaisalBukhari
New Contributor II
Createing maps on local server that can be accessed by Android ArcGIS App from ESRI
All, I am new to setting up ArcGIS for Server to allow mobile apps to look at maps, and would appreciate any references or advice to point me in the correct direction.
I am trying to setup an ArcGIS server on our internal LAN that my team can access using only the ESRI ArcGIS phone app. The ultimate goal is to be able to do data desimination to my team using only our internal LAN no internet access. I have an instance of ArcGIS 10.2 for server up and running.
I can accesses it and publish maps to it. Those maps can be accessed by other computers on the LAN, via their ArcGIS Desktop installs or the KMZ feed to Google Earth. I have published my test map for mobile access. I have confirmed that the mobile service is up and running via the web page created by the web adapter. For some reason when I log into the server with any of the ESRI mobile apps I can not see any published maps.

when i am using local gis service (Dynamic ) the Grey Screen MapView  is display  no map.
logcat is as follow

---------------------
03-19 11:40:12.619: D/dalvikvm(540): GC_FOR_ALLOC freed 141K, 3% free 12980K/13319K, paused 39ms
03-19 11:40:12.780: D/libEGL(540): loaded /system/lib/egl/libGLES_android.so
03-19 11:40:12.789: D/libEGL(540): loaded /system/lib/egl/libEGL_emulation.so
03-19 11:40:12.809: D/(540): HostConnection::get() New Host Connection established 0x155c98, tid 540
03-19 11:40:12.819: D/libEGL(540): loaded /system/lib/egl/libGLESv1_CM_emulation.so
03-19 11:40:12.819: D/libEGL(540): loaded /system/lib/egl/libGLESv2_emulation.so
03-19 11:40:12.949: I/dalvikvm(540): threadid=3: reacting to signal 3
03-19 11:40:12.969: W/EGL_emulation(540): eglSurfaceAttrib not implemented
03-19 11:40:12.981: D/OpenGLRenderer(540): Enabling debug mode 0
03-19 11:40:12.981: I/dalvikvm(540): Wrote stack traces to '/data/anr/traces.txt'
03-19 11:44:01.358: D/InputEventConsistencyVerifier(540): KeyEvent: ACTION_UP but key was not down.
03-19 11:44:01.358: D/InputEventConsistencyVerifier(540):   in android.widget.EditText@4161c620
03-19 11:44:01.358: D/InputEventConsistencyVerifier(540):   0: sent at 303580000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_TAB, scanCode=15, metaState=0, flags=0x8, repeatCount=0, eventTime=303580, downTime=303523, deviceId=0, source=0x101 }
03-19 11:44:04.358: D/dalvikvm(540): Trying to load lib /data/data/map.mop.andriod/lib/libruntimecore_java.so 0x41614e58
03-19 11:44:04.658: I/dalvikvm(540): threadid=3: reacting to signal 3
03-19 11:44:04.668: I/dalvikvm(540): Wrote stack traces to '/data/anr/traces.txt'
03-19 11:44:04.718: D/dalvikvm(540): Added shared lib /data/data/map.mop.andriod/lib/libruntimecore_java.so 0x41614e58
03-19 11:44:04.948: D/ArcGIS.LifeCycle(540):    MapSurface initialize com.esri.android.map.MapSurface@416bb518
03-19 11:44:04.988: D/ArcGIS.LifeCycle(540): map.onChildViewAdded
03-19 11:44:04.988: D/ArcGIS.LifeCycle(540): map.onChildViewAdded
03-19 11:44:05.081: W/EGL_emulation(540): eglSurfaceAttrib not implemented
03-19 11:44:05.088: D/ArcGIS.LifeCycle(540): map.onSizechanged
03-19 11:44:05.239: D/(540): HostConnection::get() New Host Connection established 0x24d9d0, tid 554
03-19 11:44:05.248: D/ArcGIS.LifeCycle(540): >  MapSurface.Context created. com.esri.android.map.MapSurface@416bb518
03-19 11:44:05.248: D/ArcGIS.LifeCycle(540):    MapSurface unpaused
03-19 11:44:05.289: I/dalvikvm(540): threadid=3: reacting to signal 3
03-19 11:44:05.418: I/dalvikvm(540): Wrote stack traces to '/data/anr/traces.txt'
03-19 11:44:05.458: D/ArcGIS.LifeCycle(540):    MapSurface SurfaceCreated
03-19 11:44:05.471: D/ArcGIS.LifeCycle(540):    MapSurface SurfaceChanged:768,1038
03-19 11:44:05.478: D/dalvikvm(540): GC_CONCURRENT freed 211K, 3% free 13208K/13511K, paused 10ms+5ms
03-19 11:44:05.790: I/dalvikvm(540): threadid=3: reacting to signal 3
03-19 11:44:05.798: I/dalvikvm(540): Wrote stack traces to '/data/anr/traces.txt'
03-19 11:44:05.848: E/ArcGIS(540): url =http://gisweb-pc/ArcGIS/rest/services/Web_Andriod_Srv/MapServer
03-19 11:44:06.339: D/OpenGLRenderer(540): Flushing caches (mode 0)
0 Kudos
2 Replies
GovindarajanThillaividankan
New Contributor II
Hello

I am a newbie to ArcGIS Android. I made an attempt to answer your question. Hope this helps.

I think you need to publish the dynamic map service to ArcGIS Server Mobile Content Server. This is a way by which access to the mobile map service is controlled.

login to http://<servername>:6080/arcgis/mobile/content

Publish the service by preparing the required JSON text. Once this is done it will get added to WebMaps for access from Android SmartPhones. if the target device is Windows Phones then it needs to be published to the folder meant for Windows based access.

Once this is done you can access this using the ESRI Apps from Google Play site.

http://doc.arcgis.com/en/arcgis-app/android/help/publishing-maps-to-your-arcgis-server.htm

Hope this is of some help to you.

Regards

Govind
0 Kudos
ErikBlair
New Contributor

hello Mr.Bukhari
I've been working on a prject that is similar in many ways to yours
I'm facing a problem and I'd really appreciate it if you take a look at it :

android app using a mapping service published on MY OWN PC as an ArcGIS Server IssueS - Geographic I...

I wish I hear from you soon
regards

0 Kudos