Hey Folks,
Discovered something really cool and I thought I would share. I was having problems with my app while running on my Android device- but it worked fine using the Corona Simulator. So, I wanted to see what was happening on the device. After a bit of investigation, I came up with the secret recipe:
Note: this requires that you install the Android SDK with adb
- Keep your device plugged in to the USB port on your Windows PC
- In Windows, bring up a command window
- Type this command:
adb logcat Corona:V *:S
A little explanation of how this works:
This displays all of the Corona print commands in your code while running on the device. This filters out everything else- and there is a lot of other stuff that comes across when you use adb logcat. The V stands for Verbose and the S stands for Silent. All Corona print commands are given the tag “Corona.”
Now, all I have to do is debug my app. Yay!
terminal window command window android debugging [import]uid: 104085 topic_id: 29618 reply_id: 329618[/import]
