編輯:關於Android編程
dennis@dubuntu1404:~$ adb root restarting adbd as root dennis@dubuntu1404:~$ adb remount remount succeeded dennis@dubuntu1404:~$ adb push ducati-m3.bin /vendor/firmware 3772 KB/s (4515868 bytes in 1.168s) dennis@dubuntu1404:~$第六步:將編譯好的img刷到i9250手機上 (1) 修改~/.bashrc中的環境變量ANDROID_PRODUCT_OUT為:
export ANDROID_PRODUCT_OUT=/home/dennis/devenv/aosp/out/target/product/maguro(2) 重新進入命令行,然後開始刷機
dennis@dubuntu1404:~$ adb devices List of devices attached 0146A0D00600900B device dennis@dubuntu1404:~$ adb reboot bootloader dennis@dubuntu1404:~$ fastboot flashall -w < waiting for device > -------------------------------------------- Bootloader Version...: PRIMEMD04 Baseband Version.....: I9250XXLJ1 Serial Number........: 0146A0D00600900B -------------------------------------------- checking product... OKAY [ 0.007s] sending 'boot' (4472 KB)... OKAY [ 0.587s] writing 'boot'... OKAY [ 0.681s] sending 'recovery' (5020 KB)... OKAY [ 0.659s] writing 'recovery'... OKAY [ 0.798s] erasing 'system'... OKAY [ 0.015s] sending 'system' (264925 KB)... OKAY [ 34.379s] writing 'system'... OKAY [ 30.739s] erasing 'userdata'... OKAY [ 0.418s] formatting 'userdata' partition... Creating filesystem with parameters: Size: 14539534336 Block size: 4096 Blocks per group: 32768 Inodes per group: 8144 Inode size: 256 Journal blocks: 32768 Label: Blocks: 3549691 Block groups: 109 Reserved block group size: 871 Created filesystem with 11/887696 inodes and 97200/3549691 blocks sending 'userdata' (137559 KB)... writing 'userdata'... OKAY [ 28.220s] erasing 'cache'... OKAY [ 0.016s] formatting 'cache' partition... Creating filesystem with parameters: Size: 452984832 Block size: 4096 Blocks per group: 32768 Inodes per group: 6912 Inode size: 256 Journal blocks: 1728 Label: Blocks: 110592 Block groups: 4 Reserved block group size: 31 Created filesystem with 11/27648 inodes and 3566/110592 blocks sending 'cache' (8832 KB)... writing 'cache'... OKAY [ 2.970s] rebooting... finished. total time: 99.523s dennis@dubuntu1404:~$刷好之後,系統會自動重啟,如果沒什麼其他問題,你可以看到你的勞動成果了!
在網上看到了一個IOS組件PendulumView,實現了鐘擺的動畫效果。由於原生的進度條確實是不好看,所以想可以自定義View實現這樣的效果,以後也可以用於加載頁面的進
工程寫的差不多了才發現原來用的包名還是自己嘗試性的進行寫代碼的時候用到的。但apk的發布,google map api的申請等等方面都需要用到一個比較規范的包名。這就涉及
上一篇Android中XUtils3框架使用方法詳解(一)文章,主要介紹了XUtil3的注解模塊,網絡模塊,圖片加載模塊,今天給大家帶來數據庫模塊的講解,現在主流的ORM
Dialog 使用總結Dialog 是Android中對話框相關的類,起到相關提示的作用。Dialog在Android 中主要分為以下幾類:AlertDialog :警告