关闭

Android强制指定安装目录

+++ b/frameworks/base/core/java/android/content/pm/PackageParser.java @@ -194,7 +194,8 @@ public class PackageParser { private static boolean sCompatibilityModeEnabled = true; private static f...
阅读(113) 评论(2)

Android disable strictmode

diff --git a/device/rockchip/rk3288/system.prop b/device/rockchip/rk3288/system. index 2d07b0d..db410cf 100644 --- a/device/rockchip/rk3288/system.prop +++ b/device/rockchip/rk3288/system.prop @@ -48,3...
阅读(47) 评论(1)

Android修改屏幕密度

diff --git a/device/rockchip/rk3288/system.prop b/device/rockchip/rk3288/system.prop index efeb5d3..0c288a8 100644 --- a/device/rockchip/rk3288/system.prop +++ b/device/rockchip/rk3288/system.prop @@ -...
阅读(48) 评论(1)

Android屏蔽开机引导页面

diff --git a/packages/apps/Launcher3/src/com/android/launcher3/LauncherClings.ja index ef8e8ab..fd444a4 100644 --- a/packages/apps/Launcher3/src/com/android/launcher3/LauncherClings.java +++ b/packages...
阅读(26) 评论(0)

Android 不锁屏

diff --git a/device/rockchip/rk3288/system.prop b/device/rockchip/rk3288/system. index 0d2c248..5a9ca3f 100644 --- a/device/rockchip/rk3288/system.prop +++ b/device/rockchip/rk3288/system.prop @@ -18,8...
阅读(19) 评论(0)

Android 系统永不休眠

set system screen never sleepdiff --git a/frameworks/base/services/core/java/com/android/server/power/PowerMa index e76b458..6bbea52 100644 --- a/frameworks/base/services/core/java/com/android/server/p...
阅读(37) 评论(0)

android JNI调用

几种传递方式传递字符串jint SerialSend(JNIEnv *env, jobject cls, jstring data) { int len = 0; jboolean isCopy; const char *str = (*env)->GetStringUTFChars(env, data, &isCopy); if(str == NULL)...
阅读(36) 评论(0)

rk3288 按键rk_key.c

这里我们分析一下rk3288的按键驱动分析 //定时器执行函数 static void keys_timer(unsigned long _data) { struct rk_keys_drvdata *pdata = rk_key_get_drvdata(); struct rk_keys_button *button = (struct rk_keys_button *)_data;...
阅读(30) 评论(0)

Android常用命令

am start 启动某个Activity# am start -n com.android.music/com.android.music.MusicBrowserActivity # am start -n com.android.music/com.android.music.VideoBrowserActivity # am start -n com.android.music/com.an...
阅读(33) 评论(0)

linux 内核container_of

#include #define offsetof(type, number) ((size_t) &((type *)0)->number) #define container_of(ptr,type,member) ({ \ const typeof( ((type *)0)->member ) * _mptr = (ptr); \ (t...
阅读(38) 评论(0)

Ap6255 调试记录

最近添加了一款ap6266的wifi芯片 wifi一直打不开 采用手动打开也无效 CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP=n echo 1 > /sys/class/rkwifi/power echo 1 > /sys/class/rkwifi/drivernetcfg wlan0 up iwlist wlan scanroot@rk3288:/...
阅读(39) 评论(0)

Android输入子系统分析(1)

草稿 内容后续发上...
阅读(59) 评论(0)

i2c驱动程序(2) i2c_driver probe被调用的流程分析

“` i2c驱动程序i2c_driver probe被调用的流程分析 return i2c_add_driver(&at24_driver);添加一个设备驱动 i2c_register_driver(THIS_MODULE, driver) res = driver_register(&driver->driver);...
阅读(55) 评论(0)

CSDN 我来了 坚持一个月两篇

没有做笔记的结果是悲催的 今天开始开始写博客了 总结一下自己所学的 当然归根还是记性差 小白菜一枚...
阅读(46) 评论(0)
    个人资料
    • 访问:631次
    • 积分:144
    • 等级:
    • 排名:千里之外
    • 原创:8篇
    • 转载:0篇
    • 译文:0篇
    • 评论:4条