Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Contributor
bilgo
Posts: 29
Registered: ‎06-02-2013
My Device: Blackberry Z10
My Carrier: Carrier
Accepted Solution

BB10 logs like Logcat on android - Android app on BB10

I converted an android app to BB10.
On android I used to get the application's logs by logcat.

 

How I can get these logs on BB10? Is there any way to do this?

Please use plain text.
Trusted Contributor
imre_m
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: BB10 logs like Logcat on android - Android app on BB10

Hello,

 

You can use logcat for the BB10 Android Runtime as well.

If I deploy and launch my application from eclipse, then adb connects automatically and logcat is displayed.

 

You can connect manually by adb connect DEVICE_IP:5555, then you can use adb logcat as usual.

 

Regards,

Imre

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
Contributor
bilgo
Posts: 29
Registered: ‎06-02-2013
My Device: Blackberry Z10
My Carrier: Carrier

Re: BB10 logs like Logcat on android - Android app on BB10

Can I use adb on bb10 device?
Is it possible?
Can I use adv shell too?
Please use plain text.
Trusted Contributor
imre_m
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: BB10 logs like Logcat on android - Android app on BB10

The easiest is if you let eclipse connect the adb (when you deploy your app through eclipse), then you can use custom adb commands to test it.

It works both on the BB10 simulator and the device.

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.