বৈশিষ্ট্য এবং 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 ক্লাসের মধ্যে, আপনি পয়েন্ট এবং সেগমেন্ট ব্যবহার করে ব্যবহারকারীর যাত্রায় রাজ্য এবং মাইলফলক নির্দেশ করতে পারেন।

To learn more, see the Progress-centric notifications documentation page.

A progress-centric notification displayed on the lockscreen.
A progress-centric notification displayed in the notification shade.

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

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.

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

Android has exposed control over the haptic actuator ever since its inception.

Android 11 added support for more complex haptic effects that more advanced actuators could support through VibrationEffect.Compositions of device-defined semantic primitives.

Android 16 adds haptic APIs that let apps define the amplitude and frequency curves of a haptic effect while abstracting away differences between device capabilities.

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

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

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

অ্যান্ড্রয়েড 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 was added in Android 15, allowing an app to see reasons for process start, start type, start times, throttling, and other useful diagnostic data. Android 16 adds getStartComponent() to distinguish what component type triggered the start, which can be helpful for optimizing the startup flow of your app.

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

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 হিয়ারিং এইডগুলির জন্য পারিপার্শ্বিক ভলিউম নিয়ন্ত্রণ

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

ক্যামেরা

অ্যান্ড্রয়েড ১৬ পেশাদার ক্যামেরা ব্যবহারকারীদের জন্য সাপোর্ট আরও উন্নত করেছে, যার মাধ্যমে হাইব্রিড অটো এক্সপোজারের পাশাপাশি নিখুঁত কালার টেম্পারেচার এবং টিন্ট অ্যাডজাস্টমেন্ট করা যায়। একটি নতুন নাইট মোড ইন্ডিকেটর আপনার অ্যাপকে জানিয়ে দেয় কখন নাইট মোড ক্যামেরা সেশনে যেতে হবে এবং কখন তা থেকে বেরিয়ে আসতে হবে। নতুন 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.

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

স্ট্যান্ডার্ড ডায়নামিক রেঞ্জ (এসডিআর) বনাম হাই ডায়নামিক রেঞ্জ (এইচডিআর) ছবির মানের একটি চিত্র।

অ্যান্ড্রয়েড 16 আল্ট্রাএইচডিআর ইমেজের সাথে চমকপ্রদ ইমেজ কোয়ালিটি প্রদানের জন্য আমাদের কাজ চালিয়ে যাচ্ছে। এটি HEIC ফাইল বিন্যাসে আল্ট্রাএইচডিআর চিত্রগুলির জন্য সমর্থন যোগ করে। এই ছবিগুলি ImageFormat টাইপ HEIC_ULTRAHDR পাবে এবং বিদ্যমান UltraHDR JPEG ফর্ম্যাটের মতো একটি এমবেডেড গেইনম্যাপ থাকবে৷ আমরা UltraHDR এর জন্য AVIF সমর্থনেও কাজ করছি, তাই সাথে থাকুন।

এছাড়াও, Android 16 ISO 21496-1 ড্রাফ্ট স্ট্যান্ডার্ড থেকে UltraHDR-এ অতিরিক্ত পরামিতি প্রয়োগ করে, যার মধ্যে গেইনম্যাপ গণিত প্রয়োগ করা উচিত এমন কালারস্পেস পাওয়ার এবং সেট করার ক্ষমতা, সেইসাথে SDR গেইনম্যাপের সাথে HDR এনকোডেড বেস ইমেজগুলির জন্য সমর্থন।

গ্রাফিক্স

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

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

Android 16 adds RuntimeColorFilter and RuntimeXfermode, allowing you to author complex effects like Threshold, Sepia, and Hue Saturation and apply them to draw calls. Since Android 13, you've been able to use AGSL to create custom RuntimeShaders that extend Shader. The new API mirrors this, adding an AGSL-powered RuntimeColorFilter that extends ColorFilter, and a Xfermode effect that lets you implement AGSL-based custom compositing and blending between source and destination pixels.

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 বিএলই চ্যানেল সাউন্ডিং, বিএলই আরএসএসআই-ভিত্তিক রেঞ্জিং, আল্ট্রা ওয়াইডব্যান্ড এবং ওয়াই-ফাই রাউন্ড ট্রিপ টাইম-এর মতো বিভিন্ন রেঞ্জিং প্রযুক্তির ব্যবহার সমর্থন করে।

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

অ্যান্ড্রয়েড 16-এ, আপনার সঙ্গী অ্যাপ পরিষেবাকে আবদ্ধ করার জন্য নতুন API চালু করা হচ্ছে। BLE সীমার মধ্যে থাকলে এবং ব্লুটুথ সংযুক্ত থাকলে পরিষেবা আবদ্ধ হবে এবং BLE সীমার বাইরে থাকলে বা ব্লুটুথ সংযোগ বিচ্ছিন্ন হলে পরিষেবা আনবাউন্ড হবে৷ অ্যাপটি বিভিন্ন DevicePresenceEvent উপর ভিত্তি করে একটি নতুন 'onDevicePresenceEvent()' কলব্যাক পাবে। আরও বিশদ বিবরণ 'startObservingDevicePresence(ObservingDevicePresenceRequest)'- এ পাওয়া যাবে।

মিডিয়া

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

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

ফটো পিকার ব্যবহারকারীদের তাদের সম্পূর্ণ মিডিয়া লাইব্রেরির পরিবর্তে স্থানীয় এবং ক্লাউড স্টোরেজ উভয় থেকে নির্বাচিত ছবি এবং ভিডিওগুলিতে আপনার অ্যাপ অ্যাক্সেস দেওয়ার জন্য একটি নিরাপদ, অন্তর্নির্মিত উপায় প্রদান করে৷ Google সিস্টেম আপডেট এবং Google Play পরিষেবাগুলির মাধ্যমে মডুলার সিস্টেম উপাদানগুলির সংমিশ্রণ ব্যবহার করে, এটি Android 4.4 (API স্তর 19) এ সমর্থিত। ইন্টিগ্রেশনের জন্য সংশ্লিষ্ট অ্যান্ড্রয়েড জেটপ্যাক লাইব্রেরির সাথে কোডের মাত্র কয়েকটি লাইন প্রয়োজন।

Android 16 ফটো পিকারে নিম্নলিখিত উন্নতিগুলি অন্তর্ভুক্ত করে:

  • এমবেডেড ফটো পিকার : নতুন এপিআই যা অ্যাপগুলিকে ফটো পিকারকে তাদের ভিউ হায়ারার্কিতে এম্বেড করতে সক্ষম করে৷ এটি প্রক্রিয়া বিচ্ছিন্নতা ব্যবহার করার সময় এটিকে অ্যাপের আরও সমন্বিত অংশের মতো অনুভব করার অনুমতি দেয় যা ব্যবহারকারীদের অ্যাপের অত্যধিক বিস্তৃত অনুমতির প্রয়োজন ছাড়াই মিডিয়া নির্বাচন করতে দেয়। প্ল্যাটফর্ম সংস্করণ জুড়ে সামঞ্জস্যতা সর্বাধিক করতে এবং আপনার একীকরণ সহজতর করতে, আপনি যদি এমবেডেড ফটো পিকারকে একীভূত করতে চান তবে আপনি আসন্ন অ্যান্ড্রয়েড জেটপ্যাক লাইব্রেরি ব্যবহার করতে চাইবেন।
  • ফটো পিকারে ক্লাউড সার্চ : নতুন এপিআই যা অ্যান্ড্রয়েড ফটো পিকারের জন্য ক্লাউড মিডিয়া প্রদানকারী থেকে অনুসন্ধান করতে সক্ষম করে । ফটো পিকারে অনুসন্ধান কার্যকারিতা শীঘ্রই আসছে৷

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

Android 16 introduces support for the Advanced Professional Video (APV) codec which is designed to be used for professional level high quality video recording and post production.

The APV codec standard has the following features:

  • Perceptually lossless video quality (close to raw video quality)
  • Low complexity and high throughput intra-frame-only coding (without pixel domain prediction) to better support editing workflows
  • Support for high bit-rate range up to a few Gbps for 2K, 4K and 8K resolution content, enabled by a lightweight entropy coding scheme
  • Frame tiling for immersive content and for enabling parallel encoding and decoding
  • Support for various chroma sampling formats and bit-depths
  • Support for multiple decoding and re-encoding without severe visual quality degradation
  • Support multi-view video and auxiliary video like depth, alpha, and preview
  • Support for HDR10/10+ and user-defined metadata

