- 博客(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
666
转载 gcc编译器-出现-fpermissive的问题
在VS2010下编译通过的程序,移植到ARM平台时通过ARM-GCC交叉编译时出现-fpermissive问题,问题描述是taking address of temporary [-fpermissive]查了一些资料,可能是不同编译器或者新旧编译器对于c++标准的不同解释的结果在GCC下对于模板继承的规定与VS不同有一个简单粗暴的解决办法,就是在交叉编译指令里
2016-07-20 16:29:55
11884
转载 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
1406
原创 下载编译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
386
转载 Ubuntu Linux系统中如何使用Samba客户端
主要目的是想在Ubuntu中使用WINDOWS服务器上的空间,所有的数据都是挂在WINDOWS服务器上的一个磁盘阵列。首先安装:sudo aptitude install smbfs然后准备一个目录:sudo mkdir /media/Storage输入帐号,放在/root/.cifscredentials文件,内容如
2015-01-21 10:46:28
1051
原创 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
946
原创 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
1577
原创 禁止任何按键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
767
原创 禁止下拉通知栏
PS:需要system权限 //disable the notification's expand feature StatusBarManager mStatusBarManager = (StatusBarManager)getSystemService("statusbar"); mStatusBarManager.disable(StatusBa
2013-12-19 16:12:55
791
原创 时间格式随系统格式
工作中需要用到时间格式随系统改变的需求,例如系统设置 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
467
原创 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
687
转载 android windows下跑CTS/XTS用的
最近在做Android系统的自动化测试,所以花了点时间研究一下CTS。 Android官方发布的CTS测试包默认是在Linux系统上运行的,由于CTS分两部分执行,一部分是CTSHOST,主要用来控制整个测试过程的,它的作用就是把测试包按照测试计划安装到被测设备上,然后通过Adb shell Am 执行相应的测试程序,然后再收集测试结果,最终把整个测试结果汇总,同时也会记录下测试
2013-11-29 14:41:40
3246
原创 工作中写的编译脚本,留着以后想是干什么的。
#!/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
764
转载 常用编辑工具的Tab键空格数设置
(一) EclipseWindow->Preferences->General->Editors->Text Editors->Displayed tab width: 4(二) GeditEdit->Preferences->Editor->Tab width: 4(三) UitraEdit32中文:高级->配置->编辑器->自动换行/制表符设
2013-08-26 10:29:36
1552
原创 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
612
apk反编译工具
2013-12-30
Linux下编译FBReader-0.12.1 所需的依赖包
2010-01-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人