বৈশিষ্ট্য এবং API

অ্যান্ড্রয়েড ১৬ ডেভেলপারদের জন্য দারুণ কিছু নতুন ফিচার এবং এপিআই নিয়ে এসেছে। নিচের বিভাগগুলোতে এই ফিচারগুলোর সংক্ষিপ্ত বিবরণ দেওয়া হলো, যা আপনাকে সংশ্লিষ্ট এপিআইগুলো ব্যবহার শুরু করতে সাহায্য করবে।

নতুন, পরিবর্তিত এবং অপসারিত API-গুলির বিস্তারিত তালিকার জন্য API diff report পড়ুন। নতুন API-গুলির বিশদ বিবরণের জন্য Android API reference দেখুন — নতুন API-গুলি সহজে চোখে পড়ার জন্য হাইলাইট করা থাকে।

প্ল্যাটফর্মের পরিবর্তন আপনার অ্যাপগুলোকে প্রভাবিত করতে পারে এমন ক্ষেত্রগুলোও পর্যালোচনা করা উচিত। আরও তথ্যের জন্য, নিম্নলিখিত পৃষ্ঠাগুলো দেখুন:

মূল কার্যকারিতা

অ্যান্ড্রয়েডে নতুন এপিআই অন্তর্ভুক্ত করা হয়েছে, যা অ্যান্ড্রয়েড সিস্টেমের মূল সক্ষমতাগুলোকে প্রসারিত করে।

২০২৫ সালে দুটি অ্যান্ড্রয়েড এপিআই রিলিজ

  • This preview is for the next major release of Android with a planned launch in Q2 of 2025. This release is similar to all of our API releases in the past, where we can have planned behavior changes that are often tied to a targetSdkVersion.
  • We're planning the major release a quarter earlier (Q2 rather than Q3 in prior years) to better align with the schedule of device launches across our ecosystem, so more devices can get the major release of Android sooner. With the major release coming in Q2, you'll need to do your annual compatibility testing a few months earlier than in previous years to make sure your apps are ready.
  • We plan to have another release in Q4 of 2025 which also will include new developer APIs. The Q2 major release will be the only release in 2025 to include planned behavior changes that could affect apps.

In addition to new developer APIs, the Q4 minor release will pick up feature updates, optimizations, and bug fixes; it will not include any app-impacting behavior changes.

Timeline view of Android releases in 2025, noting that the 25Q2
       release is a major release and the 25Q4 release is a minor release.

We'll continue to have quarterly Android releases. The Q1 and Q3 updates in-between the API releases will provide incremental updates to help ensure continuous quality. We're actively working with our device partners to bring the Q2 release to as many devices as possible.

Using new APIs with major and minor releases

Guarding a code block with a check for API level is done today using the SDK_INT constant with VERSION_CODES. This will continue to be supported for major Android releases.

if (SDK_INT >= VERSION_CODES.BAKLAVA) {
  // Use APIs introduced in Android 16
}

The new SDK_INT_FULL constant can be used for API checks against both major and minor versions with the new VERSION_CODES_FULL enumeration.

if (SDK_INT_FULL >= VERSION_CODES_FULL.[MAJOR or MINOR RELEASE]) {
  // Use APIs introduced in a major or minor release
}

You can also use the Build.getMinorSdkVersion() method to get just the minor SDK version.

val minorSdkVersion = Build.getMinorSdkVersion(VERSION_CODES_FULL.BAKLAVA)

These APIs have not yet been finalized and are subject to change, so please send us feedback if you have any concerns.

ব্যবহারকারীর অভিজ্ঞতা এবং সিস্টেম UI

অ্যান্ড্রয়েড ১৬ অ্যাপ ডেভেলপার এবং ব্যবহারকারীদের নিজেদের প্রয়োজন অনুযায়ী ডিভাইস কনফিগার করার ক্ষেত্রে আরও বেশি নিয়ন্ত্রণ ও নমনীয়তা প্রদান করে।

অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি

অ্যান্ড্রয়েড 16 প্রগতি-কেন্দ্রিক বিজ্ঞপ্তিগুলি প্রবর্তন করে যাতে ব্যবহারকারীদের নির্বিঘ্নে ব্যবহারকারী-প্রবর্তিত, শুরু থেকে শেষ পর্যন্ত যাত্রা ট্র্যাক করতে সহায়তা করে।

Notification.ProgressStyle হল একটি নতুন বিজ্ঞপ্তি শৈলী যা আপনাকে অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি তৈরি করতে দেয়। মূল ব্যবহারের ক্ষেত্রে রাইডশেয়ার, ডেলিভারি এবং নেভিগেশন অন্তর্ভুক্ত। Notification.ProgressStyle ক্লাসের মধ্যে, আপনি পয়েন্ট এবং সেগমেন্ট ব্যবহার করে ব্যবহারকারীর যাত্রায় রাজ্য এবং মাইলফলক নির্দেশ করতে পারেন।

আরও জানতে, অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি ডকুমেন্টেশন পৃষ্ঠা দেখুন।

লকস্ক্রীনে প্রদর্শিত একটি অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি।
বিজ্ঞপ্তি ছায়ায় প্রদর্শিত একটি অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি৷

পূর্বাভাসমূলক ব্যাক আপডেট

Android 16 adds new APIs to help you enable predictive back system animations in gesture navigation such as the back-to-home animation. Registering the onBackInvokedCallback with the new PRIORITY_SYSTEM_NAVIGATION_OBSERVER allows your app to receive the regular onBackInvoked call whenever the system handles a back navigation without impacting the normal back navigation flow.

