앱 개발을 가속화하는 데 사용할 수 있는 코드 샘플 및 템플릿 모음입니다. 샘플을 탐색하여 애플리케이션에 맞게 다양한 구성요소를 빌드하는 방법을 알아보세요.

필터링 기준

언어
주제

This sample demonstrates how to display PDF document on screen using the PdfRenderer introduced in Android 5.0 Lollipop.

  • ContentResolver
  • DocumentsContract
  • PdfRenderer
  • Android 저장용량
  • 스토리지
  • Kotlin
중급

A proof of concept file manager utilizing the ACTION_OPEN_DOCUMENT_TREE intent introduced with Android 5.0, API level 21.

  • ContentResolver
  • DocumentsContract
  • Android 저장용량
  • 스토리지
  • Kotlin
중급

This sample shows how to use scene transitions from one Activity to another in Lollipop. Uses a combination of changeImageTransform and changeBounds to transition a grid of images to an Activity with a large image and detail text.

  • Transition
  • ActivityOptions
  • Android UI 뷰
  • 자바
중급
  • app
  • localstorage
  • Kotlin
중급

These samples showcase different architectural approaches to developing Android apps. In its different branches you'll find the same app (a TODO app) implemented with small differences. In this branch you'll find: User Interface built with Jetpack

  • Android 아키텍처 UI 레이어
  • Android 아키텍처
  • Jetpack Compose 탐색
  • Android UI 상태 생성
  • Android 테스트
  • Jetpack Compose 아키텍처 및 상태
  • Android 아키텍처 UI 이벤트
  • Android UI 상태 홀더
  • Android 아키텍처 데이터 레이어
  • Jetpack Compose 테스트
  • Kotlin
중급

Features This sample showcases the behavior of a bottom navigation view following the Principles of Navigation. Fixed start destination Navigation state should be represented via a stack of destinations The Up button never exits your app Up and Back

  • 아키텍처
  • Android 아키텍처
  • Kotlin
중급

This sample showcases the following Architecture Components: Room ViewModels LiveData

  • 아키텍처
  • Android 아키텍처
  • 자바
고급

This sample showcases the following Architecture Components: Paging Room ViewModels LiveData

  • 아키텍처
  • Android 아키텍처
  • 자바
고급

This sample demonstrates the use of the Autofill Framework. It includes implementations of client Activities with views that should be autofilled, and a Service that can provide autofill data to client Activities.

  • View
  • AutoFillService
  • AutoFillManager
  • Android UI 뷰
  • 자바
고급

This sample detects gestures on a view and logs them. In order to try this sample out, try dragging or tapping the text.

  • GestureDetector
  • MotionEvent
  • Android UI 뷰
  • 자바
중급

This sample shows how to use the MediaCoder to decode a video, use a TimeAnimator to sync the rendering commands with the system display frame rendering and finally render it to a TextureView.

  • MediaCodec
  • MediaExtractor
  • TimeAnimator
  • 미디어
  • Android 카메라 및 미디어
  • 자바
고급

This sample demonstrates the use of the MediaRouter API to display content on a secondary display. Use the "Media Route Action Item" in the ActionBar to select an output device. If your device supports Miracast wireless displays, you may need to

  • Android 카메라 및 미디어
  • 미디어
  • 자바

Sample demonstrates the use of MotionEvent properties to keep track of individual touches across multiple touch events.

  • MotionEvent
  • Android UI 뷰
  • 자바
중급

This sample demonstrates using RenderScript to perform basic image manipulation. Specifically, it allows users to dynamically adjust the saturation for an image using a slider. A custom RenderScript kernel performs the saturation adjustment, running

  • RenderScript
  • Allocation
  • Android NDK 및 게임
  • 자바
전문가

A basic app showing how to use the Transition framework introduced in KitKat. The app shows radioboxes to select between different Scenes, and uses various ways to transition between them.

  • TransitionManager
  • Transition
  • Scene
  • Android UI 뷰
  • 자바
고급

Sample demonstrating how to set up SensorEventListeners for step detectors and step counters.

  • Sensor
  • SensorEvent
  • SensorEventListener
  • SensorManager
  • 센서
  • 자바
고급

A sample that demonstrates to use registered fingerprints to authenticate the user in your app

  • FingerprintManager
  • AuthenticationCallback
  • CryptoObject
  • KeyGenParameterSpec
  • KeyStore
  • Cipher
  • KeyGenerator
  • 보안
  • Android 보안 및 개인 정보 보호
  • Kotlin
중급

Sample for the Androidx Biometrics Library

  • BiometricManager
  • BiometricPrompt
  • 보안
  • Android 보안 및 개인 정보 보호
  • Kotlin
중급

Sample demonstrating how to advertise small amounts of data using the Bluetooth Low Energy API. Also demonstrates how to scan for those Advertisements. (requires 2 devices to see full operation)

  • BluetoothLeAdvertiser
  • BluetoothLeScanner
  • Android 연결
  • 연결
  • 자바
고급

This sample demonstrates using the Camera2 API to capture a JPEG, DEPTH or RAW frame. Check the source code to see a simple example of how to display the camera preview and capture a still image using the default configuration with the selected pixel

  • DngCreator
  • Android 카메라 및 미디어
  • 카메라
  • Kotlin
중급

This sample captures high-speed video via the Camera2 API including displaying a camera preview and capturing a high-speed (slow motion) video using repeating burst capture requests.

  • camera2
  • CameraConstrainedHighSpeedCaptureSession
  • Android 카메라 및 미디어
  • 카메라
  • Kotlin
중급

This sample captures video record via the Camera2 API including displaying a camera preview and capturing a high-speed (slow motion) video using repeating capture requests.

  • camera2
  • MediaRecorder
  • Android 카메라 및 미디어
  • 카메라
  • Kotlin
중급

This sample demonstrates how to use CardView introduced in the support library in Android 5.0.

  • Android UI 뷰
  • 자바

This sample demonstrates how to use CardView introduced in the support library in Android 5.0.

  • Android UI 뷰
  • Kotlin
추천
Now in Android는 완전한 기능을 갖춘 Android 앱으로 Kotlin과 Jetpack Compose로 빌드되었습니다. 이 앱은 Android 설계 및 개발 권장사항을 모델링하며 개발자에게 유용한 참고 자료가 되도록 설계되었습니다.