今天做了一个客户的硬碟,是MyBook 1130系列的3.5寸随身硬碟,因为以前大部分都是全盘镜像的,今天因为时间的关系只镜像了bitmap中有数据的部分,然后就用原外接卡接上,发现提示UNREADABLE,无法读取.因为以前就知道,这种类型的加密,后面还会有一部分匹配信息,只是这次因为是另外一个同...
分类:
其他好文 时间:
2014-08-08 15:10:36
阅读次数:
285
public static Bitmap getCircleBitmap( Bitmap sourceBitmap) { if(null == sourceBitmap) { return null; } Bitmap output = Bitmap.createB...
分类:
其他好文 时间:
2014-08-07 18:18:41
阅读次数:
224
枚举变量public static final Bitmap.Config ALPHA_8public static final Bitmap.Config ARGB_4444public static final Bitmap.Config ARGB_8888public static final...
分类:
移动开发 时间:
2014-08-06 18:13:51
阅读次数:
168
/** 保存方法 */ public void saveBitmap(Bitmap bm, String picName) { //获取SD卡的目录,不建议直接写sdcard File f = new File(Environment.getExternal...
分类:
移动开发 时间:
2014-08-06 17:58:51
阅读次数:
179
在Wince6.0的应用开发过程中,掌握一些使用的小技巧,必定会事半功倍那么,你做好心里准备了吗?3、2、1。技巧一:我会告诉你你为Wince开发的程序可以在你的电脑上运行!这个技巧的用途有两个1、测试程序能否达到预期效果还记得我们上一篇帖子在模拟上用的小程序吗?我们现在PC..
package{ import flash.display.Bitmap; import flash.display.Sprite; import flash.events.Event; import flash.external.Extern...
分类:
编程语言 时间:
2014-08-05 21:50:50
阅读次数:
295
/**
* 获取网络图片
* 注意权限:
*
*/
private Bitmap getBitmapFromNetWork(String imageUrl){
URL url=null;
Bitmap bitmap=null;
InputStream inputStream=null;
HttpURLConnection httpURLConnection=nu...
分类:
其他好文 时间:
2014-08-03 23:17:16
阅读次数:
294
定义一个布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height=...
分类:
移动开发 时间:
2014-08-03 15:25:05
阅读次数:
204
public static void saveBitmapInExternalStorage(Bitmap bitmap,Context context) {
try {
if(IsExternalStorageAvailableAndWriteable()) {
File extStorage = new File(Environment.getExternalStorageD...
分类:
其他好文 时间:
2014-08-02 20:59:34
阅读次数:
190
1,如果需要绘制图形,可以采用直接继承View类的方法完成。
2,使用Bitmap可以完成图片的缩小,放大,剪切等操作。
3,Matrix提供了一个图形的变形操作,可以使用其完成图像的平移,旋转等。
4,Animation动画效果可以通过程序编码实现,也可以通过配置文件实现,但为了维护方便,建议使用配置文件完成。
5,MediaPlayer播放视频时需要Su...
分类:
其他好文 时间:
2014-08-02 15:32:43
阅读次数:
179