Don't hijack posts please... Your post has nothing to do with the original question.
Plus, I believe you have already posted this in its own post. Be patient and wait at least a day for an answer before bumping the post. We answer questions in our spare time and can't always get to answers right away. On Tue, Mar 1, 2011 at 5:59 AM, nov <world.abc....@googlemail.com> wrote: > Somebody please help me out. My program is running for close to 3 > hours and i am still getting "DEBUG/SntpClient(69): request time > failed: java.net.SocketException: Address family not supported by > protocol" for Sudoku game. > > My LogCat is: > > > 03-01 02:02:53.252: DEBUG/AndroidRuntime(282): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 03-01 02:02:53.263: DEBUG/AndroidRuntime(282): CheckJNI is ON > 03-01 02:02:55.381: DEBUG/AndroidRuntime(282): --- registering native > functions --- > 03-01 02:03:01.543: INFO/ActivityManager(69): Start proc > com.android.defcontainer for service > com.android.defcontainer/.DefaultContainerService: pid=289 uid=10010 > gids={1015, 2001} > 03-01 02:03:03.863: DEBUG/dalvikvm(289): GC_EXPLICIT freed 768 objects > / 55584 bytes in 298ms > 03-01 02:03:04.762: DEBUG/PackageParser(69): Scanning package: > /data/app/vmdl67559.tmp > 03-01 02:03:05.693: INFO/PackageManager(69): Removing non-system > package:org.example.sudoku > 03-01 02:03:05.743: INFO/ActivityManager(69): Force stopping package > org.example.sudoku uid=10037 > 03-01 02:03:06.403: DEBUG/PackageManager(69): Scanning package > org.example.sudoku > 03-01 02:03:06.461: INFO/PackageManager(69): Package > org.example.sudoku codePath changed from > /data/app/org.example.sudoku-2.apk to > /data/app/org.example.sudoku-1.apk; Retaining data and using new > 03-01 02:03:06.512: INFO/PackageManager(69): > /data/app/org.example.sudoku-1.apk changed; unpacking > 03-01 02:03:06.681: DEBUG/installd(35): DexInv: --- BEGIN > '/data/app/org.example.sudoku-1.apk' --- > 03-01 02:03:07.793: DEBUG/dalvikvm(298): DexOpt: load 259ms, verify > 53ms, opt 12ms > 03-01 02:03:07.881: DEBUG/installd(35): DexInv: --- END > '/data/app/org.example.sudoku-1.apk' (success) --- > 03-01 02:03:07.923: WARN/PackageManager(69): Code path for pkg : > org.example.sudoku changing from /data/app/org.example.sudoku-2.apk to > /data/app/org.example.sudoku-1.apk > 03-01 02:03:07.932: INFO/ActivityManager(69): Force stopping package > org.example.sudoku uid=10037 > 03-01 02:03:07.993: WARN/PackageManager(69): Resource path for pkg : > org.example.sudoku changing from /data/app/org.example.sudoku-2.apk to > /data/app/org.example.sudoku-1.apk > 03-01 02:03:08.082: DEBUG/PackageManager(69): Activities: > org.example.sudoku.Sudoku > 03-01 02:03:08.771: INFO/installd(35): move > /data/dalvik-cache/data@a...@org.example.sudoku-1.apk@classes.dex -> > /data/dalvik-cache/data@a...@org.example.sudoku-1.apk@classes.dex > 03-01 02:03:08.822: DEBUG/PackageManager(69): New package installed in > /data/app/org.example.sudoku-1.apk > 03-01 02:03:09.872: INFO/ActivityManager(69): Force stopping package > org.example.sudoku uid=10037 > 03-01 02:03:10.811: DEBUG/dalvikvm(126): GC_EXPLICIT freed 177 objects > / 7544 bytes in 327ms > 03-01 02:03:11.712: INFO/ActivityManager(69): Start proc com.svox.pico > for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=300 > uid=10028 gids={} > 03-01 02:03:13.012: WARN/RecognitionManagerService(69): no available > voice recognition services found > 03-01 02:03:14.872: DEBUG/dalvikvm(165): GC_EXPLICIT freed 4204 > objects / 254440 bytes in 4142ms > 03-01 02:03:14.913: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 8175 > objects / 526176 bytes in 593ms > 03-01 02:03:15.663: DEBUG/dalvikvm(69): GC_EXPLICIT freed 340 objects > / 19648 bytes in 591ms > 03-01 02:03:16.802: INFO/installd(35): unlink > /data/dalvik-cache/data@a...@org.example.sudoku-2.apk@classes.dex > 03-01 02:03:17.222: INFO/ActivityThread(300): Publishing provider > com.svox.pico.providers.SettingsProvider: > com.svox.pico.providers.SettingsProvider > 03-01 02:03:17.691: DEBUG/AndroidRuntime(282): Shutting down VM > 03-01 02:03:17.703: INFO/AndroidRuntime(282): NOTE: attach of thread > 'Binder Thread #4' failed > 03-01 02:03:17.783: DEBUG/dalvikvm(282): Debugger has detached; object > registry had 1 entries > 03-01 02:03:20.482: DEBUG/AndroidRuntime(310): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 03-01 02:03:20.482: DEBUG/AndroidRuntime(310): CheckJNI is ON > 03-01 02:03:22.212: DEBUG/AndroidRuntime(310): --- registering native > functions --- > 03-01 02:03:27.391: INFO/ActivityManager(69): Starting activity: > Intent { act=android.intent.action.MAIN > cat=[android.intent.category.LAUNCHER] flg=0x10000000 > cmp=org.example.sudoku/.Sudoku } > 03-01 02:03:27.682: DEBUG/AndroidRuntime(310): Shutting down VM > 03-01 02:03:27.801: DEBUG/dalvikvm(310): Debugger has detached; object > registry had 1 entries > 03-01 02:03:27.833: INFO/AndroidRuntime(310): NOTE: attach of thread > 'Binder Thread #3' failed > 03-01 02:03:28.643: INFO/ActivityManager(69): Start proc > org.example.sudoku for activity org.example.sudoku/.Sudoku: pid=317 > uid=10037 gids={} > 03-01 02:03:32.933: INFO/ActivityManager(69): Displayed activity > org.example.sudoku/.Sudoku: 4761 ms (total 271945 ms) > 03-01 02:03:33.001: INFO/ActivityManager(69): Displayed activity > com.android.launcher/com.android.launcher2.Launcher: 272056 ms (total > 272056 ms) > 03-01 02:03:38.872: DEBUG/dalvikvm(126): GC_EXPLICIT freed 676 objects > / 38544 bytes in 683ms > 03-01 02:05:57.952: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:10:58.002: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:16:01.153: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:21:01.332: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:26:01.402: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:30:40.433: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 16342 > objects / 668376 bytes in 509ms > 03-01 02:31:01.473: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:36:01.541: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:41:01.561: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:46:01.582: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:51:01.672: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 02:56:01.702: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:00:00.623: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 14932 > objects / 608768 bytes in 464ms > 03-01 03:01:01.781: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:06:01.803: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:11:01.841: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:16:01.901: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:18:37.041: DEBUG/dalvikvm(179): GC_FOR_MALLOC freed 9897 > objects / 473400 bytes in 387ms > 03-01 03:21:01.942: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:26:02.012: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:29:01.551: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15105 > objects / 615920 bytes in 1293ms > 03-01 03:31:02.043: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:36:02.162: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:41:02.181: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:46:02.222: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:51:02.291: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:56:02.372: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 03:58:00.592: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15551 > objects / 638096 bytes in 505ms > 03-01 04:01:02.411: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:06:02.512: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:11:02.562: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:16:02.642: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:21:02.703: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:26:02.791: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:27:00.863: DEBUG/dalvikvm(69): GC_FOR_MALLOC freed 15989 > objects / 645800 bytes in 414ms > 03-01 04:31:02.862: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:36:02.941: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > 03-01 04:41:03.042: DEBUG/SntpClient(69): request time failed: > java.net.SocketException: Address family not supported by protocol > > > > On 3/1/11, Manish Garg <mannishga...@gmail.com> wrote: > > Kostya, > > > > For the opposite activity flow - when the user comes back to "the > > real" > > activity and your code discovers that the session expired, start the > > login activity and call finish() on "the real" one. > > > > > > There are more than one activity other than login, so if i am on after > > login i go to activity A then B then C and now let us say session > > expire and i finish only C, A and B will be still in stack. So it will > > not work. > > > > On Mar 1, 2:17 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > >> Manish, > >> > >> I would guess that in the case where login is needed, after the user > >> logs in, you launch "the real" activity for doing whatever requires > >> login. When you do that, call finish() on the login activity, so it's > >> not there. > >> > >> For the opposite activity flow - when the user comes back to "the real" > >> activity and your code discovers that the session expired, start the > >> login activity and call finish() on "the real" one. > >> > >> -- Kostya > >> > >> 01.03.2011 8:10, Manish Garg пишет: > >> > >> > >> > >> > >> > >> > Hi All, > >> > >> > any suggestion? > >> > >> > On Feb 28, 3:32 pm, Manish Garg<mannishga...@gmail.com> wrote: > >> >> Hi, > >> > >> >> In my application, I want that my first screen which is login page > >> >> should not come back after pressing back key. I had set noHistory tag > >> >> for it. > >> > >> >> but now i have one more task to do, if my session has expired, i want > >> >> to come back to login page and also clear my stack, i am trying > >> >> FLAG_ACTIVITY_CLEAR_TOP. To do this I have to remove noHistory tag. > >> > >> >> Please help me, so that i can achieve both functionality. In normal > >> >> functioning my application should not be able to traverse back to > >> >> login page but if session has expired, i want to come back to login > >> >> page and also clear my stack > >> > >> -- > >> Kostya Vasilyev --http://kmansoft.wordpress.com- Hide quoted text - > >> > >> - Show quoted text - > > > > -- > > 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 > > -- > 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 > -- 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