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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to