socket byte 处理 ,读写俩线程。
buffer vector 。
readFull
backgound error #716A57
can not see bcckground color at hirerarchyviewer
can not find this color at style file ,no trasparent color
rootcasue
setBackgroundColor ,color ,not resource id
it is this method error .
scrollbarsize ,net not found solution
setIndeterminateDrawable sourcecode
scrollto no scroll bar.
setSelection
shape .left border ,only add a line shape on left
style
ProgressBar Attributes
message detail botoom button , hasData , what is null ,and empty define . code carefully
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/*");
startActivityForResult(photoPickerIntent, 1);
startActivityForResult(new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI), 1);
/mnt/sdcard/LazyList/-1661447951 (Permission denied) ,permission 啊 ,应该早检查android
sdcard
oneshot animation ,就是这样的动画,没有显示完。
系统有缓存问题吗?突然好了
http://stackoverflow.com/questions/4579499/crop-and-resize-an-image-in-android
http://www.eoeandroid.com/thread-9633-1-1.html
调用 android 自身裁剪功能
final Intent intent = new Intent
("com.android.camera.action.CROP");
intent.setClassName("com.android.camera",
"com.android.camera.CropImage");
intent.setData( photoUri);
startActivityForResult(intent, REQUEST_CROP_IMAGE);
http://www.cnblogs.com/mite/archive/2010/09/28/1837399.html
自动裁剪
List data , user data can not see , listData null or empty
http://android.git.kernel.org/?p=platform/packages/apps/Gallery.git;a=tree;h=refs/heads/gingerbread;hb=refs/heads/gingerbread
it is in the framework resources --frameworks/base/core/res I believe.
com android resouce
http://hi.baidu.com/anonymas/blog/item/85f0348f343f8306b21bba37.html
animation ,why only show the second image and will stop and not loop
Button can not see animation
UI 大小 ,小图标,有些变形,重启emulator 就好了
有时候 UI 长宽互换变形
缓存问题?应该不会
style override ,not set
http://stackoverflow.com/questions/5183645/android-clickablespan-in-clickable-textview
clickable span
Html encode
BitmapFactory.Options options=new BitmapFactory.Options();
options.inSampleSize = 8;
Bitmap preview_bitmap=BitmapFactory.decodeStream(is,null,options);
//Find the correct scale value. It should be the power of 2.
int width_tmp=o.outWidth, height_tmp=o.outHeight;
int scale=1;
while(true){
if(width_tmp/2<REQUIRED_SIZE || height_tmp/2<REQUIRED_SIZE)
break;
width_tmp/=2;
height_tmp/=2;
scale*=2;
}
缩小图片
http://stackoverflow.com/questions/477572/android-strange-out-of-memory-issue/823966#823966
http://stackoverflow.com/questions/5320599/android-bitmap-recycle-question-do-i-need-to-maintain-all-the-references-of-bitm
图片 问题
做了个测试,drawable resouce 放了 4 M jpg 图片, 但是启动后 虚拟机 内存只有 3 M 。
所以我猜测 android 启动的时候 不会把 所有图片全部加载。
查看了android 源代码 。他 在 Resources.getDrawable 时,调用了
loadDrawable 在 loadDrawable 时,使用了cache ,从源代码看不象启动时候一次加载成功。
Drawable dr = getCachedDrawable(key);
if (dr != null) {
return dr;
}
从下面page看
http://stackoverflow.com/questions/5320599/android-bitmap-recycle-question-do-i-need-to-maintain-all-the-references-of-bitm
系统会自动回收 bitmap ,只是希望尽快回收比较大的图片时,我们可以调用 recycle 。
this.messageResponseObject = messageResponseObject ;
没有 empty view
reply 没有显示
更新
refresh
lineLayout center
finishe after start ,后台不能处理UI,但是程序还在run ,
finish 后 清空资源会报错。还会draw 。
why can not set account some time ? error does not throw error
why header view throw error ,when clear data ? construct new list view .
progress bar ,why animation stop 。should redraw
user view 又不见了 ,数据 不见了 ,如何debug
tomWang 数据返回了
jerryzhang
jerry123
application oncreate
detail view touch 事件 后color 不一样 color cache hint
05-09 04:05:15.144: WARN/Zygote(33): Preloaded drawable resource #0x10801d9 (res/drawable-hdpi/indicator_code_lock_point_area_green.png) that varies with configuration!!
为什么 前面几个list 图片不能立即 显示,
android:ellipsize="end"
editview 分行
why only line two after ellipsize
Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
-partition-size 120
http://xiaoneidian.cn/post/androide8aebee7bdae-partition-size.aspx