A reference implementation of APV is provided through the OpenAPV project. Android 16 will implement support for the APV 422-10 Profile that provides YUV 422 color sampling along with 10-bit encoding and for target bitrates of up to 2Gbps.

গোপনীয়তা

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

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

Health Connect ACTIVITY_INTENSITY যোগ করে, একটি ডেটা টাইপ যা বিশ্ব স্বাস্থ্য সংস্থার নির্দেশিকা অনুসারে পরিমিত এবং জোরালো কার্যকলাপের জন্য সংজ্ঞায়িত করা হয়েছে। প্রতিটি রেকর্ডের জন্য শুরুর সময়, শেষের সময় এবং কার্যকলাপের তীব্রতা মাঝারি বা জোরালো কিনা তা প্রয়োজন।

Health Connect-এ মেডিকেল রেকর্ড সমর্থনকারী আপডেটেড API গুলিও রয়েছে৷ এটি অ্যাপগুলিকে স্পষ্ট ব্যবহারকারীর সম্মতিতে FHIR ফর্ম্যাটে মেডিকেল রেকর্ড পড়তে এবং লিখতে দেয়৷

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

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

নিরাপত্তা

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

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

Android 16 adds APIs that support sharing access to Android Keystore keys with other apps. The new KeyStoreManager class supports granting and revoking access to keys by app uid, and includes an API for apps to access shared keys.

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

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

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

অ্যান্ড্রয়েড 16-এ নতুন MediaQuality প্যাকেজ অডিও এবং ছবির প্রোফাইল এবং হার্ডওয়্যার-সম্পর্কিত সেটিংস অ্যাক্সেসের জন্য প্রমিত API-এর একটি সেট প্রকাশ করে। এটি স্ট্রিমিং অ্যাপগুলিকে প্রোফাইল অনুসন্ধান করতে এবং গতিশীলভাবে মিডিয়াতে প্রয়োগ করতে দেয়:

  • একটি বৃহত্তর গতিশীল পরিসরের সাথে আয়ত্ত করা চলচ্চিত্রগুলির ছায়ায় সূক্ষ্ম বিবরণ দেখতে এবং পরিবেষ্টিত আলোর সাথে সামঞ্জস্য করতে আরও বেশি রঙের নির্ভুলতার প্রয়োজন হয়, তাই একটি প্রোফাইল যা উজ্জ্বলতার চেয়ে রঙের নির্ভুলতা পছন্দ করে উপযুক্ত হতে পারে।
  • লাইভ স্পোর্টিং ইভেন্টগুলি প্রায়শই একটি সংকীর্ণ গতিশীল পরিসরের সাথে আয়ত্ত করা হয়, তবে প্রায়শই দিনের আলোতে দেখা হয়, তাই একটি প্রোফাইল যা রঙের নির্ভুলতার চেয়ে উজ্জ্বলতা পছন্দ করে তা আরও ভাল ফলাফল দিতে পারে।
  • সম্পূর্ণ ইন্টারেক্টিভ কন্টেন্ট লেটেন্সি কমাতে ন্যূনতম প্রসেসিং চায়, এবং উচ্চ ফ্রেম রেট চায়, এই কারণেই অনেক টিভি গেম প্রোফাইলের সাথে শিপ করে।

API অ্যাপগুলিকে প্রোফাইল এবং ব্যবহারকারীদের মধ্যে স্যুইচ করার অনুমতি দেয় যাতে তারা তাদের বিষয়বস্তুকে সর্বোত্তম মানানসই করতে টিউনিং সমর্থিত টিভি উপভোগ করতে পারে।

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

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

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

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
            )
        }
    }
) {}

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

Users can now customize their measurement system in regional preferences within Settings. The user preference is included as part of the locale code, so you can register a BroadcastReceiver on ACTION_LOCALE_CHANGED to handle locale configuration changes when regional preferences change.

Using formatters can help match the local experience. For example, "0.5 in" in English (United States), is "12,7 mm" for a user who has set their phone to English (Denmark) or who uses their phone in English (United States) with the metric system as the measurement system preference.

To find these settings, open the Settings app and navigate to System > Languages & region.