Someone ban this guy already... :-( On Wed, Jul 25, 2012 at 1:51 PM, Meena Rengarajan <[email protected]> wrote: > Please , I am beginner to ANDROID . Can anyone send me Android Ebooks ... ? > > > On Wed, Jul 25, 2012 at 5:17 PM, Sreedhar Reddy V <[email protected]> > wrote: >> >> Thanks for the answer, >> >> actually i am trying to run commands from python script, >> >> more over if the issue is with adbd, then even though i keep shell open, >> restart adb server on pc, nothing is working, >> >> only solution is remove usb cable, uncheck and check usb debugging option >> on android device, connect usb cable again.(But i dont want to do it :-)) >> >> question which is tickling my mind is why device is going to offline? >> >> >> On Tuesday, 24 July 2012 09:26:27 UTC+5:30, Diego Torres Milano wrote: >>> >>> You can leave a shell open (which perhaps prevents being disconnected) in >>> a window and then run the monkey scripts on another window. >>> >>> On Wednesday, 18 July 2012 03:00:45 UTC-4, Sreedhar Reddy V wrote: >>>> >>>> Hi >>>> >>>> I connected My android ICS device to my windows PC using USB. >>>> >>>> I executed "adb devices" from my pc. >>>> >>>> The output >>>> >>>> --------------------------------------------------------------------------- >>>> List of devices attached >>>> XXXXXXXXid device >>>> >>>> --------------------------------------------------------------------------- >>>> >>>> >>>> After a long time of say 12 hours, i ran the same command "adb devices" >>>> from my pc. >>>> >>>> The output >>>> >>>> --------------------------------------------------------------------------- >>>> List of devices attached >>>> XXXXXXXXid offline >>>> >>>> --------------------------------------------------------------------------- >>>> >>>> I am not sure what went wrong. i did not even touch my pc, and my >>>> device. >>>> I made settings in my PC so that it will never sleep. >>>> I am running monkey scripts which wont make android device to lock as >>>> well. >>>> >>>> Many people said that ur device is offline because adbd deamon is not >>>> running on android device. >>>> But this is wrong, why because if adbd is not running then the device >>>> will not be listed at all. >>>> >>>> >>>> I came across adbd deamon process which will be running on my android >>>> device. >>>> For my device to get detected by adb(server on my pc) adbd must be >>>> running. >>>> >>>> I went to adb shell >>>> I stopped adbd using the command "stop adbd" >>>> This stopped my adbd deamon on android device.because adbd is stopped mt >>>> adb(server on my pc will not detect my device) >>>> Now adbd is not running, I execute the "adb devices" command the output >>>> is, list of devices with empty list. >>>> The output >>>> >>>> --------------------------------------------------------------------------- >>>> List of devices attached >>>> >>>> --------------------------------------------------------------------------- >>>> >>>> because the device it self is not detected i cannot log in to adb shell >>>> again to "start adbd" adbd deamon on my device. >>>> so I shutdown and rebooted my android device, this made my adbd deamon >>>> to run again. >>>> >>>> Now when i executed "adb devices" on my PC >>>> The output >>>> >>>> --------------------------------------------------------------------------- >>>> List of devices attached >>>> XXXXXXXXid device >>>> >>>> --------------------------------------------------------------------------- >>>> >>>> >>>> By seeing this output it is very clear that adbd deamon is running on >>>> device, because if adbd is not running then the device will not be listed >>>> at >>>> all. >>>> >>>> Now the question is? >>>> what is the reason for the device to go to offline? (i am very sure that >>>> "adbd deamon not running" is not at all a reason for this.) >>>> How can i switch the device from online -> offline viceversa? >>>> >>>> I am very very thank full to any android expert who solve my confusion. >>>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

