Jump to content

moha samaka

Inactive Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by moha samaka

  1. Hi,I'm still stuck on this problem if some one find the clue please share. and here 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)
  2. Hello everybody, i'm new in android and arcgis api for android, and i tested the helloworld sample of esri and it worked fine for me. my problem is when i try to display my arcgis server 10 mapservice (started of cource), into the helloword sample by changing : private MapView map = null; String dynamicMapURL = "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer"; map = (MapView) findViewById(R.id.map); ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer( dynamicMapURL); map.addLayer(dynamicLayer); by private MapView map = null; String dynamicMapURL = "http://pocket-pc:80/ArcGIS/rest/services/GpsLogistique/MapServer"; map = (MapView) findViewById(R.id.map); ArcGISDynamicMapServiceLayer dynamicLayer = new ArcGISDynamicMapServiceLayer( dynamicMapURL); map.addLayer(dynamicLayer); when i run the code it runs normaly but display nothing even error. if someone have any idea thank you in advance.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist