Android程式員,證明你讀過安卓源碼的最好方式。 原創 kankanStyle,androidkankanstyle

來源:互聯網
上載者:User

Android程式員,證明你讀過安卓源碼的最好方式。 原創 kankanStyle,androidkankanstyle

第一個很逗比的類包名:android.util

類名:Config

This class was deprecated in API level 14. This class is not useful, it just returns the same value for all constants, and has always done this. Do not use it.  
這個類在API 14被棄用。這個類不是很有用,它只是返回相同的值常量,並一直這樣做。^_^不要使用它。


包名:android.service.dreams類名:夢服務DreamService


Extend this class to implement a custom dream (available to the user as a "Daydream"). 

Dreams are interactive screensavers launched when a charging device is idle, or docked in a desk dock. Dreams provide another modality for apps to express themselves, tailored for an exhibition/lean-back experience.

繼承這個類來實現一個自訂的夢想(使用者可用“白日夢”)。

夢是互動式螢幕保護裝置程式,啟動充電裝置閑置時,或在擴充塢閑置時。夢想為應用程式提供另一個形態來表達自己,專為展覽/懷舊感。

說白了,就是類似pc機的屏保,安迪魯賓逗你呢^_





聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.