[android开发] Android中 信息的输出——Log.v的使用

[复制链接]
发表于 2022-10-29 17:45:20
java一般的打印方法为System.out.println();J2ME也是,在ide的控制台就可以看到作用。可是android平台,System.out.println();你是看不到打印的消息的。由于android提供的打印方法为,Log.v,该对象需求导入importandroid.util.Log;,然后就可以使用了。观察作用的地方,也不在ide的console面板中,而在android提供的log面板中,可以选择ide右上角的debug模式,检测log面板。
Android中信息的输出——Log.v的使用.doc

(The general printing method of Java is System. out. println(); J2ME is the same. You can see the effect on the ide console. But the Android platform, System. out. println(); You can't see the printed message. Since the printing method provided by Android is Log. v, the object needs to be imported into importandroid.util Log;, Then you can use it. The function of observation is not in the console panel of the ide, but in the log panel provided by Android, you can select the debug mode in the upper right corner of the ide to detect the log panel.
Information output in Android - Log.v usage. doc)

[下载]17451953871.rar




上一篇:Android手机连接电脑详细图文教程
下一篇:Android更换RatingBar图片

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表