android and 3rd party jars
I have a jar file I use it to use TOC protocol (AOL servers).That jar file works fine totaly fine with my java ap开发者_如何学Pythonplication but when I use it in my android app,it never runs.I don't know the problem at all and I ma newbie to android development.plz help and guide me on how to debug android app or get console prints from android app IF YOU PLEASE. Best regards
Android prints to its "console" using the Log utility. You can read about how it works at http://developer.android.com/reference/android/util/Log.html.
Basically you use a line like Log.e("AppName", "Message to print"), then go the the Debug view in eclipse and look at the window called LogCat. If you are running on an actual device instead of an emulator you can view this log through ADB. I also sometimes use a free app from the market called aLogCat to quickly check the log on the device its self.
精彩评论