Android 16 additionally adds the finishAndRemoveTaskCallback() and moveTaskToBackCallback. By registering these callbacks with the OnBackInvokedDispatcher, the system can trigger specific behaviors and play corresponding ahead-of-time animations when the back gesture is invoked.

আরও সমৃদ্ধ হ্যাপটিক্স

অ্যান্ড্রয়েড তার শুরু থেকেই হ্যাপটিক অ্যাকুয়েটরের উপর নিয়ন্ত্রণ প্রকাশ করেছে।

অ্যান্ড্রয়েড 11 আরও জটিল হ্যাপটিক প্রভাবগুলির জন্য সমর্থন যোগ করেছে যা আরও উন্নত অ্যাকুয়েটর VibrationEffect.Compositions মাধ্যমে সমর্থন করতে পারে৷ ডিভাইস-সংজ্ঞায়িত শব্দার্থিক আদিম উপাদানগুলির রচনা৷

অ্যান্ড্রয়েড 16 হ্যাপটিক এপিআই যুক্ত করে যা অ্যাপগুলিকে হ্যাপটিক প্রভাবের প্রশস্ততা এবং ফ্রিকোয়েন্সি বক্ররেখা নির্ধারণ করতে দেয় এবং ডিভাইসের ক্ষমতার মধ্যে পার্থক্যগুলিকে বিমূর্ত করে।

ডেভেলপারদের উৎপাদনশীলতা এবং সরঞ্জাম

আপনার কর্মদক্ষতা বাড়ানোর জন্য আমাদের বেশিরভাগ কাজ অ্যান্ড্রয়েড স্টুডিও , জেটপ্যাক কম্পোজ এবং অ্যান্ড্রয়েড জেটপ্যাক লাইব্রেরির মতো টুলগুলোকে কেন্দ্র করে হলেও, আমরা প্ল্যাটফর্মের মধ্যেই আপনার স্বপ্নকে বাস্তবে রূপ দেওয়ার উপায় সবসময় খুঁজে থাকি।

লাইভ ওয়ালপেপারের জন্য বিষয়বস্তু পরিচালনা

অ্যান্ড্রয়েড 16-এ, লাইভ ওয়ালপেপার ফ্রেমওয়ার্ক গতিশীল, ব্যবহারকারী-চালিত ওয়ালপেপারগুলির চ্যালেঞ্জ মোকাবেলায় একটি নতুন সামগ্রী API অর্জন করছে। বর্তমানে, ব্যবহারকারী-প্রদত্ত বিষয়বস্তু অন্তর্ভুক্ত লাইভ ওয়ালপেপারগুলির জন্য জটিল, পরিষেবা-নির্দিষ্ট বাস্তবায়ন প্রয়োজন। Android 16 WallpaperDescription এবং WallpaperInstance প্রবর্তন করেছে। WallpaperDescription আপনাকে একই পরিষেবা থেকে একটি লাইভ ওয়ালপেপারের স্বতন্ত্র উদাহরণ সনাক্ত করতে দেয়। উদাহরণ স্বরূপ, হোম স্ক্রীন এবং লক স্ক্রীন উভয় ক্ষেত্রেই উদাহরণ রয়েছে এমন একটি ওয়ালপেপার উভয় স্থানেই অনন্য সামগ্রী থাকতে পারে। ওয়ালপেপার বাছাইকারী এবং WallpaperManager ব্যবহারকারীদের কাছে ওয়ালপেপারগুলিকে আরও ভালভাবে উপস্থাপন করতে এই মেটাডেটা ব্যবহার করে, আপনার জন্য বিভিন্ন এবং ব্যক্তিগতকৃত লাইভ ওয়ালপেপার অভিজ্ঞতা তৈরি করার প্রক্রিয়াটিকে সুগম করে৷

কর্মক্ষমতা এবং ব্যাটারি

অ্যান্ড্রয়েড ১৬-এ এমন এপিআই চালু করা হয়েছে যা আপনার অ্যাপগুলো সম্পর্কে তথ্য সংগ্রহ করতে সাহায্য করে।

সিস্টেম-ট্রিগারড প্রোফাইলিং

ProfilingManager was added in Android 15, giving apps the ability to request profiling data collection using Perfetto on public devices in the field. However, since this profiling must be started from the app, critical flows such as startups or ANRs would be difficult or impossible for apps to capture.

To help with this, Android 16 introduces system-triggered profiling to ProfilingManager. Apps can register interest in receiving traces for certain triggers such as cold start reportFullyDrawn or ANRs, and then the system starts and stops a trace on the app's behalf. After the trace completes, the results are delivered to the app's data directory.

ApplicationStartInfo-তে স্টার্ট কম্পোনেন্ট

ApplicationStartInfo Android 15-এ যোগ করা হয়েছিল , একটি অ্যাপকে প্রক্রিয়া শুরু, শুরুর ধরন, শুরুর সময়, থ্রোটলিং এবং অন্যান্য দরকারী ডায়গনিস্টিক ডেটার কারণগুলি দেখতে দেয়৷ অ্যান্ড্রয়েড 16 যোগ করে getStartComponent() কোন কম্পোনেন্ট টাইপ স্টার্টটিকে ট্রিগার করেছে তা আলাদা করতে, যা আপনার অ্যাপের স্টার্টআপ ফ্লো অপ্টিমাইজ করার জন্য সহায়ক হতে পারে।

