houdmaroc

Problem creating local ArcGISDynamicMapServiceLayer

Discussion created by houdmaroc on Dec 30, 2012
Hello everybody,
i dont know if it's possible technically but i'm using arcgis Runtime SDK for android V1.1, with emulator in eclipse, i can display arcgis sample services into my applciation using ArcGISDynamicMapServiceLayer, but when i replace the link of web service by my local service (statut started) (the link seem like : "http://pocket-pc/ArcGIS/rest/services/World/MapServer") i get a grey window on launch with no error, i can see buttons but the mapview is still gray.
there is my logcat :

12-31 15:39:53.225: A/NetworkStats(96): problem reading network stats
12-31 15:39:53.225: A/NetworkStats(96): java.lang.IllegalStateException: problem parsing idx 1
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.server.NetworkManagementService.getNetworkStatsUidDetail(NetworkManagementService.java:1282)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:831)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:799)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.server.net.NetworkStatsService.access$100(NetworkStatsService.java:128)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.server.net.NetworkStatsService$3.onReceive(NetworkStatsService.java:633)
12-31 15:39:53.225: A/NetworkStats(96):  at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
12-31 15:39:53.225: A/NetworkStats(96):  at android.os.Handler.handleCallback(Handler.java:605)
12-31 15:39:53.225: A/NetworkStats(96):  at android.os.Handler.dispatchMessage(Handler.java:92)
12-31 15:39:53.225: A/NetworkStats(96):  at android.os.Looper.loop(Looper.java:137)
12-31 15:39:53.225: A/NetworkStats(96):  at android.os.HandlerThread.run(HandlerThread.java:60)
12-31 15:39:53.225: A/NetworkStats(96): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
12-31 15:39:53.225: A/NetworkStats(96):  at libcore.io.IoBridge.open(IoBridge.java:406)
12-31 15:39:53.225: A/NetworkStats(96):  at java.io.FileInputStream.<init>(FileInputStream.java:78)
12-31 15:39:53.225: A/NetworkStats(96):  at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269)
12-31 15:39:53.225: A/NetworkStats(96):  ... 10 more
12-31 15:39:53.225: A/NetworkStats(96): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
12-31 15:39:53.225: A/NetworkStats(96):  at libcore.io.Posix.open(Native Method)
12-31 15:39:53.225: A/NetworkStats(96):  at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
12-31 15:39:53.225: A/NetworkStats(96):  at libcore.io.IoBridge.open(IoBridge.java:390)
12-31 15:39:53.225: A/NetworkStats(96):  ... 12 more
12-31 15:54:53.285: A/BatteryStatsImpl(96): problem reading network stats
12-31 15:54:53.285: A/BatteryStatsImpl(96): java.lang.IllegalStateException: problem parsing idx 1
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:250)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl.getNetworkStatsDetailGroupedByUid(BatteryStatsImpl.java:5734)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl.access$100(BatteryStatsImpl.java:76)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl$Uid.computeCurrentTcpBytesReceived(BatteryStatsImpl.java:2457)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl$Uid.getTcpBytesReceived(BatteryStatsImpl.java:2446)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl.writeSummaryToParcel(BatteryStatsImpl.java:5437)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl.writeLocked(BatteryStatsImpl.java:4836)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.os.BatteryStatsImpl.writeAsyncLocked(BatteryStatsImpl.java:4818)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1652)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.server.am.ActivityManagerService$3.run(ActivityManagerService.java:1534)
12-31 15:54:53.285: A/BatteryStatsImpl(96): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at libcore.io.IoBridge.open(IoBridge.java:406)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at java.io.FileInputStream.<init>(FileInputStream.java:78)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  ... 10 more
12-31 15:54:53.285: A/BatteryStatsImpl(96): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at libcore.io.Posix.open(Native Method)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
12-31 15:54:53.285: A/BatteryStatsImpl(96):  at libcore.io.IoBridge.open(IoBridge.java:390)

Outcomes