Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
參考:http://www.cnblogs.com/allin/archive/2010/05/11/1732200.html一、最簡單的listView--ArrayAdapter1、ArrayAdapter(Context context, int textViewResourceId, List<T> objects)textViewResourceId:布局檔案,可以是系統內建;objects:泛型對象。2、補充,ArrayList即動態數組,例:ArrayLIst
Time of Update: 2018-12-03
在Android 中有內建的MediaPlayer音樂播放器,當播放的時候是自動啟動線程,即使點擊了返回鍵或者home的話歌曲依然能夠播放現在是我寫的一個很小很小的一個小例子在xml檔案中添加一button組件在***.java中的程式private Button button_play;private MediaPlayer mPlayer; /** Called when the activity is first created. */ @Override public
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/**添加事項對話方塊*/ LayoutInflater inflater = LayoutInflater.from(PropertySetActivity.this); final View textEntryView = inflater.inflate(R.layout.alert_dialog_text_entry, null); final EditText eventNameET =
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/*自訂還書時間和鬧鈴提醒*/ selfDefCalendar = Calendar.getInstance();//擷取日曆執行個體,即對selfDefCalender初始化 selfDefCalendar.setTimeInMillis(System.currentTimeMillis());//設定日曆的時間,主要是讓日曆的年月日和當前同步 /**啟動時間控制項小時分鐘*/ new
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
一直以為android sd卡的自動掛載是在vold中實現的,而其設定檔在網上也很容易找到是哪個system/etc/vold.fstab,中,其設定檔就是mount,一般都是如下所示:dev_mount sdcard /mnt/sdcard 3 /devices/platform/sc65-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0 nonremovable,encryptable
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *
Time of Update: 2018-12-03
Recovery簡介Android利用Recovery模式,進行恢復出廠預設值,OTA升級,patch升級及firmware升級。升級一般通過運行升級包中的META-INF/com/google/android/update-script指令碼來執行自訂升級,指令碼中是一組recovery系統能識別的UI控制,檔案系統操作命令,例如write_raw_image(寫FLASH分區),copy_dir(複製目錄)。該包一般被下載至SDCARD和CACHE分區下。如果對該包內容感興趣,可以從http
Time of Update: 2018-12-03
/******************************************************************************************** * author:conowen@大鐘 *