কাজের আরও ভালো আত্মদর্শন

The JobScheduler#getPendingJobReason() API returns a reason why a job might be pending. However, a job might be pending for multiple reasons.

In Android 16, we are introducing a new API JobScheduler#getPendingJobReasons(int jobId), which returns multiple reasons why a job is pending, due to both explicit constraints set by the developer and implicit constraints set by the system.

We're also introducing JobScheduler#getPendingJobReasonsHistory(int jobId), which returns a list of the most recent constraint changes.

We recommend using the API to help you debug why your jobs may not be executing, especially if you're seeing reduced success rates of certain tasks or have bugs around latency of certain job completion. For example, updating widgets in the background failed to occur or prefetch job failed to be called prior to app start.

This can also better help you understand if certain jobs are not completing due to system defined constraints versus explicitly set constraints.

অভিযোজিত রিফ্রেশ রেট

Adaptive refresh rate (ARR), introduced in Android 15, enables the display refresh rate on supported hardware to adapt to the content frame rate using discrete VSync steps. This reduces power consumption while eliminating the need for potentially jank-inducing mode-switching.

Android 16 introduces hasArrSupport() and getSuggestedFrameRate(int) while restoring getSupportedRefreshRates() to make it easier for your apps to take advantage of ARR. RecyclerView 1.4 internally supports ARR when it is settling from a fling or smooth scroll, and we're continuing our work to add ARR support into more Jetpack libraries. This frame rate article covers many of the APIs you can use to set the frame rate so that your app can directly use ARR.

ADPF-এ হেডরুম এপিআই

The SystemHealthManager introduces the getCpuHeadroom and getGpuHeadroom APIs, designed to provide games and resource-intensive apps with estimates of available CPU and GPU resources. These methods offer a way for you to gauge how your app or game can best improve system health, particularly when used in conjunction with other Android Dynamic Performance Framework (ADPF) APIs that detect thermal throttling.

By using CpuHeadroomParams and GpuHeadroomParams on supported devices, you can customize the time window used to compute the headroom and select between average or minimum resource availability. This can help you reduce your CPU or GPU resource usage accordingly, leading to better user experiences and improved battery life.

প্রবেশগম্যতা

অ্যান্ড্রয়েড ১৬-এ নতুন অ্যাক্সেসিবিলিটি এপিআই এবং ফিচার যুক্ত করা হয়েছে, যা আপনার অ্যাপকে প্রতিটি ব্যবহারকারীর কাছে পৌঁছে দিতে সাহায্য করবে।

উন্নত অ্যাক্সেসিবিলিটি এপিআই

Android 16 অতিরিক্ত API যোগ করে UI শব্দার্থবিদ্যাকে উন্নত করতে যা ব্যবহারকারীদের জন্য ধারাবাহিকতা উন্নত করতে সাহায্য করে যারা অ্যাক্সেসিবিলিটি পরিষেবার উপর নির্ভর করে, যেমন TalkBack

সর্বাধিক টেক্সট কনট্রাস্টের জন্য রূপরেখা পাঠ্য

কম দৃষ্টিসম্পন্ন ব্যবহারকারীরা প্রায়শই বৈপরীত্য সংবেদনশীলতা হ্রাস করে, যার ফলে তাদের পটভূমি থেকে বস্তুর পার্থক্য করা কঠিন হয়ে পড়ে। এই ব্যবহারকারীদের সাহায্য করার জন্য, Android 16 উচ্চ কনট্রাস্ট টেক্সট প্রতিস্থাপন করে আউটলাইন টেক্সট প্রবর্তন করে, যা পাঠ্যের চারপাশে একটি বৃহত্তর বৈপরীত্য ক্ষেত্র আঁকে যাতে সুস্পষ্টতা উন্নত হয়।

অ্যান্ড্রয়েড 16-এ নতুন AccessibilityManager এপিআই রয়েছে যাতে আপনার অ্যাপ্লিকেশানগুলি এই মোডটি সক্ষম করা আছে কিনা তা দেখতে একজন শ্রোতাকে পরীক্ষা করতে বা নিবন্ধন করতে দেয়৷ এটি প্রাথমিকভাবে UI টুলকিট যেমন রচনার জন্য একই রকম ভিজ্যুয়াল অভিজ্ঞতা দেওয়ার জন্য। আপনি যদি একটি UI টুলকিট লাইব্রেরি বজায় রাখেন বা আপনার অ্যাপটি কাস্টম টেক্সট রেন্ডারিং করে যা android.text.Layout ক্লাসকে বাইপাস করে তাহলে আপনি এটি ব্যবহার করতে পারেন কখন আউটলাইন টেক্সট সক্ষম করা আছে।

Android 16 এর নতুন আউটলাইন টেক্সট অ্যাক্সেসিবিলিটি বৈশিষ্ট্যের আগে এবং পরে উন্নত বৈসাদৃশ্য সহ পাঠ্য

TtsSpan-এ সময়কাল যোগ করা হয়েছে

Android 16 ARG_HOURS , ARG_MINUTES , এবং ARG_SECONDS সমন্বিত একটি TYPE_DURATION এর সাথে TtsSpan প্রসারিত করে৷ এটি আপনাকে টকব্যাকের মতো পরিষেবাগুলির সাথে সঠিক এবং সামঞ্জস্যপূর্ণ পাঠ্য-থেকে-স্পিচ আউটপুট নিশ্চিত করে, সময়কালকে সরাসরি টীকা করতে দেয়৷

