原创 TextView簡介
http://blog.csdn.net/haoanbang/article/details/6674912
原创 StorageTest
sd卡的一些狀態:http://lgz.iteye.com/blog/1308340 //獲取RAM總大小 private String getRamAvailMemory() { String str1 = "/proc/m
原创 AXMLPrinter2、baksmali、smali、dex2jar
1、用AXMLPrinter2.jar反編譯xxx.xml文件 解壓xxx.apk,選擇main.xml(也可選擇其它xml文件,不過xml文件都是亂碼),複製到AXMLPrinter2.jar所在目錄,通過cmd 進入到AXMLPrin
原创 判別國家sim卡mnc、mcc號並自動安裝的應用
國際移動用戶識別碼(IMSI) International Mobile Subscriber Identity 國際上爲唯一識別一個移動用戶所分配的號碼。 從技術上講,IMSI可以徹底解決國際漫遊問題。但是由於北美
原创 Android開發_如何獲取和設置android系統鈴聲和音量大小
Android開發_如何獲取和設置android系統鈴聲和音量大小 時間:2011年12月03日 09:49:00 來源:Android開發者門
原创 Android N, Eclipse 中 File Explorer無法顯示文件列表
插入Android N真機後,Eclipse 中 File Explorer無法顯示文件列表。 手機root了也不顯示,插入插入Android M及以下的正常。 這是由於ddmlib.jar過舊的緣故,以下爲google原述: http
原创 系統上安裝了多種瀏覽器,能否指定某瀏覽器訪問指定頁面?請說明原由。
http://www.cnblogs.com/lianghui66/archive/2013/06/21/3148674.html 一、啓動android默認瀏覽器 在Android程序中我們可以通過發送隱式Intent來啓動系統
原创 GridViewTest
package hyz.com.cn.girdview; import android.app.Activity; import android.content.ComponentName; import android.content
原创 Telephony與Settings.doc
TelephonyManager tm = (TelephonyManager) getSystemService(TELEPHONY_SERVICE); /* 電話狀態: * 1.tm.CALL_STATE_IDLE=0
原创 PathPaintCanvasShaderTest
<IMG alt="" src="http://hi.csdn.net/attachment/201112/22/0_1324524713LjvH.gif"><IMG alt="" src="http://hi.csdn.net/atta
原创 Android關於OnTouch 和OnClick同時調用衝突的解決方案
http://cache.baidu.com/c?m=9f65cb4a8c8507ed4fece763104c8c711923d030678197027fa3c215cc790d060d3dbafc747e0d548d98297a5ae9
原创 Android遊戲開發之構建遊戲框架View與SurFaceView的區別(五)
Android遊戲開發之構建遊戲框架View與SurFaceView的區別(五) 發佈於 2011-10-20 http://www.uml.org.cn/mobiledev/201110205.asp 1.view
原创 點滴
一、點擊空白處不關閉Activity對話框 //set the Activity dosen't close when touch the outside of itself getWindow().setCloseOnTouchOuts
原创 ListView 與 CheckBox
標題不怎麼變,原因是大部分代碼都摘自http://blog.csdn.net/suren__123/article/details/7014872。 我只不過新增了幾個功能。 先看截圖: 我只說下添加和刪除按鈕的功能,其它的在上面
原创 冒泡排序
public class BubbleSort { static int[] bubbleSort(int a[],int n) { int temp=0; for(int i=0;i<n;n--) for(int j