• Home

Android

Android 開發 – Fragment – 基本用法 2:使用 FragmentManager 動態調整 Fragment

概述 除了直接編輯 layout xml 檔,靜態的設定 fragment 之外,還可以使用 Fragment... » read more

0
Read
kirin written 2 天 ago
Android 開發 – Fragment – 基本用法 1:以靜態的方式加入 Fragment

概述 編輯 activity 的 layout xml 來指定要加入的 fragment 是使用上最基本的方式... » read more

0
Read
kirin written 2 天 ago
Android 開發 – Logging – Timber 基本用法

Timber 概述 Timber 是由 Jake Wharton 開發的函式庫,用來取代內建的 Log。 內建... » read more

0
Read
kirin written 1 週 ago
Android 開發 – 初探 view model

最後更新日期:2023 年 03 月 24 日 View model 的用途 1、將商業邏輯從 Activit... » read more

0
Read
kirin written 2 週 ago
Android – 初探 KTX

KTX 簡介 KTX 代表 Kotlin extension,有很多使用 Java 寫的 Library 是沒... » read more

0
Read
kirin written 2 週 ago
Android – context 是什麼?如何取得 context?

context 是什麼? context , 中文可翻譯為:背景、環境、上下文、語境,其實就是指 app 的運... » read more

0
Read
kirin written 4 週 ago
Android – 使用 Activity Result API 來取得 Activity 的結果

概述 早期我們會用 startActivityForResult() 配合 onActivityResult(... » read more

0
Read
kirin written 5 個月 ago
Android – 跨 app 共享數據機制 (2) – ContentResolver 使用範例 – 存取聯絡人 (Contacts) 資料

相關知識 權限宣告與請求 CONTACTS 屬於危險權限,所以除了要在 AndroidManifest.xml... » read more

0
Read
kirin written 5 個月 ago
Android – 跨 app 共享數據機制 (1) – ContentProvider and ContentResolver 概述

前言 在 app 的開發過程中,我們有時會需要存取其他 app 的資料,例如:通訊錄、相片、文件…等,也有可能... » read more

0
Read
kirin written 5 個月 ago
Android – 權限 (Permission) – 以撥打電話為例

最後更新日期:2023 年 03 月 16 日 權限概述 權限 (Permission)機制有兩個主要的用途:... » read more

0
Read
kirin written 5 個月 ago
Page navigation
  • 1 / 2
  • Current Page 1
  • Page 2
  • Next ›
Copyright © 2023 Kirin App. All rights reserved. Theme by Mynote.