একাধিক লেবেল সহ সমর্থন উপাদান

অ্যান্ড্রয়েড বর্তমানে UI উপাদানগুলিকে অন্যের থেকে তাদের অ্যাক্সেসিবিলিটি লেবেল প্রাপ্ত করার অনুমতি দেয় এবং এখন একাধিক লেবেল যুক্ত করার ক্ষমতা অফার করে, ওয়েব সামগ্রীতে একটি সাধারণ দৃশ্য। AccessibilityNodeInfo মধ্যে একটি তালিকা-ভিত্তিক API প্রবর্তন করে, Android সরাসরি এই মাল্টি-লেবেল সম্পর্কগুলিকে সমর্থন করতে পারে। এই পরিবর্তনের অংশ হিসাবে, আমরা #addLabeledBy , #removeLabeledBy , এবং #getLabeledByList এর পক্ষে AccessibilityNodeInfo#setLabeledBy এবং # #getLabeledBy কে বাতিল করেছি।

প্রসারণযোগ্য উপাদানগুলির জন্য উন্নত সমর্থন

অ্যান্ড্রয়েড 16 অ্যাক্সেসিবিলিটি API যুক্ত করে যা আপনাকে মেনু এবং প্রসারণযোগ্য তালিকার মতো ইন্টারেক্টিভ উপাদানগুলির প্রসারিত বা ভেঙে পড়া অবস্থা জানাতে দেয়। setExpandedState ব্যবহার করে প্রসারিত অবস্থা সেট করে এবং CONTENT_CHANGE_TYPE_EXPANDED বিষয়বস্তু পরিবর্তনের ধরন সহ TYPE_WINDOW_CONTENT_CHANGED অ্যাক্সেসিবিলিটি ইভেন্টগুলি প্রেরণ করে, আপনি নিশ্চিত করতে পারেন যে টকব্যাকের মতো স্ক্রিন রিডাররা আরও স্বজ্ঞাত এবং অন্তর্ভুক্ত ব্যবহারকারীর অভিজ্ঞতা প্রদান করে রাজ্যের পরিবর্তনগুলি ঘোষণা করে৷

অনিশ্চিত প্রগতি বার

Android 16 RANGE_TYPE_INDETERMINATE যোগ করে, আপনার জন্য নির্ধারিত এবং অনির্দিষ্ট উভয় ProgressBar উইজেটগুলির জন্য RangeInfo প্রকাশ করার একটি উপায় দেয়, যা TalkBack-এর মতো পরিষেবাগুলিকে আরও ধারাবাহিকভাবে অগ্রগতি সূচকগুলির জন্য প্রতিক্রিয়া প্রদান করার অনুমতি দেয়৷

ত্রি-রাষ্ট্রীয় চেকবক্স

Android 16-এ নতুন AccessibilityNodeInfo getChecked এবং setChecked(int) পদ্ধতিগুলি এখন "চেক করা" এবং "আনচেক করা" ছাড়াও একটি "আংশিকভাবে চেক করা" অবস্থা সমর্থন করে। এটি অপ্রচলিত বুলিয়ান isChecked এবং setChecked(boolean) প্রতিস্থাপন করে।

সম্পূরক বর্ণনা

যখন একটি অ্যাক্সেসিবিলিটি পরিষেবা একটি ViewGroup বর্ণনা করে, তখন এটি তার চাইল্ড ভিউ থেকে কন্টেন্ট লেবেলগুলিকে একত্রিত করে৷ আপনি যদি ViewGroup জন্য একটি contentDescription প্রদান করেন, অ্যাক্সেসিবিলিটি পরিষেবাগুলি অনুমান করে যে আপনি অ-ফোকাসযোগ্য চাইল্ড ভিউগুলির বর্ণনাকেও ওভাররাইড করছেন৷ অ্যাক্সেসযোগ্যতার জন্য বর্তমান নির্বাচন (উদাহরণস্বরূপ, "রোবোটো") সংরক্ষণ করার সময় আপনি যদি ড্রপ-ডাউন (উদাহরণস্বরূপ, "ফন্ট ফ্যামিলি") এর মতো জিনিসগুলিকে লেবেল করতে চান তবে এটি সমস্যাযুক্ত হতে পারে। Android 16 setSupplementalDescription যোগ করে যাতে আপনি পাঠ্য সরবরাহ করতে পারেন যা একটি ViewGroup সম্পর্কে তথ্য প্রদান করে তার বাচ্চাদের তথ্য ওভাররাইড না করে।

প্রয়োজনীয় ফর্ম ক্ষেত্র

Android 16 AccessibilityNodeInfo তে setFieldRequired যোগ করে যাতে অ্যাপগুলি একটি অ্যাক্সেসিবিলিটি পরিষেবাকে বলতে পারে যে একটি ফর্ম ক্ষেত্রে ইনপুট প্রয়োজন। এটি ব্যবহারকারীদের জন্য অনেক ধরনের ফর্ম পূরণ করার জন্য একটি গুরুত্বপূর্ণ দৃশ্য, এমনকি প্রয়োজনীয় শর্তাবলীর চেকবক্সের মতো সহজ জিনিসগুলি, ব্যবহারকারীদের ধারাবাহিকভাবে সনাক্ত করতে এবং প্রয়োজনীয় ক্ষেত্রগুলির মধ্যে দ্রুত নেভিগেট করতে সহায়তা করে৷

LEA হিয়ারিং এইড ব্যবহার করে ভয়েস কলের জন্য ফোনকে মাইক্রোফোন ইনপুট হিসেবে ব্যবহার করা যায়।

অ্যান্ড্রয়েড 16 LE অডিও হিয়ারিং এইড ব্যবহারকারীদের ভয়েস কলের জন্য হিয়ারিং এইডগুলিতে অন্তর্নির্মিত মাইক্রোফোন এবং তাদের ফোনের মাইক্রোফোনের মধ্যে স্যুইচ করার ক্ষমতা যুক্ত করে৷ এটি কোলাহলপূর্ণ পরিবেশে বা অন্যান্য পরিস্থিতিতে সহায়ক হতে পারে যেখানে হিয়ারিং এইডের মাইক্রোফোনগুলি ভাল কাজ করতে পারে না।

LEA হিয়ারিং এইডগুলির জন্য পারিপার্শ্বিক ভলিউম নিয়ন্ত্রণ

Android 16 adds the capability for users of LE Audio hearing aids to adjust the volume of ambient sound that is picked up by the hearing aid's microphones. This can be helpful in situations where background noise is too loud or too quiet.

ক্যামেরা

অ্যান্ড্রয়েড ১৬ পেশাদার ক্যামেরা ব্যবহারকারীদের জন্য সাপোর্ট আরও উন্নত করেছে, যার মাধ্যমে হাইব্রিড অটো এক্সপোজারের পাশাপাশি নিখুঁত কালার টেম্পারেচার এবং টিন্ট অ্যাডজাস্টমেন্ট করা যায়। একটি নতুন নাইট মোড ইন্ডিকেটর আপনার অ্যাপকে জানিয়ে দেয় কখন নাইট মোড ক্যামেরা সেশনে যেতে হবে এবং কখন তা থেকে বেরিয়ে আসতে হবে। নতুন Intent অ্যাকশনগুলো মোশন ফটো তোলা আরও সহজ করে তুলেছে, এবং আমরা HEIC এনকোডিং ও ISO 21496-1 ড্রাফট স্ট্যান্ডার্ডের নতুন প্যারামিটারগুলোর সাপোর্টের মাধ্যমে আল্ট্রাএইচডিআর (UltraHDR) ইমেজের মানোন্নয়ন অব্যাহত রেখেছি।

হাইব্রিড অটো-এক্সপোজার

Android 16 adds new hybrid auto-exposure modes to Camera2, allowing you to manually control specific aspects of exposure while letting the auto-exposure (AE) algorithm handle the rest. You can control ISO + AE, and exposure time + AE, providing greater flexibility compared to the current approach where you either have full manual control or rely entirely on auto-exposure.

fun setISOPriority() {
    // ... (Your existing code before the snippet) ...

    val availablePriorityModes = mStaticInfo.characteristics.get(
        CameraCharacteristics.CONTROL_AE_AVAILABLE_PRIORITY_MODES
    )

    // ... (Your existing code between the snippets) ...

    // Turn on AE mode to set priority mode
    reqBuilder.set(
        CaptureRequest.CONTROL_AE_MODE,
        CameraMetadata.CONTROL_AE_MODE_ON
    )
    reqBuilder.set(
        CaptureRequest.CONTROL_AE_PRIORITY_MODE,
        CameraMetadata.CONTROL_AE_PRIORITY_MODE_SENSOR_SENSITIVITY_PRIORITY
    )
    reqBuilder.set(
        CaptureRequest.SENSOR_SENSITIVITY,
        TEST_SENSITIVITY_VALUE
    )
    val request: CaptureRequest = reqBuilder.build()

    // ... (Your existing code after the snippet) ...
}

সঠিক রঙের তাপমাত্রা এবং আভা সমন্বয়

Android 16 adds camera support for fine color temperature and tint adjustments to better support professional video recording applications. In previous Android versions, you could control white balance settings through CONTROL_AWB_MODE, which contains options limited to a preset list, such as Incandescent, Cloudy, and Twilight. The COLOR_CORRECTION_MODE_CCT enables the use of COLOR_CORRECTION_COLOR_TEMPERATURE and COLOR_CORRECTION_COLOR_TINT for precise adjustments of white balance based on the correlated color temperature.

fun setCCT() {
    // ... (Your existing code before this point) ...

    val colorTemperatureRange: Range<Int> =
        mStaticInfo.characteristics[CameraCharacteristics.COLOR_CORRECTION_COLOR_TEMPERATURE_RANGE]

    // Set to manual mode to enable CCT mode
    reqBuilder[CaptureRequest.CONTROL_AWB_MODE] = CameraMetadata.CONTROL_AWB_MODE_OFF
    reqBuilder[CaptureRequest.COLOR_CORRECTION_MODE] = CameraMetadata.COLOR_CORRECTION_MODE_CCT
    reqBuilder[CaptureRequest.COLOR_CORRECTION_COLOR_TEMPERATURE] = 5000
    reqBuilder[CaptureRequest.COLOR_CORRECTION_COLOR_TINT] = 30

    val request: CaptureRequest = reqBuilder.build()

    // ... (Your existing code after this point) ...
}

The following examples show how a photo would look after applying different color temperature and tint adjustments:

The original image with no color temperature or tint adjustments applied.
The image with color temperature adjusted to 3000.
The image with color temperature adjusted to 7000.


The image with tint levels lowered by 50.
The image with tint levels raised by 50.

ক্যামেরা নাইট মোড সিন ডিটেকশন

To help your app know when to switch to and from a night mode camera session, Android 16 adds EXTENSION_NIGHT_MODE_INDICATOR. If supported, it's available in the CaptureResult within Camera2.

This is the API we briefly mentioned as coming soon in the How Instagram enabled users to take stunning low light photos blog post. That post is a practical guide on how to implement night mode together with a case study that links higher-quality in-app night mode photos with an increase in the number of photos shared from the in-app camera.

মোশন ফটো ক্যাপচার অভিপ্রায় ক্রিয়া

Android 16 adds standard Intent actions — ACTION_MOTION_PHOTO_CAPTURE, and ACTION_MOTION_PHOTO_CAPTURE_SECURE — which request that the camera application capture a motion photo and return it.

You must either pass an extra EXTRA_OUTPUT to control where the image will be written, or a Uri through Intent.setClipData(ClipData). If you don't set a ClipData, it will be copied there for you when calling Context.startActivity(Intent).

An example of a motion photo, showing the still image followed by the motion playback.

আল্ট্রাএইচডিআর ছবির উন্নতি

An illustration of Standard Dynamic Range (SDR) versus High Dynamic Range (HDR) image quality.

Android 16 continues our work to deliver dazzling image quality with UltraHDR images. It adds support for UltraHDR images in the HEIC file format. These images will get ImageFormat type HEIC_ULTRAHDR and will contain an embedded gainmap similar to the existing UltraHDR JPEG format. We're working on AVIF support for UltraHDR as well, so stay tuned.

In addition, Android 16 implements additional parameters in UltraHDR from the ISO 21496-1 draft standard, including the ability to get and set the colorspace that gainmap math should be applied in, as well as support for HDR encoded base images with SDR gainmaps.

গ্রাফিক্স

অ্যান্ড্রয়েড ১৬-এ এজিএসএল (AGSL) সহ কাস্টম গ্রাফিক ইফেক্টের মতো সর্বশেষ গ্রাফিক্স উন্নয়নগুলো অন্তর্ভুক্ত রয়েছে।

AGSL দিয়ে কাস্টম গ্রাফিক্যাল ইফেক্ট

Android 16 RuntimeColorFilter এবং RuntimeXfermode যোগ করে, যা আপনাকে থ্রেশহোল্ড, সেপিয়া এবং হিউ স্যাচুরেশনের মতো জটিল প্রভাবগুলি লিখতে এবং কলগুলি আঁকতে তাদের প্রয়োগ করতে দেয়। Android 13 থেকে, আপনি কাস্টম RuntimeShaders তৈরি করতে AGSL ব্যবহার করতে সক্ষম হয়েছেন যা Shader প্রসারিত করে। নতুন API এটিকে প্রতিফলিত করে, একটি AGSL-চালিত RuntimeColorFilter যোগ করে যা ColorFilter প্রসারিত করে এবং একটি Xfermode প্রভাব যা আপনাকে AGSL-ভিত্তিক কাস্টম কম্পোজিটিং এবং উত্স এবং গন্তব্য পিক্সেলের মধ্যে মিশ্রন প্রয়োগ করতে দেয়।

private val thresholdEffectString = """
    uniform half threshold;

    half4 main(half4 c) {
        half luminosity = dot(c.rgb, half3(0.2126, 0.7152, 0.0722));
        half bw = step(threshold, luminosity);
        return bw.xxx1 * c.a;
    }"""

fun setCustomColorFilter(paint: Paint) {
   val filter = RuntimeColorFilter(thresholdEffectString)
   filter.setFloatUniform(0.5);
   paint.colorFilter = filter
}

সংযোগ

অ্যান্ড্রয়েড ১৬ প্ল্যাটফর্মটিকে আপডেট করে, যার ফলে আপনার অ্যাপ যোগাযোগ এবং ওয়্যারলেস প্রযুক্তির সর্বশেষ অগ্রগতিগুলো ব্যবহারের সুযোগ পায়।

উন্নত নিরাপত্তা সহ রেঞ্জিং

Android 16 adds support for robust security features in Wi-Fi location on supported devices with Wi-Fi 6's 802.11az, allowing apps to combine the higher accuracy, greater scalability, and dynamic scheduling of the protocol with security enhancements including AES-256-based encryption and protection against MITM attacks. This allows it to be used more safely in proximity use cases, such as unlocking a laptop or a vehicle door. 802.11az is integrated with the Wi-Fi 6 standard, leveraging its infrastructure and capabilities for wider adoption and easier deployment.

জেনেরিক রেঞ্জিং এপিআই

Android 16-এ নতুন RangingManager অন্তর্ভুক্ত রয়েছে, যা স্থানীয় ডিভাইস এবং দূরবর্তী ডিভাইসের মধ্যে সমর্থিত হার্ডওয়্যারের দূরত্ব এবং কোণ নির্ধারণ করার উপায় প্রদান করে। RangingManager বিএলই চ্যানেল সাউন্ডিং, বিএলই আরএসএসআই-ভিত্তিক রেঞ্জিং, আল্ট্রা ওয়াইডব্যান্ড এবং ওয়াই-ফাই রাউন্ড ট্রিপ টাইম-এর মতো বিভিন্ন রেঞ্জিং প্রযুক্তির ব্যবহার সমর্থন করে।

সহযোগী ডিভাইস ম্যানেজার ডিভাইসের উপস্থিতি

In Android 16, new APIs are being introduced for binding your companion app service. Service will be bound when BLE is in range and Bluetooth is connected and service will be unbound when BLE is out of range or Bluetooth is disconnected. App will receives a new 'onDevicePresenceEvent()' callback based on various of DevicePresenceEvent. More details can be found in 'startObservingDevicePresence(ObservingDevicePresenceRequest)'.

মিডিয়া

অ্যান্ড্রয়েড ১৬-এ বিভিন্ন বৈশিষ্ট্য রয়েছে যা মিডিয়া অভিজ্ঞতাকে উন্নত করে।

ফটো পিকারের উন্নতি

The photo picker provides a safe, built-in way for users to grant your app access to selected images and videos from both local and cloud storage, instead of their entire media library. Using a combination of Modular System Components through Google System Updates and Google Play services, it's supported back to Android 4.4 (API level 19). Integration requires just a few lines of code with the associated Android Jetpack library.

Android 16 includes the following improvements to the photo picker:

  • Embedded photo picker: New APIs that enable apps to embed the photo picker into their view hierarchy. This allows it to feel like a more integrated part of the app while still leveraging the process isolation that allows users to select media without the app needing overly broad permissions. To maximize compatibility across platform versions and simplify your integration, you'll want to use the forthcoming Android Jetpack library if you want to integrate the embedded photo picker.
  • Cloud search in photo picker: New APIs that enable searching from the cloud media provider for the Android photo picker. Search functionality in the photo picker is coming soon.

উন্নত পেশাদার ভিডিও

অ্যান্ড্রয়েড 16 অ্যাডভান্সড প্রফেশনাল ভিডিও (এপিভি) কোডেক এর জন্য সমর্থন প্রবর্তন করে যা পেশাদার স্তরের উচ্চ মানের ভিডিও রেকর্ডিং এবং পোস্ট প্রোডাকশনের জন্য ব্যবহার করার জন্য ডিজাইন করা হয়েছে।

APV কোডেক স্ট্যান্ডার্ডের নিম্নলিখিত বৈশিষ্ট্য রয়েছে:

  • ধারণাগতভাবে ক্ষতিহীন ভিডিও গুণমান (কাঁচা ভিডিও মানের কাছাকাছি)
  • কম জটিলতা এবং উচ্চ থ্রুপুট ইন্ট্রা-ফ্রেম-শুধুমাত্র কোডিং (পিক্সেল ডোমেন পূর্বাভাস ছাড়া) সম্পাদনা কার্যপ্রবাহকে আরও ভাল সমর্থন করতে
  • 2K, 4K এবং 8K রেজোলিউশন সামগ্রীর জন্য কয়েক Gbps পর্যন্ত উচ্চ বিট-রেট রেঞ্জের জন্য সমর্থন, একটি লাইটওয়েট এনট্রপি কোডিং স্কিম দ্বারা সক্ষম
  • নিমজ্জিত বিষয়বস্তুর জন্য ফ্রেম টাইলিং এবং সমান্তরাল এনকোডিং এবং ডিকোডিং সক্ষম করার জন্য
  • বিভিন্ন ক্রোমা স্যাম্পলিং ফরম্যাট এবং বিট-গভীরতার জন্য সমর্থন
  • গুরুতর ভিজ্যুয়াল মানের অবনতি ছাড়াই একাধিক ডিকোডিং এবং পুনরায় এনকোডিংয়ের জন্য সমর্থন
  • মাল্টি-ভিউ ভিডিও এবং অক্জিলিয়ারী ভিডিও যেমন গভীরতা, আলফা এবং পূর্বরূপ সমর্থন করে
  • HDR10/10+ এবং ব্যবহারকারী-সংজ্ঞায়িত মেটাডেটার জন্য সমর্থন

OpenAPV প্রকল্পের মাধ্যমে APV-এর একটি রেফারেন্স বাস্তবায়ন প্রদান করা হয়। Android 16 APV 422-10 প্রোফাইলের জন্য সমর্থন বাস্তবায়ন করবে যা 10-বিট এনকোডিং সহ YUV 422 রঙের নমুনা প্রদান করে এবং 2Gbps পর্যন্ত লক্ষ্য বিটরেটের জন্য।

গোপনীয়তা

অ্যান্ড্রয়েড ১৬-এ বিভিন্ন ধরনের ফিচার রয়েছে যা অ্যাপ ডেভেলপারদের ব্যবহারকারীর গোপনীয়তা রক্ষা করতে সাহায্য করে।

হেলথ কানেক্ট আপডেট

Health Connect adds ACTIVITY_INTENSITY, a data type defined according to World Health Organization guidelines around moderate and vigorous activity. Each record requires the start time, the end time, and whether the activity intensity is moderate or vigorous.

Health Connect also contains updated APIs supporting medical records. This allows apps to read and write medical records in FHIR format with explicit user consent.

অ্যান্ড্রয়েডে প্রাইভেসি স্যান্ডবক্স

Android 16 এন্ড্রয়েডের গোপনীয়তা স্যান্ডবক্সের সর্বশেষ সংস্করণকে অন্তর্ভুক্ত করে, প্রযুক্তি বিকাশের জন্য আমাদের চলমান কাজের অংশ যেখানে ব্যবহারকারীরা জানেন যে তাদের গোপনীয়তা সুরক্ষিত। আপনাকে শুরু করতে সাহায্য করার জন্য আমাদের ওয়েবসাইটে Android বিকাশকারী বিটা প্রোগ্রামের গোপনীয়তা স্যান্ডবক্স সম্পর্কে আরও কিছু রয়েছেSDK রানটাইম দেখুন যা SDKগুলিকে তাদের পরিবেশন করা অ্যাপ থেকে আলাদা একটি ডেডিকেটেড রানটাইম পরিবেশে চালানোর অনুমতি দেয়, ব্যবহারকারীর ডেটা সংগ্রহ এবং ভাগ করে নেওয়ার ক্ষেত্রে শক্তিশালী সুরক্ষা প্রদান করে৷

নিরাপত্তা

অ্যান্ড্রয়েড ১৬-এ এমন সব ফিচার রয়েছে যা আপনার অ্যাপের নিরাপত্তা বাড়াতে এবং অ্যাপের ডেটা সুরক্ষিত রাখতে সাহায্য করে।

কী শেয়ারিং এপিআই

অ্যান্ড্রয়েড 16 এপিআই যুক্ত করে যা অন্যান্য অ্যাপের সাথে অ্যান্ড্রয়েড কীস্টোর কীগুলিতে অ্যাক্সেস ভাগ করে নেওয়া সমর্থন করে। নতুন KeyStoreManager ক্লাস অ্যাপ uid দ্বারা কীগুলিতে অ্যাক্সেস মঞ্জুর করা এবং প্রত্যাহার করাকে সমর্থন করে এবং অ্যাপগুলির শেয়ার্ড কীগুলি অ্যাক্সেস করার জন্য একটি API অন্তর্ভুক্ত করে৷

ডিভাইসের ফর্ম ফ্যাক্টর

অ্যান্ড্রয়েড ১৬ আপনার অ্যাপগুলোকে অ্যান্ড্রয়েডের বিভিন্ন ফর্ম ফ্যাক্টরের সর্বোচ্চ সুবিধা নিতে সহায়তা করে।

টিভির জন্য ছবি ও অডিওর মানসম্মত কাঠামো

The new MediaQuality package in Android 16 exposes a set of standardized APIs for access to audio and picture profiles and hardware-related settings. This allows streaming apps to query profiles and apply them to media dynamically:

  • Movies mastered with a wider dynamic range require greater color accuracy to see subtle details in shadows and adjust to ambient light, so a profile that prefers color accuracy over brightness may be appropriate.
  • Live sporting events are often mastered with a narrow dynamic range, but are often watched in daylight, so a profile that preferences brightness over color accuracy can give better results.
  • Fully interactive content wants minimal processing to reduce latency, and wants higher frame rates, which is why many TV's ship with a game profile.

The API allows apps to switch between profiles and users to enjoy tuning supported TVs to best suit their content.

আন্তর্জাতিকীকরণ

অ্যান্ড্রয়েড ১৬ এমন সব ফিচার ও সক্ষমতা যোগ করে, যা বিভিন্ন ভাষায় ডিভাইস ব্যবহারের ক্ষেত্রে ব্যবহারকারীর অভিজ্ঞতাকে আরও উন্নত করে।

উল্লম্ব পাঠ্য

Android 16 adds low-level support for rendering and measuring text vertically to provide foundational vertical writing support for library developers. This is particularly useful for languages like Japanese that commonly use vertical writing systems. A new flag, VERTICAL_TEXT_FLAG, has been added to the Paint class. When this flag is set using Paint.setFlags, Paint's text measurement APIs will report vertical advances instead of horizontal advances, and Canvas will draw text vertically.

val text = "「春は、曙。」"
Box(
    Modifier.padding(innerPadding).background(Color.White).fillMaxSize().drawWithContent {
        drawIntoCanvas { canvas ->
            val paint = Paint().apply { textSize = 64.sp.toPx() }
            // Draw text vertically
            paint.flags = paint.flags or VERTICAL_TEXT_FLAG
            val height = paint.measureText(text)
            canvas.nativeCanvas.drawText(
                text,
                0,
                text.length,
                size.width / 2,
                (size.height - height) / 2,
                paint
            )
        }
    }
) {}

পরিমাপ সিস্টেম কাস্টমাইজেশন

ব্যবহারকারীরা এখন সেটিংসের মধ্যে আঞ্চলিক পছন্দ অনুযায়ী তাদের পরিমাপ সিস্টেম কাস্টমাইজ করতে পারেন। ব্যবহারকারীর পছন্দ লোকেল কোডের অংশ হিসাবে অন্তর্ভুক্ত করা হয়েছে, তাই আঞ্চলিক পছন্দগুলি পরিবর্তিত হলে আপনি লোকেল কনফিগারেশন পরিবর্তনগুলি পরিচালনা করতে ACTION_LOCALE_CHANGED এ একটি BroadcastReceiver নিবন্ধন করতে পারেন৷

ফরম্যাটারগুলি ব্যবহার করা স্থানীয় অভিজ্ঞতার সাথে মেলে সাহায্য করতে পারে। উদাহরণ স্বরূপ, ইংরেজিতে (মার্কিন যুক্তরাষ্ট্র) "0.5 ইঞ্চি" হল একজন ব্যবহারকারীর জন্য "12,7 মিমি" যিনি তাদের ফোন ইংরেজিতে (ডেনমার্ক) সেট করেছেন বা যিনি তাদের ফোন ইংরেজিতে (মার্কিন যুক্তরাষ্ট্র) মেট্রিক সিস্টেমের সাথে পরিমাপ পদ্ধতির পছন্দ হিসেবে ব্যবহার করেন।

এই সেটিংস খুঁজতে, সেটিংস অ্যাপ খুলুন এবং সিস্টেম > ভাষা ও অঞ্চলে নেভিগেট করুন।