分页: 2/9 第一页 上页 1 2 3 4 5 6 7 8 9 下页 最后页 [ 显示模式: 摘要 | 列表 ]
今天刷机成功,但也总结一下昨天刷机失败的原因:
刷机程序版本不对,导致 “failed to flash recovery image” 或 “Backup CID is missing ”
原因是HBOOT版本是0.93,但拿来刷机的程序是 reflash_packagefor0.83 。

刷机步骤:

1 确定系统信息
按“音量-”和电源键开机即可进入hboot的信息界面,可以拿到自己的机器的版本信息,比如
引用
bravo pvt4 ship s-on
hboot-0.93.0001
microp-051d
touch panel-synt0101
radio-5.09.05.30_2
aug 10 2010 17:52:10


2 下载相应的版本的reflash_package

3 开启手机的debug功能和插上usb线充电为默认选择

4 打开reflash.exe,插好usb线,然后等待几分钟就可以自动处理完成,需要安装驱动则安装即可
参考 不能安装ADB驱动,出现MY HTC黄色感叹号的解决办法

制作金卡步骤:

1 查看 /sys/class/mmc_host/mmc*/mmc*:*/cid 文件得到cid
方式很多,可以 adb shell 查看,当然需要安装好驱动

2 前往http://hexrev.soaa.me/,把你的32位字符输入并提交,
得到另一个以 00 开头的 32位字符 STR

3 前往 http://psas.revskills.de/?q=goldcard ,把STR填写了,邮箱收到img文件

4 用 HxDSetupEN 把此img文件的0-170行的内容替换到sd卡相应的位置,保存即可,细节参考后面附录内容

5 拔插sd卡,可以正常使用即可

刷ROM的步骤:

1 把第三方ROM放于sd卡根目录,名字为update.zip
2 关闭手机,用 音量- 和电源键同时按住开机
3 选择 RECOVER
4 把data/factory reset和cache partition删除干净
5 apply sdcard:update.zip
6 稍候即可完成~

MIUI介绍

刷了个MIUI,使用起来还是挺舒服的。
联系人方面内置了很多常用的银行之类的电话,有电话地区显示,飞信的信息还会加上边角标志,很细节的功能。
拖动图标即可删除程序
设置的功能按类别分,比较分门别类,很人性化
UI方面做的很好,可以方便更换主题,女孩子用起来会很个性,太赞了
Tags: ,
今天安装G7驱动,遇到如题问题。

编辑 android_winusb.inf 文件:

在[Google.NTx86]节点后加上

;HTC Desire
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01
;


在[Google.NTamd64]节点后加上

;HTC Desire
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01
;


更新驱动即可~

驱动只是标识符:

一个设备的信息如下 USB\VID_0BB4&PID_0C87&MI_01\6&2961B0D4&0&0001
可以看到上面填写的内容和此信息的关系。。
都集中在前半段信息,如果有一个新的android设备,是可以类似加一段即可

本文参考自:
http://www.peppersmart.com/forum.php?mod=viewthread&tid=5340&page=1
Tags: , ,
在ubuntu下使用eclipse,发现原先xp的工程是乱码,郁闷
查资料得此方法,欣喜,分享之:

引用
1、eclipse的编码不能改成GBK
解决办法:
gedit /var/lib/locales/supported.d/zh
加入这一行:
zh_CN.GBK GBK
保存之后再启动eclipse,就可以把编码改成GBK了,不过还是要手工输入,不能选。

2、在eclipse有中文的文件保存为乱码
解决办法:
Window-->Preferences-->General-->Content Types-->把需要的文件类型指定一种编码,比如GBK


参考原文:http://developer.51cto.com/art/200906/126861.htm
Tags: ,
朋友手机有问题,遂导出通讯录备份,可不知道怎么样可以转换别的格式。
今天找了一些资料,发现此dbk文件仅仅只是个zip文件,我汗。。 害我还到处找软件。。
改为zip文件,然后解压出通讯录文件contacts.vcf即可,可以直接导入gmail通讯录,很棒~

另外,linux下的file命令是很强大的,不知道什么文件,那可以用它看看:

[root@gx tmp]# file U100.dbk
U100.dbk: Zip archive data, at least v2.0 to extract


从资料介绍《Open DBK File》有知道:

引用
How do I open and read a DBK file? The file is the back up of phonebook contacts I saved from a Sony Ericsson phone. I need to read the contact information; please help me. Susan Keenan

What Are DBK Files?

Files with the DBK extension are created using PC Suite by Sony Ericsson. They are used to back up phone settings and/or data. Typically, this type of file is considered a container file since it holds data. The data in a DBK file is in compressed format, so it needs a special program to open it.

Open DBK File: Use PC Suite

If you still have access to your phone, you can use the PC Suite program to restore these phone files so that you can access them on your phone.

Open DBK File: Unzip the File

The DBK files are saved in formats similar to ZIP files. Therefore, you should be able to open them by unzipping them. Several applications can be used to unzip files including WinZip, WinRAR, and ZigZag. If you don’t have one of these applications installed, search for them online and choose one to install so that you can use it to open the DBK files holding your phonebook contacts.

I advise you to make a backup of the DBK file before attempting to open it this way. Change the file extension from .dbk to .zip on the Sony phone file if it does not automatically open using one of these applications.

以前做1.5版本的程序,没有这个问题,2.2的版本用同样的代码一直写不了,纳闷。。
想起看程序权限时,都有写入文件的权限,所以估计是需要明确的权限。

引用一些别人的问题:

You're right that the SD Card directory is /sdcard but you shouldn't be hard coding it. Instead, make a call to Environment.getExternalStorageDirectory() to get the directory:

File sdDir = Environment.getExternalStorageDirectory();


If you haven't done so already, you will need to give you app the correct permission to write to the SD Card by adding this to your Manifest:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />


from: http://stackoverflow.com/questions/2121833/permission-to-write-to-the-sd-card
Tags:
不加任何旋转屏幕的处理代码的时候,旋转屏幕将会导致系统把当前activity关闭,重新打开。
如果只是简单的界面调整,我们可以阻止此问题的发生,屏幕旋转而自己调整屏幕的元素重构。

首先我们需要修改AndroidManifest.xml文件:
<activity android:name=".Magazine">
</activity>

//修改为:

<activity android:name=".Magazine"
  android:configChanges="orientation|keyboard">
</activity>


这样是让程序能够响应旋转屏幕的事件。
然后重写onConfigurationChanged方法:

@Override
public void onConfigurationChanged(Configuration newConfig) {
  // TODO Auto-generated method stub
  super.onConfigurationChanged(newConfig);
  Log.v(" == onConfigurationChanged");
  processLayout();
}


这个就可以自己决定是否重写处理布局了。
Tags:
1.  什么是density

引用
1) density
density表示每英寸有多少个显示点(逻辑值),它的单位是dpi:dot per inch,通常屏幕大时,density就大,屏幕小时,density就小,通常
屏幕实际分辨率为240px*400px时,density=120
屏幕实际分辨率为320px*533px,density=160
屏幕实际分辨率为480px*800px,density=240

2)  分辨率
是整个屏是多少点,比如800x480,它是软件的显示单位

3) 从Android1.6版本开始支持density(对应API Level 4)
用于解决应用在屏幕大小不同的硬件上正常显示的问题
Tags:
分页: 2/9 第一页 上页 1 2 3 4 5 6 7 8 9 下页 最后页 [ 显示模式: 摘要 | 列表 ]

阅读推荐

服务器相关推荐

开发相关推荐

应用软件推荐