مجموعه‌ای از نمونه‌های کد و قالب‌ها که می‌توانید از آنها برای تسریع توسعه برنامه خود استفاده کنید. برای یادگیری نحوه ساخت اجزای مختلف برای برنامه های خود، نمونه ها را مرور کنید.

فیلتر کردن براساس

زبان
موضوع

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
متوسط
  • 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
  • معماری Android
  • پیمایش Jetpack Compose
  • تولید حالت واسط کاربر Android
  • آزمایش Android
  • حالت و معماری Jetpack Compose
  • رویدادهای واسط کاربر معماری Android
  • نگهدارنده‌های حالت واسط کاربر Android
  • لایه داده‌ای معماری 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
متوسط

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
متوسط

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
  • Kotlin

This sample showcases the following features of the Data Binding library with an app that shows a workout timer. Two-way Data Binding Alternatives to Two-way Data Binding Binding adapters with multiple parameters Animations with Binding

  • معماری Android
  • Kotlin
متوسط

This sample showcases the following features of the Data Binding library: Layout variables and expressions Observability through Observable Fields, LiveData and Observable classes Binding Adapters, Binding Methods and Binding Converters Seamless

  • معماری Android
  • Kotlin
متوسط

This sample demonstrates how to use the Downloadable Fonts feature introduced in Android O. Downloadable Fonts is a feature that allows apps to request a certain font from a provider instead of bundling it or downloading it themselves. This means,

  • FontRequest
  • FontRequest
  • FontsContractCompat
  • FontsContractCompat
  • بازدیدهای واسط کاربر Android
  • واسط کاربر
  • Kotlin
متوسط

⚠️⚠️⚠️ Caution: the androidx.emoji:emoji library is deprecated in favor of androidx.emoji2:emoji2, which provides integration into androidx.appcompat. To support modern emoji and simplify backward-compatibility with lower versions of Android, it's

  • EmojiCompat
  • BundledEmojiCompatConfig
  • FontRequestEmojiCompatConfig
  • FontRequest
  • EmojiAppCompatTextView
  • EmojiAppCompatEditText
  • EmojiAppCompatButton
  • EmojiTextViewHelper
  • بازدیدهای واسط کاربر Android
  • واسط کاربر
  • Kotlin
متوسط

"Immersive mode" is intended for apps in which users will be heavily interacting with the screen. With this API, apps can hide the status bar, the navigation bar, or both. When users need to bring back the system bars, they swipe from any edge where

  • بازدیدهای واسط کاربر Android
  • واسط کاربر
  • Kotlin

This sample app demonstrates how to use the Cookie API. It contains storage and retrieval of values using both, the Android Framework API and the InstantApps Play Services API. Usage This API is available to both, the Instant App as well as the

  • ساخت Android
  • Kotlin
پیشرفته

This sample app demonstrates how to use the Install API. The API triggers Intent to install the app on device. The call also accepts Intent, which is triggered after the installation is complete. If an app wants to utilize this API, it needs an

  • ساخت Android
  • Kotlin
پیشرفته

This sample app demonstrates how to use the Storage API. It is relevant to devices running on Android versions lower than API level 26. On devices running on API level 26 or higher, the Android framework takes care of migrating user data from instant

  • ساخت Android
  • Kotlin
پیشرفته

This sample demonstrates how to use Android's MediaStore to locate and display the users images in a RecyclerView.

  • ContentResolver
  • MediaStore
  • فضای ذخیره‌سازی Android
  • فضای ذخیره‌سازی
  • Kotlin
متوسط

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

  • PdfRenderer
  • گرافیک‌ها
  • گرافیک Android
  • Kotlin
مبتدی

This sample demonstrates basic usage of Picture-in-Picture mode for handheld devices. The sample plays a video. The video keeps on playing when the app is turned in to Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action

  • PictureInPictureParams
  • RemoteAction
  • PendingIntent
  • MediaSessionCompat
  • دوربین و رسانه Android
  • رسانه
  • Kotlin
پیشرفته

This repository contains a collection of samples that demonstrate the use of different Android OS platform APIs. The samples are organized into folders by topic, and each folder contains a README file that provides more information about the samples

  • دسترس‌پذیری Jetpack Compose
  • Connectivity
  • دوربین
  • واسط کاربر
  • اجازه‌ها
  • Kotlin
متوسط

This application implements a RecyclerView in Kotlin with ListAdapter, onClickListener and Headers. If you are looking for a simpler sample, look at the RecyclerViewSimple sample in the directory.

  • RecyclerView
  • LayoutManager
  • ViewHolder
  • بازدیدهای واسط کاربر Android
  • Kotlin
متوسط
برجسته
Now in Android یک برنامه اندروید کاملاً کاربردی است که با Kotlin و Jetpack Compose ساخته شده است. این بهترین شیوه های طراحی و توسعه اندروید را مدل می کند و به گونه ای طراحی شده است که مرجع مفیدی برای توسعه دهندگان باشد.