Now it works! Why 10.0.2.2? Now i have to work on parsing error.. I've uncommented those two lines for parsing and the error is still there. But still, this is a big break :) Thank you! I appreciate it.
Regards, Tadej On 29 sep., 14:58, Kostya Vasilyev <kmans...@gmail.com> wrote: > What happens if you change the address in your Android code to > "10.0.2.2"? Keep the port number, just change the address. > > -- Kostya > > 29.09.2010 16:35, titleist пишет: > > > > > > > I think that this problem appears because input is not in appropriate > > format. If I comment these lines for parsing I still get error for > > connection.. And in logcat it's now the only error still left. Once > > again logcat: > > > 09-29 12:30:54.389: DEBUG/dalvikvm(190): GC_EXPLICIT freed 226 > > objects / 15152 bytes in 111ms > > 09-29 12:30:54.569: DEBUG/PackageParser(60): Scanning package: /data/ > > app/vmdl59240.tmp > > 09-29 12:30:55.189: INFO/PackageManager(60): Removing non-system > > package:si.trendnet.android.terra > > 09-29 12:30:55.189: INFO/ActivityManager(60): Force stopping package > > si.trendnet.android.terra uid=10032 > > 09-29 12:30:55.289: INFO/Process(60): Sending signal. PID: 1511 SIG: 9 > > 09-29 12:30:55.349: INFO/WindowManager(60): WIN DEATH: Window{44043510 > > si.trendnet.android.terra/si.trendnet.android.terra.Home paused=false} > > 09-29 12:30:55.399: INFO/UsageStats(60): Unexpected resume of > > com.android.launcher while already resumed in > > si.trendnet.android.terra > > 09-29 12:30:55.759: DEBUG/dalvikvm(60): GC_FOR_MALLOC freed 13092 > > objects / 688072 bytes in 288ms > > 09-29 12:30:55.949: WARN/InputManagerService(60): Got RemoteException > > sending setActive(false) notification to pid 1511 uid 10032 > > 09-29 12:30:56.799: DEBUG/PackageManager(60): Scanning package > > si.trendnet.android.terra > > 09-29 12:30:56.820: INFO/PackageManager(60): Package > > si.trendnet.android.terra codePath changed from /data/app/ > > si.trendnet.android.terra-2.apk to /data/app/ > > si.trendnet.android.terra-1.apk; Retaining data and using new > > 09-29 12:30:56.829: INFO/PackageManager(60): /data/app/ > > si.trendnet.android.terra-1.apk changed; unpacking > > 09-29 12:30:56.879: DEBUG/installd(35): DexInv: --- BEGIN '/data/app/ > > si.trendnet.android.terra-1.apk' --- > > 09-29 12:30:58.379: DEBUG/dalvikvm(1526): DexOpt: load 130ms, verify > > 840ms, opt 28ms > > 09-29 12:30:58.479: DEBUG/installd(35): DexInv: --- END '/data/app/ > > si.trendnet.android.terra-1.apk' (success) --- > > 09-29 12:30:58.490: WARN/PackageManager(60): Code path for pkg : > > si.trendnet.android.terra changing from /data/app/ > > si.trendnet.android.terra-2.apk to /data/app/ > > si.trendnet.android.terra-1.apk > > 09-29 12:30:58.490: WARN/PackageManager(60): Resource path for pkg : > > si.trendnet.android.terra changing from /data/app/ > > si.trendnet.android.terra-2.apk to /data/app/ > > si.trendnet.android.terra-1.apk > > 09-29 12:30:58.490: DEBUG/PackageManager(60): Activities: > > si.trendnet.android.terra.Home si.trendnet.android.terra.page1 > > si.trendnet.android.terra.main_menu > > si.trendnet.android.terra.Mobile_Status_History > > si.trendnet.android.terra.Service_Desk > > si.trendnet.android.terra.Configuration > > si.trendnet.android.terra.Settings_Info > > si.trendnet.android.terra.settings_login > > si.trendnet.android.terra.settings_url > > 09-29 12:30:58.509: INFO/ActivityManager(60): Force stopping package > > si.trendnet.android.terra uid=10032 > > 09-29 12:30:58.919: INFO/installd(35): move /data/dalvik-cache/ > > d...@a...@si.trendnet.android.terra-1....@classes.dex -> /data/dalvik- > > cache/d...@a...@si.trendnet.android.terra-1....@classes.dex > > 09-29 12:30:58.929: DEBUG/PackageManager(60): New package installed > > in /data/app/si.trendnet.android.terra-1.apk > > 09-29 12:30:59.279: INFO/ActivityManager(60): Force stopping package > > si.trendnet.android.terra uid=10032 > > 09-29 12:30:59.449: DEBUG/dalvikvm(134): GC_EXPLICIT freed 322 > > objects / 16400 bytes in 138ms > > 09-29 12:30:59.739: DEBUG/dalvikvm(1421): GC_EXPLICIT freed 1549 > > objects / 78272 bytes in 242ms > > 09-29 12:31:00.180: WARN/RecognitionManagerService(60): no available > > voice recognition services found > > 09-29 12:31:00.639: DEBUG/dalvikvm(60): GC_EXPLICIT freed 7592 > > objects / 477664 bytes in 210ms > > 09-29 12:31:01.020: INFO/installd(35): unlink /data/dalvik-cache/ > > d...@a...@si.trendnet.android.terra-2....@classes.dex > > 09-29 12:31:01.250: DEBUG/AndroidRuntime(1519): Shutting down VM > > 09-29 12:31:01.270: DEBUG/dalvikvm(1519): Debugger has detached; > > object registry had 1 entries > > 09-29 12:31:02.580: DEBUG/AndroidRuntime(1532):>>>>>>>>>>>>>> > > AndroidRuntime START<<<<<<<<<<<<<< > > 09-29 12:31:02.580: DEBUG/AndroidRuntime(1532): CheckJNI is ON > > 09-29 12:31:03.010: DEBUG/AndroidRuntime(1532): --- registering native > > functions --- > > 09-29 12:31:04.750: INFO/ActivityManager(60): Starting activity: > > Intent { act=android.intent.action.MAIN > > cat=[android.intent.category.LAUNCHER] flg=0x10000000 > > cmp=si.trendnet.android.terra/.Home } > > 09-29 12:31:04.900: DEBUG/AndroidRuntime(1532): Shutting down VM > > 09-29 12:31:04.920: DEBUG/dalvikvm(1532): Debugger has detached; > > object registry had 1 entries > > 09-29 12:31:05.010: INFO/AndroidRuntime(1532): NOTE: attach of thread > > 'Binder Thread #3' failed > > 09-29 12:31:05.060: INFO/ActivityManager(60): Start proc > > si.trendnet.android.terra for activity > > si.trendnet.android.terra/.Home: pid=1539 uid=10032 gids={3003} > > 09-29 12:31:06.590: ERROR/WebGetURL:(1539): > >http://172.17.1.62:55555/JSON.asmx/LogInUser?password=1234&username=t... > > 09-29 12:31:14.851: WARN/ActivityManager(60): Launch timeout has > > expired, giving up wake lock! > > 09-29 12:31:15.785: WARN/ActivityManager(60): Activity idle timeout > > for HistoryRecord{43f19870 si.trendnet.android.terra/.Home} > > 09-29 12:31:16.700: ERROR/Groshie:(1539): Connect to / > > 172.17.1.62:55555 timed out > > 09-29 12:31:18.209: INFO/ActivityManager(60): Displayed activity > > si.trendnet.android.terra/.Home: 13353 ms (total 13353 ms) > > 09-29 12:31:24.030: DEBUG/dalvikvm(190): GC_EXPLICIT freed 218 > > objects / 14928 bytes in 125ms > > 09-29 12:31:29.049: DEBUG/dalvikvm(271): GC_EXPLICIT freed 45 > > objects / 2064 bytes in 129ms > > 09-29 12:31:34.039: DEBUG/dalvikvm(134): GC_EXPLICIT freed 673 > > objects / 38312 bytes in 123ms > > > The response is still null. Even if parsing doesn't work, the response > > shouldn't be null. > > > Regards, > > Tadej > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en