Fragment中调用onActivityForResult处理 Html+Css
The activity hosting this fragment has its onActivityResult called when the camera activity returns
My fragment starts an activity for result with the intent sent for the camera to take a picture. Th
ANR 的一个触摸bug转载下。。点击就会出现 error 的bug。。 Html+Css
转载 http://ps3computing.blogspot.ca/2012/12/anr-application-not-responding.html ANR: Application Not Responding (keyDispatchingTimedOut)This is a heads up for those Android
onmeasure被调用了但是onlayout没有被调用 Html+Css
这个是做systemui的时候的一个bug,就是发现打开通知中心后,删除一个通知之后再也接收不到通知了,当然通知删除有个动画。通知列表放在一个scrollVie
并行执行的Service,以媒体转码成新格式为例 Html+Css
大家众所周知,IntentService内置的handler只有一个线程,而AsyncTask又只适合时间至多几秒的操作,所以我们关注使用ExecutorService建立并行执行。为了确保Ser
GridView 完美填充布局 Html+Css
在做项目时,有时候GridView的item和item之间的间距,间隔不好调节,显示在界面上很难看,下面来看如何实现的<LinearLayout xmlns:android="http://schemas.a
Error: String types not allowed (at 'layout_gravity' with value 'bottom/center_horizontal'). Html+Css
Error: String types not allowed (at 'layout_gravity' with value 'bottom/center_horizontal').这里错误意为:字符类型不符,也就是说gravity后面跟的参数不能是这里所写的
安卓开发过程中如何查看源码以及重载函数时不出现arg0与arg1等 Html+Css
先上三张图想必这三张图作为一名安卓开发者都不莫生,前两张图出现的缘故是由于没有下载或者关联源代码,导致想去查看源代码的时候出现source no
使用apktool破解app Html+Css
第一歩: 使用apktool decompile apkApktool 是一个decompile的工具, 使用它就可以将apk 变为source file 与.apk 相同的文件夹下 shift+right click, w 启动cmd 按照下图
new Handler().postDelayed Html+Css
new Handler().postDelayed(new Runnable() { @Override public void run() { } }, 800);此方法会引起屏幕刷新,因此常用于启动页面的进度条刷新, 其他页