自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (4)
  • 收藏
  • 关注

转载 How to build intermediate classes.jar in android N

in Android M, you can achieve that by using LOCAL_JACK_ENABLED = disabled variable in your makefile.In Android N it is more tricky...it is broken and the solution to this is yet to come in A

2017-12-05 08:21:42 631

转载 gcc编译器-出现-fpermissive的问题

在VS2010下编译通过的程序,移植到ARM平台时通过ARM-GCC交叉编译时出现-fpermissive问题,问题描述是taking address of temporary [-fpermissive]查了一些资料,可能是不同编译器或者新旧编译器对于c++标准的不同解释的结果在GCC下对于模板继承的规定与VS不同有一个简单粗暴的解决办法,就是在交叉编译指令里

2016-07-20 16:29:55 11542

转载 How to collect TrustZone debug logs and check the meaning of error code in the logs

Solution TitleHow to collect TrustZone debug logs and check the meaning of error code in the logsSolution DetailsDuring security related debugging, frequently we need to collect Tr

2016-05-25 10:33:17 1278

原创 下载编译nexus设备映像

1、下载repo,直接上android.com2、执行repo init初始化仓库,仓库名称可以上(https://android.googlesource.com/platform/manifest/+refs)获取例如: repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r2

2016-04-29 10:36:40 338

转载 Ubuntu Linux系统中如何使用Samba客户端

主要目的是想在Ubuntu中使用WINDOWS服务器上的空间,所有的数据都是挂在WINDOWS服务器上的一个磁盘阵列。首先安装:sudo aptitude install smbfs然后准备一个目录:sudo mkdir /media/Storage输入帐号,放在/root/.cifscredentials文件,内容如

2015-01-21 10:46:28 1010

原创 ubuntu安装git 2.x

ubuntu安装git 2.x1、下载git最新代码https://codeload.github.com/git/git/zip/master2、安装 autoconf, tk, gettextsudo apt-get install autoconf tk gettext3、配置编译git源码make configure./configure --p

2014-12-19 14:36:59 904

原创 Camera压力测试脚本

@echo offset num=0:okset /a num+=1adb shell "am start -n com.android.gallery3d/com.android.camera.CameraLauncher"sleep 2adb shell input keyevent 27sleep 2adb shell input keyevent 2

2014-07-29 12:38:48 1439

原创 禁止任何按键touch事件对话框

AlertDialog.Builder disableDlgBuilder = new AlertDialog.Builder(mContext);        disableDlgBuilder.setTitle(mContext.getString(com.android.internal.R.string.not_globe_sim_title)); //"Invalid  sim"

2013-12-19 17:57:09 715

原创 禁止下拉通知栏

PS:需要system权限     //disable the notification's expand feature     StatusBarManager mStatusBarManager = (StatusBarManager)getSystemService("statusbar");     mStatusBarManager.disable(StatusBa

2013-12-19 16:12:55 733

原创 时间格式随系统格式

工作中需要用到时间格式随系统改变的需求,例如系统设置 yyyy/mm/dd  ,对应的时间格式为  yyyy/mm/dd,系统设置为  dd/mm/yyyy,对应的时间也应该为dd/mm/yyyy,百思不得其姐,最后参考SystemUI的下拉托盘的时间显示,获取代码如下:非常简单。       Date now = new Date();       CharSequence date =

2013-12-11 17:58:38 433

原创 min match by mcc mnc

#include #include static char match8[][24] = {"72406", "72410", "72411", "72423", "72402",                            "72403", "72404", "72408", "72431", "72424",                         

2013-12-09 15:20:02 645

转载 android windows下跑CTS/XTS用的

最近在做Android系统的自动化测试,所以花了点时间研究一下CTS。        Android官方发布的CTS测试包默认是在Linux系统上运行的,由于CTS分两部分执行,一部分是CTSHOST,主要用来控制整个测试过程的,它的作用就是把测试包按照测试计划安装到被测设备上,然后通过Adb shell Am 执行相应的测试程序,然后再收集测试结果,最终把整个测试结果汇总,同时也会记录下测试

2013-11-29 14:41:40 3063

原创 工作中写的编译脚本,留着以后想是干什么的。

#!/bin/shuseage() {    echo "Usage:  ckt.sh"    echo "Example:"    echo "      ./ckt.sh user           # build user package."    echo "      ./ckt.sh eng            # build debug package."

2013-09-10 15:00:03 728

转载 常用编辑工具的Tab键空格数设置

(一)   EclipseWindow->Preferences->General->Editors->Text Editors->Displayed tab width: 4(二)   GeditEdit->Preferences->Editor->Tab width: 4(三)   UitraEdit32中文:高级->配置->编辑器->自动换行/制表符设

2013-08-26 10:29:36 1454

原创 jartool

@echo offset tool-path=D:\jartoolsset class-root=D:\AndroidDev\Eclipse\Indigo\work\JavaDebug\binset class-file=services-classes.txtset src-jar=servicesset output=services.jarset class=%t

2013-04-10 09:42:54 571

apk反编译工具

1、反编译APK资源文件: 1.1、进入apktool-install-windows-r05-ibot 1.2、执行 apktool.bat d -s xxxx.apk 2、反编译APK代码: 2.1、解压xxxx.apk得到class.dex 2.2、进入dex2jar-0.0.9.15 2.3、执行 dex2jar.bat classes.dex 生成 classes_dex2jar.jar 2.4、使用jd-gui.exe打开classes_dex2jar.jar

2013-12-30

快速Framework部署

开发android使用的工具,framework开发用的。

2013-09-10

Linux下编译FBReader-0.12.1 所需的依赖包

包括 bzip2-1.0.5 expat-2.0.1 liblinebreak-1.2 zlib-1.2.3 curl-7.19.7 fribidi-0.10.9 sqlite-3.6.21 fbreader-0.12.1就自己去http://www.fbreader.org下载啦!

2010-01-30

FBReader-0.11.2

做电子书的好东西,源代码全都有,支持linux win32 等等平台,UI库有好多,qt3 qt4 gtk win32 等等,还有说不上名的。

2009-12-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除