Time of Update: 2018-12-05
很好的東西,謝謝這位同學 轉載 作者:汕頭大學—黃珠唐 時間:2009 年10 月29 日 主要介紹linux 核心啟動過程以及掛載android 根檔案系統的過程,以及介紹android 原始碼中檔案系統部分的淺析。 主要原始碼目錄介紹Makefile (全域的Makefile)bionic (Bionic 含義為仿生,這裡面是一些基礎的庫的原始碼)bootable (引導載入器)build (build
Time of Update: 2018-12-05
最近在修改android的鎖屏時間,發現在settings裡只有讀寫資料庫的介面,卻沒發現這些值究竟是怎麼起作用的最後全域搜尋,才發現會在phonewindow裡用ContentObserver來對setting.db做監聽測試了個小APK來驗證,證實是這樣的附件中為具體源碼(附件尾碼要修改rar),下面貼出來如下:ContentobserveActivity.java package com.android;import android.app.Activity;import android.
Time of Update: 2018-12-05
最近在做項目的時候需要屏蔽掉android關機時彈出的title欄“Android 系統”改了很久也沒有改掉關於這個也是一個個關鍵字去尋找的android2.3.4_GB_T34/frameworks/base/core$ grep "Android System" * -nRres/res/values/strings.xml:322: <string name="android_system_label">Android
Time of Update: 2018-12-05
android介面UI訊號顯示是通過RIL對通訊模組發送AT命令來實現的,如AT+CSQ,我們查看一般可以通過 logcat -b radio來擷取一些RIL的即時資訊那麼訊號顯示隔多長時間在在介面上重新整理?frameworks/base/telephony/java/com/android/internal/telephony/ServiceStateTracker.java /** Signal strength poll rate. */ protected static
Time of Update: 2018-12-05
修改:android2.3.4_GB_T34/build/core/main.mk#ifneq (64,$(findstring 64,$(build_arch))) //開啟這個注釋ifneq (i686,$(findstring i686,$(build_arch))) //將這行注釋起來$(warning ************************************************************)$(warning You are
Time of Update: 2018-12-05
for exzample:in AduioService.javaadd code in order to comand for Voice In Call: if (streamType == AudioSystem.STREAM_VOICE_CALL){Log.w(TAG,"sendVolumeUpdate STREAM_VOICE_CALL,");String Callvoice_lev =
Time of Update: 2018-12-05
Android手機中緊急號碼的定製 2012-04-19 14:04:27| 分類: 問題小匯|字型大小 訂閱PhoneNumberUtils.java 檔案(frameworks\base\telephony\java\android\telephony)/** * isEmergencyNumber: checks a given number against the list of * emergency numbers provided by the RIL
Time of Update: 2018-12-05
RIL:check radio Operation status:logcat -b radio;logcat -s pppd;check audio Reg configure:Manual AT debug:stop ril-daemoncat /dev/ttyUSB*echo -e "at+csq\r\n">/dev/ttyUSB*ORstop ril-daemoncat /dev/ttyUSB*&echo "at+csq" > /dev/ttyUSB*Manual
Time of Update: 2018-12-05
Android ROM 內build.prop檔案常用參數修改Android ROM 內build.prop檔案常用參數修改/system/build.prop 檔案build.prop 是一個屬性檔案,在Android系統中.prop檔案很重要,記錄了系統的設定和改變,類似於/etc中的檔案。 # begin build properties本帖隱藏的內容# autogenerated by
Time of Update: 2018-12-05
一般的android都帶有自己的IME,如果我們想要將原有的IME去掉,使用自己喜歡的IME,我們獲得ROOT許可權後,找到原有的和IME有關的的APK,使用adb調試工具 ,adb shell 去到/system/app目錄下刪除OpenWnn.apk和PinyinIME.apk,LatinIME.apk;然後到/system/lib下刪除libjni_latinime.so,libjni_pinyinime.so然後到網上下載一個自己喜歡的IME,如百度或者搜狗IME,我們以百度輸入 為例,
Time of Update: 2018-12-05
2012-11-26分類:Android, 學習課堂, 開發, 隨手執行個體 | 標籤:Action, Activity, Android課堂, 多入口, Category, DEFAULT, Intent, Launcher,MAIN, singleInstance | 評論關閉 最近仔細複習了一下Intent中的相關知識,發現這一塊的內容用起來說簡單也簡單,但是一深究下去,也有許多好玩的東西。 本篇中我們就主要來談一下如果實現應用程式的多入口。 什麼意思呢?
Time of Update: 2018-12-05
問題描述:Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tool . 因為以前的Eclipse,ADT,SDK,JDK,版本太低,所以前兩天去官網下載了這些的最高版本。配置成功後,添加原本項目時卻出現了錯誤!Android requires compiler compliance level 5.0 or 6.0. Found '1.7'
Time of Update: 2018-12-05
/**********************************************************大家都知道寫部落格會很累的,希望轉載請註明出處:http://blog.csdn.net/ta893115871請不要可憐你的滑鼠,(*^__^*)
Time of Update: 2018-12-05
Android的大多數控制項都是繼承自View的,因此在自訂控制項時一般也是繼承View類,但是對於高效的,遊戲層級的繪圖,或者是播放器等要求比較高的地方,普通的View類就有點吃不開了,這個時候就要用到SurfaceView類。因為比較進階,所以就該裝B,單純一個繼承自SurfaceView類是不行的,必須實現一個SurfaceHolder.Callback介面來指明SurfaceView建立、改變、刪除時的回調方法,並且在SurfaceView中通過一個SurfaceHolder對象來控制S
Time of Update: 2018-12-05
我們知道Android系統提供的對話方塊樣式實在有些簡陋,如果你的應用程式很華麗,再配上一個簡陋的對話方塊,顯得格格不入。SO.............我們可以通過反射技術來阻止對話方塊的關閉;設定對話方塊的透明度,設定按鈕映像等。在這裡我們設定對話方塊按鈕的映像和在內容文本中插入映像。需要結合HTML語言..運行結果為:原始碼為:布局XML:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2018-12-05
《一》Spinner(旋轉按鈕或下拉式清單):設定監聽器為:setOnItemSelectedListener設定動畫效果為:setOnTouchListener 適配器為:ArrayAdapter《二》DatePicker( 一個選擇年月日的日曆布局視圖): public void init (int year, int monthOfYear, int dayOfMonth,
Time of Update: 2018-12-05
話不多說,代碼:XML布局檔案,只是一個Demo,所以就一個Button.<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"
Time of Update: 2018-12-05
/****************************************************大家都知道寫部落格會很累的,大熱天的。希望=轉載請註明出處:http://blog.csdn.net/ta893115871請不要可憐你的滑鼠,(*^__^*) 嘻嘻……***************************************************/ 自SDK 1.6開始,Android手機已支援內建Gesture
Time of Update: 2018-12-05
/****************************************************大家都知道寫部落格會很累的,大熱天的。希望=轉載請註明出處:http://blog.csdn.net/ta893115871請不要可憐你的滑鼠,(*^__^*) 嘻嘻……***************************************************/最近寫了一個檔案管理工具。已上傳在愛卓網和AppChina 應用匯上。希望朋友們給點支援啊!(*^__^*)
Time of Update: 2018-12-05
# Android 2.3.4 download and build in ubuntu 11.101 Download repo toolscurl http://android.git.kernel.org/repo >~/bin/repochmod a+x ~/bin/repo 2 Download source code of android 2.3.4repo init -u git://android.git.kernel.org/platform/manifest.git