How to download the android kernel由於目前從android網站git後的原始碼中不包括kernel,所以需要單獨下載android kernel,產生使用的補丁,下面是我使用的方法,供大家參考;Here is a way of extracting raw Android patches at a certain point intime, though this may be datedken@ken:/data/android/android-kernel$
方法一、有時候在LCD或touchscreen或鍵盤調好之前,android預設10秒就會suspend,導致系統睡眠。也沒辦法通過android菜單來修改逾時時間。實際上android的這些設定都是存放在sql資料庫裡的,也就是說可以直接通過修改資料庫來不讓android睡眠。sqlite3 /data/data/com.android.providers.settings/databases/settings.dbselect * from system;UPDATE system SET
1: 開啟網頁: Uri uri = Uri.parse("http://www.baidu.com");Intent intent = new Intent(Intent.ACTION_VIEW,uri);startActivity(intent);2:開啟地圖:Uri uri = Uri.parse("geo:136.46,25.15");Intent intent = new
Android PMEM主要有兩個作用(來自android mail list): 1. GPU or VPU buffers shared with CPU core 2. Android service heap. 其中1是不能cache的,2可以cache,平台裝置註冊中 cached = X即控制是否可以被cache。 =================================================================================
http://blog.chinaunix.net/u3/103613/showart_2037838.html下面的文檔描述如何移植 iperf 到 android 平台中1. download iperf source codelatest iperf version from the below link:http://sourceforge.net/projects/iperf/and then unzip it.tar zxvf iperf_2.0.4.orig.tar.gz2.
(L)ittle (K)ernel based Android bootloaderFirst of all thanks to Travis Geiselbrecht, Brian Swetland and Dima Zavin for the initial work on (L)ittle (K)ernel project and open-sourcing the work on kernel.org
File f = new File("/sdcard/");if(!f.exists()) {f.mkdir();}File myCaptureFile = new File("/sdcard/", "bitmap.png");FileOutputStream fos = null;try {fos = new FileOutputStream(myCaptureFile);} catch (FileNotFoundException e) {// TODO Auto-generated