swksysb1124
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    傑森的 Android 學習筆記 === ![](https://i.imgur.com/lhWUwwR.png) ![](https://i.imgur.com/oVxnxqp.jpg) ###### tags: `book` `android` 四大組件 --- - [Activity](/rHOyHGXUQ-WddzLuAI0n-g?edit) - [Service](/LG29KfC6TcehUSw2tcVo6w) - [BroadcastReceiver](/as_rKMbKTrqesJTcaVxY-w) - [Content Provider](/gb0rtXYdQUm5CxvXZ2Ta7A) 動畫 --- - [Drawable Animation](/T4kM2g57SpCtzfOgJEXYfg) - [View Animation 使用](/IORtllLpTz2b5K4roLcuOg) - [Activity 過場動畫](/jD2fxm2rRl6xyZ32H64Law) - [Fragment 過場動畫](/TBdusbllRGeZyoTFnY3tMQ) - [Property Animation 使用](/Sr6jQvN9Q-iQflcftku36g) - [Scene Transition Animation](/vA8cgOczTa2i3OonEy-TEQ) (待整理) 視覺 --- - [全螢幕/沈浸/恆亮 模式](/CLxzO-7eR5W2iyrRGTnIXA) - [全螢幕對話框(Full Screen Dialog)](/jjPPl7EzTvSwi7KBatFFuA) 基本元件使用 --- - [Toast](/gAUUEyU_QW-DmizBlErvNA) - [Dialog](/br-lS1dHTY6Sf-EAqSsusA) - [Error Message Dialog 設計](/6A5kKxDCR1qWnDbQUEWK7w) - [App Bar](/cs_r-zluT1-ywXzUeJf4jQ) - [ActionBar/Toolbar/StatusBar(舊)](/orfu50xPT0aZUGl7z6TxhA) - [SeekBar](/tV4UwAMtQg21_iFWxoYzGA) - [RatingBar](/QIpCrBjZR6GUcrENUDeM1w) - [CardView](/9ctBveFjTZObVMi5tcV9hw) - [SearchView](/8VvmeLGjRJG4UpykDYej3Q) - [ClipDrawable](/LIWKdKEGRAOO3_F7WIt03Q) - [TextView](/83YqBwOcSo2J3UtxBBcmQA) - [使用 HTML格式 設定 TextView 中的文字](/Im-rTDQUQKeZZo-ebA1QBQ) - [使用 Typeface 引入外部字型](/nMy0sRF5ShSBxacxXhW1Dg) - [EditText](/Xl_06rWITTmASaFJ2WqEsg) - [TextInputLayout](/I9NbEuqIR1SqXLwQfdym2Q) - [AutoCompleteTextView](/ksGdoafhS7W2jWSavN4M7w) - [Spinner](/bqt2Dxa3S7CmsozDNpztBA) - [Keyboard](/1qW615DYQA2r50oOBlIHlw) 進階元件使用 --- - [WebView](/LwBzESxnR3yYACr4WRntmA) - [加入應用程式圖示計數 (App Badge Count)](/AVuVNY3uSy6B0lyY0YISrw) - [Shape](/aee_5QbbQ-uLOaNyKKbbAQ) - [選擇器 (Selector)](/3_7BIvleS2S8mqnTzrnL3g) - [AutoCompleteTextView](/ksGdoafhS7W2jWSavN4M7w) - [Fragment](/RWXRrBAfSzapEZzbKL1GyQ) - [Activity 與 Fragment 溝通](/C7if_7XLRAO05z4RJJNyMA) - [ViewPager](/r3AK0oUmSfG54PtcL3dwuw) - [使用 ViewPager 實作常見的教學說明](/aiqdiq0KS9yM91N6IngBDA) - [RecyclerView](/Omky9db3RPmstek3PY29cQ) - [ListView 的 Adapter 模板](/4Hp8LGQMTruLQUFiA-4-hA) - [ExpandableListView](/2qIEXBlaQ8G4MsxBRygcUg?both) - [Notification](/pYjEEMv4SvOYkjjkfDZHMA) - [創建通知(Notification)](/-NVaDdvaRrarzEsaA3cfwg) - [Application](/-ZP9FzfvSxiaA9qMJAukkg) - [Context](/5n6iBRCmRyWGGjTWz75eYA) 客製化元件 --- - [客製化原生的 Progressbar](/GlBj4D0GQAKPRhheVgMK7A) - [客製化 View](/DlnmTzWyQqypGzRm5wetnw) - [利用 ViewGroup 元件組合成新的元件](/gSFEmv9GSciyT2RktTYnKg) 行程中通信 --- - [EventBus](/UBOiDqyOScK1ijJhkFvupA) - [Intent](/CefUR5I1Rr2yDRpaUlUuNg) - [IntentFilter](/I-vBHTRhS5mmpgeuq3l_7g) - [隱含意圖(Implicit Intent)](/rCvOOIaeTB6eRHhEwexqqg) - [利用 Intent 傳遞序列化物件](/iQDY7BagT5O5EQhUIQxYag) - [開啟特定Android應用程式](/QxCSnqtdQ7S99qX3CIBSGw) - [由網頁開啟Activity](/Q44hXSuKREyjt1nc7CqYzA) - [廣播](/W1XhRd9VSCC1XGQ-Cpu3Bg) - [系統廣播監聽](/XINdhW5aRru4AL-cNIwopA) 背景工作/執行緒 --- - [Android 異步處理](/FVs4vDX0SYSrKgbuUPX9EA?both) - [Thread & Handler](/dMbjD70RS8egaI1emo7WWA) - [HandlerThread](/Dow5i6qiRo27O1VwJ8u12w) - [ExecutorService](/fR49mku6TSqZEH0wy_gUZQ) - [IntentService](/vJ2mtnJpQa6m7ABR5lMVxg) - [AsyncTask](/uzp18MR0QQiVP0pGPhWTeQ) - [AsyncTaskLoader](/QQxul2lES2C4FuPZtSKvdQ) - [執行緒安全的鎖定機制](/81Tx-4ItR7ioqC3B8-05bg) 儲存/資料庫 --- - [儲存資料及檔案](/YSzWd9IJQ9Ch5nLq-YzdxQ) - [儲存應用專屬資料](/i6I3w4-eS0C9S3zHP_zpKA) - [SharedPreference](/ND27yqoZSQ2e5qcnpoMueQ) - 資料庫 - [SQLite](/qNMXho2MThSbmA9fYjnStQ) - [Room](/te7h7hrjSHuYDdJsJ6ud6Q) - [Room + LiveData](/J_RIVKHoT_CzwHiMLooYcQ) - [Realm](/-O3H-FlwRNuK3K0bec2r4g) 安全性 --- - [Hashing and Encryption in Java & Android](/JvkwQgVsTu2mFIqzBDYyQQ) - [使用應用程式權限 (Permission)](/Ydsq6BK9So2SZQvtkRr56g) - [Facebook Conceal](/R7hQsQWQSBKMxqrt-K5_sg) - [Proguard](/pEipD6LRQWabJRfF69EIqg) - [Intent 造成漏洞](/-xvQd8mFSomQ3zEDbdcjKw) 裝置狀態 --- - [手機螢幕及操作狀態偵測](/NQ_-1KdRSVqLBCKBF0S38w?both) - [取得 Android 手機 Host、IP Address、MAC Address](/RQYi_j3nQ-yyjNV2Eg1wkQ) 網路 --- - [HttpURLConnection](/ZnT637WlSFCcXiB8HCMAoA) - [使用 HttpsURLConnection 進行 HTTPS 證書校驗](/sF7CiXYUTBWYg9vfIZ660w) - [OkHttp](/2s0UvJc8TGCGemCN1wFAug) - [Retrofit](/yxdJgU2fQU6fQ5twjbEhxg) - [Volley](/B9TgZ6CtQVqma7X8zRHk6A) - [HTTP操作框架](/sBDg_KuXSoCJEH6Gfm369Q) - [AndroidLib HTTP 篇](/ZwGti0hbTGycFkWTt2WMpA) - [Android網路底層框架設計(Deprecated)](/EtmURcBqReCcK5q0DYYDzQ) JSON --- - [Gson](/Y5Hs9AXMR0uszO4Yoylagw) 位置 --- - [Location API](/0CmeLkAwTna7Z5ly6SAvjQ) - [Geofence 地理圍籬](/Fm7sSSmMSyesIeOyAPsPeA) 相機 --- - [相機](/58ZTgRS0RESfH3CAUBScwQ) 藍芽 --- - [藍芽傳輸基本操作](/lXSDLO3RTPiSpsjyOWkN5A) - [低功率藍牙 (BLE, Bluetooth Low Energy) Android API](/m3lpl2Y8SSOgqBXGr0rZlA) - [使用啟動式服務實作 BLE 應用](/MUfPvJmdTC-1G6pTwfb5SQ?view) Wi-Fi --- - [Wi-Fi資訊](/AaOAPwkUTrq6AgekHeZALA) P2P --- - [TUTK P2P] IO --- - [QRCode/BarCode 掃描 --- Zxing](/Br4CE_C5TRSUCVyZRZ2A4Q) Android 應用程式架構 --- - MVP - [Android MVP 架構說明](/wGHyabAOQ5aHbFgTd9YcRQ) - [Android MVP 的五四三](/wg4rWKTUS0quNW9cD3MlZw) - MVVM - [Android MVVM - ObservableData & DataBinding](/yhyTkK6CRziLp3k2m-vqCA) - [Android MVVM - LiveData](/g1sOh3adTOKQVJMTaR12Gw?view) - [Android MVVM - RecyclerView](/6-vz5HmxRpO1mpph_7I79A) - Android Jetpack - [Lifecycle](/2m98Zx6-RUuUD7ycU9LuWA) - 第三方框架組合 - [Retrofit 2 + OkHttp + RxJava 框架組合](/WoChhK6OS3WdZHo4anWCNA) 響應式框架 --- - [RxJava / RxAndroid](/Nk1JsbsKSEaVGbCjKZgP1g?both) - [RxBinding](/83Qx07UiSr6ca5p_gzg-FQ) 結合原生 --- - [在Android使用原生方法 - JNI & NDK](/oO5WMSs0S5KhiUiqQGXYbA) 效能 --- - [Android中的記憶體洩漏 (Memory Leak)](/5EMpYFeuS3e7ZsEMYQQb1A) - [任務與返回堆疊](/QZbHQCjTQbKpHwPapJTLlg) - [資料類型安全轉換函數](/uF5aytX4RMOU5FqiQqgUzg) - [Android 開發優化建議](/QlqjQGzZQEqzHRVsUvEjeg) 依賴注入 --- - [Dagger 2](/2-MLMRHGSP2NDsx0rSmbWw?view) - [MVP + Dagger2](/phGnQkLKSJeWzJ1VS9LTdA) 兼容性 --- - [支援繁體中文顯示](/_qQl68zSTF2CRChqSBXKGQ) 多媒體影音 --- - [MediaPlayer](/gvdLz8-aT526ruyA3bG6xA) - [VideoView](/Q93N-N-ZTJiHwg4ajeL2gA) - [AudioRecord 錄製音訊](/fb-_oG3UQtWpPzcbOqJyeA) 圖像載入 --- - [Glide](/_bRmdCX7SPmVV7JaISMVaA) - [由 LRUCache 實現 ImageCacheLoader](/ymhMrKirQduZ8cFyRhPY3w) 圖像處理 --- - [Bitmap](/3w29N5j7RIS7QsBJXCtv_g) - [Android 繪製 Bitmap](/hzKW_CUSTOauzPsmzEyKcA) - [FFmpeg](/xlLMy1UnRVGB3fwc5kX3OA) 測試 --- - [Log 日誌](/nf8BViYZQLyycXLk1f5axA) - [單元測試 - JUnit](/nICxqeaJSJaLOu0lpghF8w) - [UI測試 - Espresso](/P6I4wDfxR_uYCxsA0U_TPQ) 上架 --- - [Mobile App 上架至 Google Play / App Store 流程](/xzUiN1V6S4y3zegQHpQYwQ?both) - [Android App 上架 Google Play 流程](/bA0Psn4pQvGNqsxC7T3W3Q) 持續整合 --- - [Jenkins CI for APK Test Distribution](/CFhuaKd0SG-KdFQ280PLyA) 工具 --- - [Android Studio 快捷開發 - 使用 Live Templates](/v8QvXwpBRvSflBaxG8P7nw) - [Postman](/@x9sxuxA_SAq19tyQUMOTyQ/HyoKwlQZ8) - [RESTful API 測試 - JSON Placeholder](/B31sRHGkQzSdpljt5BgSVg) - [HTTP 測試好工作 - httpbin](/f1pDDrIwTKGIYp_azOlS_w) - [第三方偵錯框架](/nQWE-MRRTPSRG7GR7moc0w) 建造應用程式 --- - [配置建造 Android 應用程式 - Gradle](/bjXbKhGqTsa608SYlxJOQA) - [Gradle Wrapper (gradlew)](/Pro507K0Tdi9ogXiEQIdXQ) - [Product Flavors 的實際應用](/6WHWLb-lQ2WiebSCiGNpSQ) 學習規劃 --- - [Android手機應用工程師知識點](/84L0HSNCTe-Dreb__bzfxg) 經典面試題目 --- - [大廠的Android面試題整理](/AyIgZwltQ169MTW0PmJSBQ) 軟體設計 --- - [物件導向設計原則](/g0-UtpbuSUKHz2DRuOYzqA) - [Effective Java](/NeuGpY5SRaW0Nxh25VH-tA) - [Android 應用程式模組架構 (未完成)](/l2eiBMVNTE6d52jTgAC4Tw) Kotlin --- - [Kotlin](/n0sOHhzLR_muMPVW3t1huA?view) - [使用 Kotlin 設計 MVP](/mSBBBMJrReSPp_phXHr2bw) 版本控管 --- - [Git 使用方式](/2u9xE6uVT66FFpbb3mvfGQ) - [Git 常用指令](/NSi1rREHSHal6LJqK5HLMQ) - [gitignore 模板](/wZMdOtL2QJ2GwFs1LQNRbw) - [Git Flow](/Kob8AjpKRL28OaLwhC2SOw) 專案管理 --- - [App Version Naming Rule](/aST7CE2DRjaq2KnSUfbH-Q) - [Android Development Naming Convention](/sprVhfdERZiWUEkpt88jAg) - [App Release Note Template](/cnhRhS3GT0yt0zcMONEPHg) 雲端服務開發平台 --- - Firebase - [Firebase Cloud Messaging (FCM)](/mp_uVtGxQteQcV87YdVcWQ)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully