1 卸載JDK之後重裝 遇到問題 could not open '/java/lib/i386/jvm.cfg' 後來找了半天環境變數... 改的也沒問題,才想起來沒有修改註冊表,解決辦法是: 重新安裝JDK時註冊表中/HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environemt/1.6 項目下的JavaHome和 RuntimeLib設定沒有更新,將這兩個項目更正即可. 2 在配置ADT是出現問題 Failed to
相當一部分來自文檔,希望能有朋友繼續完善此貼,以作搜藏。顯示網頁: 1. Uri uri = Uri.parse("http://www.google.com"); 2. Intent it = new Intent(Intent.ACTION_VIEW,uri); 3. startActivity(it);顯示地圖: 1. Uri uri = Uri.parse("geo:38.899533,-77.036476"); 2. Intent it = new
這篇文章主要記錄一些我常用的一些程式碼片段,方便以後查閱,不斷更新中 1 呼叫瀏覽器 載入某網址Uri uri = Uri.parse("http://www.baidu.com");Intent it = new Intent(Intent.ACTION_VIEW, uri);startActivity(it); 2 Broadcast接收系統廣播的intent 監控應用程式套件組合的安裝 刪除public class getBroadcast extends
首先 建一個工程insertTel 建一個com.android.internal.telephony的包把系統的源碼裡的ITelephony.aidl拷貝進來如下ITelephony.aidl/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file
android手機流量資訊系統是LINUX核心 記錄在/proc/self/net/dev檔案裡面 我們可以看看dev檔案的格式 Microsoft Windows XP [版本 5.1.2600](C) 著作權 1985-2001 Microsoft Corp. D:/Program Files/Java/sdk/android-sdk-windows/tools>adb shell# cd proccd proc# cd netcd net# cat devcat devInter-