- 博客(23)
- 收藏
- 关注
原创 NFC术语
NDEF:NFC data exchange format (NDEF) http://www.nfc.cc/technology/nfc-tag-types/The NFC forum has defined a structure for writing data to tags or exchanging it between two NFC devices. The format
2014-02-21 12:18:37
1169
原创 SD Formatter
https://www.sdcard.org/downloads/formatter_4/https://www.sdcard.org/downloads/formatter_4/SDFormatter_4SC.pdf
2014-02-12 11:35:31
1175
原创 awk 学习
http://jilili.blog.51cto.com/6617089/1196748http://blog.sciencenet.cn/blog-1000382-713098.html
2014-02-10 10:40:26
519
原创 MacBook Air windows8 WiFi 无法上网
MacBook WiFi的驱动程序安装正确,通过wifi可以连接路由器,路由器的无线设置->主机状态也可以看到MacBook的WiFi MAC地址。但MacBook通过wifi就是无法上网。解决方法:打开TP-LINK路由器的 “无线设置” ->“基本设置" 将模式选项从原来的“11bgn mixed" 改为 “11bg mixed " 。无线网
2014-02-09 21:28:28
4461
原创 bash 条件表达式
if [ ! -e /system/app/test.apk ];thenelseifConditional Constructs http://www.gnu.org/software/bash/manual/bashref.html#Conditional-ConstructsBash Conditional Expressions http://www.gnu.or
2014-01-19 21:37:57
764
原创 Appending Redirected Output
e.g. cat test.sh >> log.logcat test2.sh >> log.log则test.sh和test2.sh的内容合并到log.log中Redirection of output in this fashion causes the file whose name results from the expansion of word
2014-01-19 21:21:34
614
原创 bash并行执行
#!/bin/bashfor ((i=0;i<5;i++));do { sleep 3; echo "done!" } donewait上面这段bash脚本执行一次要耗时3x5=15秒钟 。 但下面这段bash脚本执行完却仅耗时3秒钟#!/bin/bashfor ((i=0;i<5;i++));
2014-01-19 21:01:09
2083
原创 Linux scp 远程拷贝
Linux scp 使用详解scp -r local_folder remote_username@remote_ip:remote_folderscp -r remote_username@remote_ip:remote_folder local_folder
2014-01-15 22:40:12
578
原创 android用eclipse导入时容易产生bin目录
android用eclipse导入时容易产生bin目录,此时编译时提示如下错误信息:Checking build tools versions...build/core/java.mk:9: *** bin: Target java module does not define any source or resource files. Stop.解决方法是删除该bin目
2014-01-05 23:16:47
1008
原创 设置临时环境变量路径
只在当前终端命令行有效,退出当前终端命令行则失去效力,重新打开一个终端命令行则是整个系统的环境变量路径。export PATH= 清掉路径$PATH 确认当前路径空export PATH=XXX 重新设置路径
2014-01-05 22:33:31
1326
原创 apt-get -f install 和 apt-get update
$sudo apt-get install rpmReading package lists... DoneBuilding dependency tree Reading state information... DoneYou might want to run 'apt-get -f install' to correct these:The followin
2014-01-05 15:34:58
2478
原创 gcc version is very high
when compile android 4.0 , when gcc version 4.6.3 is very high, it will show error message below, It must use gcc version 4.4 .-------------------------------------------------------------------
2014-01-03 00:06:26
1386
原创 NFC
http://blog.csdn.net/yotagee/article/details/7787539版本4.0锁屏下的 NFC discover TAGhttps://play.google.com/store/apps/details?id=com.nxp.taginfolite
2013-12-27 00:15:35
823
原创 ubuntu server add user
sudo adduser user1sudo usermod -d /home/dir user1sudo chown user1:group user1
2013-12-23 10:54:22
698
原创 setTimeZone
frameworks/base/core/java/android/app/AlarmManager.java: /** * Set the system default time zone. * Requires the permission android.permission.SET_TIME_ZONE. * * @param timeZone i
2013-12-15 20:00:25
2371
原创 java eclipse 和 adt eclipse 去掉红色的波浪线以及错误语法提示
windows-->perferences-->editors-->text editor-->annotation在里面选择errors,把其中的三个选项都取消勾选。
2013-12-08 15:59:09
9089
原创 预装apk与.so
预装.soinclude $(CLEAR_VARS)LOCAL_MODULE := lib.soLOCAL_MODULE_CLASS := SHARED_LIBRARIESLOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)LOCAL_SRC_FILES := libs/$(LOCAL_MODULE)OVERRIDE_BUI
2013-11-24 12:02:43
1184
原创 android:sharedUserId和LOCAL_CERTIFICATE和签名权限
修改系统的权限: 1. 在应用程序的AndroidManifest.xml中的manifest节点中加入android:sharedUserId="android.uid.system"这个属性。 2. 修改Android.mk文件,加入LOCAL_CERTIFICATE := platform这一行Reference:http://blog.csdn.net/ze
2013-11-24 10:55:34
1321
原创 sign_target_files_apks
./build/tools/releasetools/sign_target_files_apks -d vendor//security/ -target_files.zip signed-target-files.zipIf you have prebuilt and pre-signed apk's in your build that you don't want re
2013-11-24 10:24:57
1697
原创 开机默认Launcher
LAUNCH BY DEFAULTYou've chosen to launch this app by default for some actions.packages\apps\Provision\src\com\android\provision\DefaultActivity.java/* * Copyright (C) 2008 The Android Ope
2013-08-20 15:51:52
1208
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人