原创 人體感應喚醒系統

#include <linux/module.h> #include <linux/init.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/er

原创 wifi打開重啓概率性sdio失敗

diff --git a/wifi/wifi.c b/wifi/wifi.c old mode 100755 new mode 100644 index 4dcadb4..72f207c --- a/wifi/wifi.c +++ b/w

原创 android4.4默認以太網優先參考

lj@ubuntu-0B:~/a33_4.4_v1.0_h33dv/android4.4/frameworks/base/packages/Sett

原创 基於linux switch模塊的HDMI檢測狀態驅動

/* * drivers\staging\android\switch\switch_hdmiset.c * * Copyright (C) 2008 Google, Inc. * Author: Johnny <liujun@e

原创 jni學習實例(三)-a7105模塊驅動之activity

package com.example.a7105demo; public class a7105Class { /*聲明函數*/ //初始化函數 public native int Init(); pub

原创 jni學習實例(一)-a7105模塊驅動之driver

#include <linux/module.h> #include <linux/init.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/er

原创 英特爾xmm6321平臺camera閃光燈相關記錄

一、查看硬件閃光燈pin腳 二、修改相關pin腳功能 \linux\kernel\arch\arm\mach-xgold\include\mach\xgold_pinctrl\pcl_hal_cfg_xmm6321a2_es2_rk_t

原创 android TP實現距離感應

調用過程中涉及到的文件 Driver:           ft5x0x.cà   HAL:             SensorGTP.cpp  à sensors.cpp  à  SensorDevice.cpp à Framewor

原创 修改Linux內核的啓動Logo和禁用啓動光標

Linux內核下使用的圖片文件類型是pnm和PPm格式的,所以在開始介紹修改linux內核啓動LOGO之前, 1,先需要介紹一下怎麼樣設計自己開始logo的ppm圖片,首先選擇一張png格式的圖片 使用如下命令確保你必須安裝以下的工具

原创 ubuntu系統Android NDK安裝方法

1.谷歌官網下載android-ndk-r8-linux-x86.tar.bz2 2.解壓 $ bzip2 -d android-ndk-r8-linux-x86.tar.bz2 $ tar -xvf android-ndk-r8

原创 添加Android4.4 tp的虛擬按鍵觸摸震動反饋

Android手機tp下面一般有MENU,HOME,BACK三個按鍵。在你成功移植tp後,測試發現,NavigationBar上的按鍵有震動反饋,而TP上按鍵卻沒有。這需要在framework中的PhoneWindowManager.ja

原创 【Android】【轉】查看內存

文章參照自:http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android#2299813 像L

原创 Launcher3常見定製修改

    1.添加圖片到Launcher3/WallpaperPicker/res/drawable/目錄 <span style="font-family: Arial, Helvetica, sans-serif; backgroun

原创 android5.0編譯報錯'JNIFromJavaP' object has no attribute 'fully_qualified_class'

Traceback (most recent call last):   File "../base/android/jni_generator/jni_generator.py", line 1527, in <module>    

原创 kitkat添加耳機插拔圖標

# On branch 1004zb # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (