
要点总结
文章平均质量分 55
蒲锦_up
never give up,again!
qq: 762396990
weibo: 蒲锦_Up
展开
-
getActionBar()报空指针异常
1. 加载完视图后,再去获取:原创 2014-09-26 11:17:49 · 18447 阅读 · 7 评论 -
error when loading the sdk 发现了元素 d:skin 开头无效内容
把devices.xml这个文件删除,再把sdk里面tools\lib下的这个文件拷贝到你删除的那个文件夹里,重启eclipse原创 2015-06-03 09:10:46 · 35721 阅读 · 26 评论 -
eclipse中使用Maven
提供一个maven官网地址,有时候我们不知道jar包的groupid,ArtifactId,Version是多少的时候,就可以到上面去查询(官网的jar,而不是未发布的)http://search.maven.org/#search|ga|1|Maven下载地址:http://maven.apache.org/download.cgi当前版本的eclipse(eclipse-jee-l原创 2015-04-29 21:41:13 · 17973 阅读 · 1 评论 -
onWindowFocusChanged触发简介
看看源码中对该方法的说明:Called when the current android.view.Window of the activity gains or loses focus. This is the best indicator of whether this activity is visible to the user. The default implementatio原创 2015-04-10 17:02:13 · 46877 阅读 · 1 评论 -
android 动画介绍
Animation中文翻译就是动画的意思,android提供的该动画抽象类可以在View ,Surface或者Object中应用,来实现简单的一些动画效果。它的直接子类中,除了AnimationSet,其他的四个子类就是可以实现的动画效果了,渐变,缩放,移动和旋转。setDuration():动画运行时间内,以毫秒为单位setFillAfter():设置为true,动画转换原创 2015-04-02 12:05:34 · 1804 阅读 · 0 评论 -
apk反编译工具
下载工具:jd-gui原创 2014-11-18 23:21:08 · 1578 阅读 · 0 评论 -
ListView使用小结
在listview的xml中添加属性:android:stackFromBottom="true" android:transcriptMode="alwaysScroll"在添加适配器的时候://刷新数据 mAdapter.notifyDataSetChanged(); //显示到最后一行的数据 mListView.setSelection(mAda原创 2014-01-13 15:09:45 · 3037 阅读 · 1 评论 -
内存溢出相关
Bitmap 压缩:BitmapFactory.Options ops = null;Bitmap bm;ops = new BitmapFactory.Options(); bm = BitmapFactory.decodeFile(viewHolder.imagePath, ops); // 不需要透明度,节约一半内存 ops.inPreferredConfig = Con原创 2014-05-04 18:20:42 · 1128 阅读 · 0 评论 -
命名空间错误
由于加载图片资源导致的问题,重新加载一次图片,refresh一次,重启一次应该就可以了。原创 2014-01-22 17:56:32 · 1091 阅读 · 0 评论 -
Git合并两个仓库
Git合并两个仓库将远程仓库下载到本地1.将远程仓库下载到本地git clone 地址2.将下载的地址作为你的远程仓库地址git remote add 仓库名称 地址3.抓取仓库数据到本仓库中git fetch 仓库名称然后你就可以创建本地分支,合并代码了。在其中一个仓库上添加另外一个的远程地址其实跟上面的使用差不多,少了下载到本地的过程。 1.将下载的地址作为你的远程仓库地址git remote原创 2017-05-31 17:16:30 · 1791 阅读 · 0 评论