Bitmap用法总结1、Drawable → Bitmappublic static Bitmap
drawableToBitmap(Drawable drawable) {Bitmap bitmap =
Bitmap.createBitmap(drawable.getIntrinsicWidth(...
分类:
移动开发 时间:
2014-05-08 22:10:30
阅读次数:
482
http://www.cnblogs.com/luxiaofeng54/archive/2011/03/14/1984026.html
分类:
移动开发 时间:
2014-05-08 21:47:10
阅读次数:
379
在APK的manifest节点中保证其
android:sharedUserId="hello.miles" 保持一致,名称可以自定义// 创建共享数据的APK
其manifest包名为com.miles.sharedataSharedPreferences sp = Context.getSha....
分类:
其他好文 时间:
2014-05-08 21:44:45
阅读次数:
279
LayoutInflater inflater =
getLayoutInflater();View imageLayout =
inflater.inflate(R.layout.preference_image.xml,null);ImageView imageView =
(ImageView...
分类:
其他好文 时间:
2014-05-08 21:34:32
阅读次数:
307
介绍:AIDL 即 Android Interface Definition
Language使用:1.新建.aidl文件1 //AIDL 文件所在的包2 package com.houny.demo_aidl.aidl;3 4
//接口名必须和AIDL文件名一致5 interface ISay{6...
分类:
移动开发 时间:
2014-05-08 21:32:42
阅读次数:
511
getRowX:触摸点相对于屏幕的坐标getX: 触摸点相对于按钮的坐标getTop:
按钮左上角相对于父view(LinerLayout)的y坐标getLeft:
按钮左上角相对于父view(LinerLayout)的x坐标getRight():等同于下面的计算:getLeft()+getWidt...
分类:
移动开发 时间:
2014-05-08 21:22:54
阅读次数:
6659
eclipse 发布 签名android 程序1 在项目上右键 export2 export
android application3 第一次发布 要创建一个新的keystore4 填写key信息56 finish第二次发布的时候
可以直接选择已有的keystore选择以后的alias 或者新建ok...
分类:
系统相关 时间:
2014-05-08 21:22:03
阅读次数:
1889
http://www.cnblogs.com/angeldevil/p/3479431.html
分类:
移动开发 时间:
2014-05-08 21:15:55
阅读次数:
358
Android View onSizeChanged()
分类:
移动开发 时间:
2014-05-08 21:04:27
阅读次数:
386
from://http://www.eoeandroid.com/home.php?mod=space&uid=765778&do=blog&id=47674Android开源项目第一篇——个性化控件(View)篇包括ListView、ActionBar、Menu、ViewPager、Gallery...
分类:
移动开发 时间:
2014-05-08 21:02:03
阅读次数:
735