Yes you can, once you connect your device to the PC , and from eclipse select the device as the actual one , you can see the logs of actual device on the Logcat, Thanks, Alok.
On Mon, Nov 16, 2009 at 7:58 PM, swapnil kamble <[email protected]>wrote: > Hi, > Sorry for late reply. I missed your reply. > > How can I specify natively running android in eclipse ? I think eclipse > will only connect to emulators. > Can I see the logs in android itself ? > > > On Wed, Nov 4, 2009 at 10:53 AM, Blue Zheng <[email protected]> wrote: > >> Oh, sure, you still can use logcat to logging for native android device. >> Just choose your device in DDMS for logging. >> >> if you want to logging just for App, the NDK is not necessary. >> >> >> >> 2009/11/4 swapnil kamble <[email protected]> >> >>> Thanks for your reply. >>> Then I will have to always use NDK >>> just for logging. Can't I do logging purely in Android App just like for >>> Emulator using logcat ? >>> >>> >>> On Wed, Nov 4, 2009 at 10:11 AM, Blue Zheng <[email protected]>wrote: >>> >>>> You can use the header file <android/log.h> in NDK, and link to >>>> /system/lib/liblog.so. >>>> And you can find the details in the document of NDK >>>> ($NDK_ROOT)/docs/STABLE-APIS.TXT). >>>> >>>> >>>> 2009/11/4 swapnil kamble <[email protected]> >>>> >>>>> Hi All, >>>>> As we see emulator's logs in logcat of eclipse. What is >>>>> similar on native android to view these logs ? >>>>> >>>>> Thanks in advance >>>>> >>>>> -- >>>>> ...Swapnil >>>>> >>>>> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || >>>>> || Hare Rama Hare Rama Rama Rama Hare Hare || >>>>> >>>>> -- >>>>> 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]<android-developers%[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]<android-developers%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/group/android-developers?hl=en >>> >>> >>> >>> >>> -- >>> ...Swapnil >>> >>> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || >>> || Hare Rama Hare Rama Rama Rama Hare Hare || >>> >>> -- >>> 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]<android-developers%[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]<android-developers%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > ...Swapnil > > || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || > || Hare Rama Hare Rama Rama Rama Hare Hare || > > -- > 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]<android-developers%[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

