扬帆メ风中香 |
|
||
2014年6月20日
摘要:
在使用ListView过程中我们有时候需要遍历取得每个Item项中的一些数据(比如每个Item里面有TextView,需要获取它的文本等等),但是我们在遍历过程中经常会遇到NullPointerException的异常,其实这不过是listview中getCount()和getChildCount(... 阅读全文
摘要:
检查android手机中是否存在某应程public boolean checkApp(String packageName) { if (packageName == null || "".equals(packageName)) return false; try { ApplicationInf... 阅读全文
|
Copyright © 2024 扬帆メ风中香
Powered by .NET 8.0 on Kubernetes |