Time of Update: 2016-06-09
Linux0.11核心系列—2.系統調用機制分析,linux0.11系統調用【著作權,轉載請註明出處。出處:http://www.cnblogs.com/joey-hua/p/5570691.html 】 Linux核心從啟動到初始化也看了好些個源碼檔案了,這次看到kernel檔案夾下的system_call.s,這個檔案主要就是系統調用的過程。但說到系統調用,不只是這一個檔案這麼簡單,裡面牽扯到的內容太多,這裡就做個筆記記錄一下從建立中斷到最終調用系統調用的完整機制。假設就
Time of Update: 2016-06-08
01-安卓環境初搭建,01-安卓環境搭建需要的軟體如沒有提供下載連結,文章中會註明!首先下載 eclipse 安裝!(筆者提供的連結中沒有Eclipse下載!) 安裝完之後下載Jdk1.7安裝。然後配置JDK跟ADT的環境變數。在此我提供會提供個一鍵配置的工具。請自行下載。大神當然請略過! 安卓工具下載:https://yunpan.cn/cRyqKVWKtmdtA
Time of Update: 2016-06-07
我的android學習經曆33,android學習經曆33在Activity中添加菜單1.在res目錄下建立檔案夾menu 右擊res,選擇new->Folder,Folder name寫為menu 2.在建立的menu目錄下建立一個xml檔案 右擊menu,點擊new->Android XML
Time of Update: 2016-06-08
安卓動態調試七種武器之孔雀翎 – Ida Pro,安卓ida安卓動態調試七種武器之孔雀翎 – Ida Pro作者:蒸米@阿里聚安全 0x00 序隨著Mobile Security越來越火,各種調試工具也都層出不窮,但因為環境和需求的不同,並沒有工具是萬能的。另外工具是死的,人是活的,如果能搞懂工具的原理再結合上自身的經驗,你也可以創造出屬於自己的調試武器。因此,筆者將會在這一系列文章中分享一些自己經常用或原創的調試工具以及手段,希望能對國內Mobile
Time of Update: 2016-06-07
android ToolBar與DrawerLayout筆記,toolbardrawerlayout通過Android Studio 產生的Nagvition DrawerLayout Activity 內建的布局中的NagvitionView會覆蓋ToolBar直接通到statusBar。但是自己想把NagvationView控制到TooBar下邊,從網上找到的答案是把ToolBar從CoordinatorLayout裡邊移出來,然後主布局檔案:<?xml version="1.0"
Time of Update: 2016-06-06
我的android學習經曆32,android學習經曆32android系統架構1.Linux核心層(LINUX
Time of Update: 2016-06-07
Android SQL語句實現資料庫的增刪改查,androidsql本文介紹android中的資料庫的增刪改查複習sql文法:* 增insert into info (name,phone) values ('wuyudong','111')* 刪delete from person where name = 'wuyudong'* 改update person set number='119' where name='wuyudong'* 查select * from
Time of Update: 2016-06-07
兩個Fragment之間傳遞資料,fragment傳遞資料1.第一個Fragment BlankFragment blankFragment = new BlankFragment();Bundle bundle = new Bundle();bundle.putString("one", "one");bundle.putString("two",
Time of Update: 2016-06-07
android 使用http請求查詢手機號碼歸屬地,android手機號碼歸屬地資料來源http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmxwebxml網站還支援其他請求方式 如SOAP等等介面比較簡單<?xml version="1.0" encoding="utf-8"?><LinearLayout
Time of Update: 2016-06-04
淺析JNI函數的註冊過程,淺析jni函數 我們在java中調用Native
Time of Update: 2016-06-03
單元測試架構junit,單元測試junit#單元測試junit* 定義一個類繼承AndroidTestCase,在類中定義方法,即可測試該方法* 在指定指令集時,targetPackage指定你要測試的應用的包名 <instrumentation
Time of Update: 2016-06-03
activity+fragment+listview+adapter+bean在同一個類中的套路,fragmentlistview1.xmlactivity_main.xml<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2016-06-01
基於鴻洋部落格自定於View實現的android音量大小控制項,android音量大小 1.在values建立attrs.xml,寫出你需要的屬性: <?xml version="1.0" encoding="utf-8"?><resources> <attr name="firstColor" format="color" /> <attr name="secondColor" format="color" />
Time of Update: 2016-06-02
圖表架構HelloCharts(1)線形圖,hellocharts線形 1. 匯入 .aar 2.fragment_line_chart.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"
Time of Update: 2016-05-31
WebView輸入框提示,webview輸入框做基於WebView應用時,頁面上有一個輸入框,當輸入的文字過多時,超過輸入框的行數時,輸入框能夠滾動,這時間問題來了,輸入的提示箭頭會移動到輸入框外,如何解決這個問題呢,尋找chromium源碼如下: void LoadIfNecessary(jobject context) { if (loaded_) return; loaded_ =
Time of Update: 2016-06-02
Android 在外部儲存讀寫檔案,android讀寫本文主要介紹android中如何在外部儲存讀寫資料sd卡的路徑sdcard:2.3之前的sd卡路徑mnt/sdcard:4.3之前的sd卡路徑storage/sdcard:4.3之後的sd卡路徑開啟file explorer可以看到sdcard是個空的檔案夾,因為這個檔案夾是個捷徑,指向/storag檔案夾,接著開啟storag檔案夾讀寫sd卡最簡單的開啟sd卡的方式File file = new File("sdcard/info.txt"
Time of Update: 2016-06-02
圖表架構HelloCharts(3)餅狀圖,圖表hellocharts1 2 xml檔案 activity_pie_chart.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/container" android:layout_width="match_parent" android:layout_height="
Time of Update: 2016-06-02
cordova 訊息推送,告別,訊息推送伺服器,和 蘋果推送認證,cordova認證cordova plugin add org.apache.cordova.vibrationcordova plugin add
Time of Update: 2016-06-01
Android修行筆記(六):
Time of Update: 2016-06-01
Android開發報錯系列(一),java.lang.NullPointerException,at android.widget.ListView.setupChild,appwidgetlistview問題描述:運行代碼是報null 指標錯誤,java.lang.NullPointerException,at