- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 【Android】Conversion to Dalvik format failed with error 1解决方案
最近在做Android ICS项目的时候,发现Eclipse 出现“Conversion to Dalvik format failed with error 1”的错误参考http://stackoverflow.com/questions/2680827/conversion-to-dalvik-format-failed-with-error-1-on-external-jar与ht
2012-01-31 18:29:05 1520
原创 【Android】 在Andorid中解析Json数据示例
假设我们获取到的JSON数据如下图所示:因为里面有需要显示的图片,直接在UI thread decode图片容易ANR,所以我们使用AsyncTask来处理:【0】在OnResume里面去发出Http请求,获取到JSON数据try { DefaultHttpClient mDefaultHttpClient = new DefaultHttpClie
2012-01-30 18:29:37 5032
翻译 【Android】 使用ADT16出现ImageView Warning:Missing content Description attribute on image
转载自http://stackoverflow.com/questions/8500544/android-lint-contentdescription-warning在使用ADT 16开发android程序时会发现在XML文件中定义ImageView总是会提示Warning:Missing content Description attribute on image的警告我们可
2012-01-30 18:04:44 5032 1
转载 【Android】 Eclipse : ERROR: Unknown option '--no-crunch'的解决办法
转载自http://www.cnblogs.com/octobershiner/archive/2011/10/22/2221231.html最近android developer官网给出了ADT 14的升级包,很多朋友选择了升级,然后在开发的时候,编译工程出现了下面的错误提示 android ERROR: Unknown option '--no-crunch'
2012-01-30 14:28:16 2704
原创 【Android】ListView中getView的原理与解决多轮重复调用的方法
【0】ListView中getView的工作原理:[1]ListView asks adapter “give me a view” (getView) for each item of the list.(通过getView来获取每个item)[2]A new View is returned and displayed(获取到后返回显示)那么如果我们有大量的数据需要显示
2012-01-12 21:11:46 42667 12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人