অ্যান্ড্রয়েড ১৬ ডেভেলপারদের জন্য দুর্দান্ত নতুন বৈশিষ্ট্য এবং API চালু করেছে। নিম্নলিখিত বিভাগগুলিতে এই বৈশিষ্ট্যগুলির সংক্ষিপ্তসার দেওয়া হয়েছে যা আপনাকে সম্পর্কিত API গুলি দিয়ে শুরু করতে সহায়তা করবে।
নতুন, পরিবর্তিত এবং সরানো API গুলির বিস্তারিত তালিকার জন্য, API diff রিপোর্টটি পড়ুন। নতুন API গুলির বিস্তারিত জানতে Android API রেফারেন্সটি দেখুন — দৃশ্যমানতার জন্য নতুন API গুলি হাইলাইট করা হয়েছে।প্ল্যাটফর্মের পরিবর্তনগুলি আপনার অ্যাপগুলিকে প্রভাবিত করতে পারে এমন ক্ষেত্রগুলিও আপনার পর্যালোচনা করা উচিত। আরও তথ্যের জন্য, নিম্নলিখিত পৃষ্ঠাগুলি দেখুন:
- অ্যান্ড্রয়েড ১৬-কে টার্গেট করার সময় অ্যাপগুলিকে প্রভাবিত করে এমন আচরণগত পরিবর্তন
- আচরণগত পরিবর্তন যা
targetSdkVersionনির্বিশেষে সমস্ত অ্যাপকে প্রভাবিত করে ।
মূল কার্যকারিতা
অ্যান্ড্রয়েডে নতুন 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.
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
অ্যান্ড্রয়েড ১৬ অ্যাপ ডেভেলপার এবং ব্যবহারকারীদের তাদের চাহিদা অনুযায়ী ডিভাইস কনফিগার করার জন্য আরও নিয়ন্ত্রণ এবং নমনীয়তা প্রদান করে।
অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি
Android 16 introduces progress-centric notifications to help users seamlessly track user-initiated, start-to-end journeys.
Notification.ProgressStyle is a new notification
style that lets you create progress-centric notifications. Key use cases include
rideshare, delivery, and navigation. Within the Notification.ProgressStyle
class, you can denote states and milestones in a user journey using
points and segments.
আরও জানতে, অগ্রগতি-কেন্দ্রিক বিজ্ঞপ্তি ডকুমেন্টেশন পৃষ্ঠা দেখুন।


ভবিষ্যদ্বাণীমূলক ব্যাক আপডেট
Android 16 আপনাকে ভবিষ্যদ্বাণীমূলক ব্যাক সিস্টেম অ্যানিমেশনগুলি যেমন ব্যাক-টু-হোম অ্যানিমেশনের মতো ভবিষ্যদ্বাণীমূলক ব্যাক সিস্টেম অ্যানিমেশনগুলি সক্ষম করতে সহায়তা করার জন্য নতুন API যোগ করে। নতুন PRIORITY_SYSTEM_NAVIGATION_OBSERVER এর সাথে onBackInvokedCallback নিবন্ধন করা আপনার অ্যাপটিকে নিয়মিত onBackInvoked কল পাওয়ার অনুমতি দেয় যখনই সিস্টেম স্বাভাবিক ব্যাক নেভিগেশন প্রবাহকে প্রভাবিত না করে ব্যাক নেভিগেশন পরিচালনা করে।
Android 16 অতিরিক্তভাবে finishAndRemoveTaskCallback() এবং moveTaskToBackCallback যোগ করে। OnBackInvokedDispatcher সাথে এই কলব্যাকগুলি নিবন্ধন করার মাধ্যমে, সিস্টেমটি নির্দিষ্ট আচরণগুলিকে ট্রিগার করতে পারে এবং যখন পিছনের অঙ্গভঙ্গিটি আহ্বান করা হয় তখন সময়ের সাথে সম্পর্কিত অ্যানিমেশনগুলি খেলতে পারে৷
সমৃদ্ধ হ্যাপটিক
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.
ডেভেলপারের উৎপাদনশীলতা এবং সরঞ্জাম
আপনার উৎপাদনশীলতা উন্নত করার জন্য আমাদের বেশিরভাগ কাজ অ্যান্ড্রয়েড স্টুডিও , জেটপ্যাক কম্পোজ এবং অ্যান্ড্রয়েড জেটপ্যাক লাইব্রেরির মতো সরঞ্জামগুলিকে কেন্দ্র করে, আমরা সর্বদা প্ল্যাটফর্মে আপনার দৃষ্টিভঙ্গি বাস্তবায়নে সহায়তা করার উপায়গুলি সন্ধান করি।
লাইভ ওয়ালপেপারের জন্য কন্টেন্ট হ্যান্ডলিং
In Android 16, the live wallpaper framework is gaining a new content API to
address the challenges of dynamic, user-driven wallpapers. Currently, live
wallpapers incorporating user-provided content require complex, service-specific
implementations. Android 16 introduces
WallpaperDescription and
WallpaperInstance. WallpaperDescription lets you
identify distinct instances of a live wallpaper from the same service. For
example, a wallpaper that has instances on both the home screen and on the lock
screen may have unique content in both places. The wallpaper picker and
WallpaperManager use this metadata to better present
wallpapers to users, streamlining the process for you to create diverse and
personalized live wallpaper experiences.
কর্মক্ষমতা এবং ব্যাটারি
অ্যান্ড্রয়েড ১৬ এমন API চালু করেছে যা আপনার অ্যাপ সম্পর্কে অন্তর্দৃষ্টি সংগ্রহ করতে সাহায্য করে।
সিস্টেম-ট্রিগার করা প্রোফাইলিং
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.
অ্যাডাপ্টিভ রিফ্রেশ রেট
অ্যাডাপ্টিভ রিফ্রেশ রেট (ARR), Android 15-এ প্রবর্তিত, সমর্থিত হার্ডওয়্যারে ডিসপ্লে রিফ্রেশ রেটকে আলাদা VSync ধাপগুলি ব্যবহার করে বিষয়বস্তু ফ্রেম হারের সাথে মানিয়ে নিতে সক্ষম করে। সম্ভাব্য জ্যাঙ্ক-ইন্ডুসিং মোড-স্যুইচিংয়ের প্রয়োজনীয়তা দূর করার সময় এটি পাওয়ার খরচ হ্রাস করে।
Android 16 getSupportedRefreshRates() পুনরুদ্ধার করার সময় hasArrSupport() এবং getSuggestedFrameRate(int) প্রবর্তন করে যাতে আপনার অ্যাপগুলিকে ARR-এর সুবিধা নেওয়া সহজ হয়৷ RecyclerView 1.4 অভ্যন্তরীণভাবে ARR-কে সমর্থন করে যখন এটি একটি ফ্লিং বা মসৃণ স্ক্রোল থেকে নিষ্পত্তি হয়, এবং আমরা আরও জেটপ্যাক লাইব্রেরিতে ARR সমর্থন যোগ করার জন্য আমাদের কাজ চালিয়ে যাচ্ছি। এই ফ্রেম রেট নিবন্ধটি এমন অনেক API কভার করে যা আপনি ফ্রেম রেট সেট করতে ব্যবহার করতে পারেন যাতে আপনার অ্যাপ সরাসরি ARR ব্যবহার করতে পারে।
ADPF-এ হেডরুম API গুলি
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.
অ্যাক্সেসযোগ্যতা
অ্যান্ড্রয়েড ১৬ নতুন অ্যাক্সেসিবিলিটি এপিআই এবং বৈশিষ্ট্য যুক্ত করেছে যা আপনাকে আপনার অ্যাপটি প্রতিটি ব্যবহারকারীর কাছে পৌঁছে দিতে সাহায্য করতে পারে।
উন্নত অ্যাক্সেসিবিলিটি API গুলি
Android 16 অতিরিক্ত API যোগ করে UI শব্দার্থবিদ্যাকে উন্নত করতে যা ব্যবহারকারীদের জন্য ধারাবাহিকতা উন্নত করতে সাহায্য করে যারা অ্যাক্সেসিবিলিটি পরিষেবার উপর নির্ভর করে, যেমন TalkBack ।
সর্বাধিক টেক্সট কনট্রাস্টের জন্য রূপরেখা পাঠ্য
কম দৃষ্টিসম্পন্ন ব্যবহারকারীরা প্রায়শই বৈপরীত্য সংবেদনশীলতা হ্রাস করে, যার ফলে তাদের পটভূমি থেকে বস্তুর পার্থক্য করা কঠিন হয়ে পড়ে। এই ব্যবহারকারীদের সাহায্য করার জন্য, Android 16 উচ্চ কনট্রাস্ট টেক্সট প্রতিস্থাপন করে আউটলাইন টেক্সট প্রবর্তন করে, যা পাঠ্যের চারপাশে একটি বৃহত্তর বৈপরীত্য ক্ষেত্র আঁকে যাতে সুস্পষ্টতা উন্নত হয়।
অ্যান্ড্রয়েড 16-এ নতুন AccessibilityManager এপিআই রয়েছে যাতে আপনার অ্যাপ্লিকেশানগুলি এই মোডটি সক্ষম করা আছে কিনা তা দেখতে একজন শ্রোতাকে পরীক্ষা করতে বা নিবন্ধন করতে দেয়৷ এটি প্রাথমিকভাবে UI টুলকিট যেমন রচনার জন্য একই রকম ভিজ্যুয়াল অভিজ্ঞতা দেওয়ার জন্য। আপনি যদি একটি UI টুলকিট লাইব্রেরি বজায় রাখেন বা আপনার অ্যাপটি কাস্টম টেক্সট রেন্ডারিং করে যা android.text.Layout ক্লাসকে বাইপাস করে তাহলে আপনি এটি ব্যবহার করতে পারেন কখন আউটলাইন টেক্সট সক্ষম করা আছে।

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 হিয়ারিং এইড সহ ভয়েস কলের জন্য মাইক্রোফোন ইনপুট হিসেবে ফোন
Android 16 adds the capability for users of LE Audio hearing aids to switch between the built-in microphones on the hearing aids and the microphone on their phone for voice calls. This can be helpful in noisy environments or other situations where the hearing aid's microphones might not perform well.
LEA হিয়ারিং এইডের জন্য অ্যাম্বিয়েন্ট ভলিউম নিয়ন্ত্রণ
অ্যান্ড্রয়েড 16 এলই অডিও হিয়ারিং এইডের ব্যবহারকারীদের জন্য হিয়ারিং এইডের মাইক্রোফোনগুলির দ্বারা বাছাই করা পরিবেষ্টিত শব্দের ভলিউম সামঞ্জস্য করার ক্ষমতা যুক্ত করে৷ এটি এমন পরিস্থিতিতে সহায়ক হতে পারে যেখানে পটভূমির শব্দ খুব জোরে বা খুব শান্ত।
ক্যামেরা
অ্যান্ড্রয়েড ১৬ পেশাদার ক্যামেরা ব্যবহারকারীদের জন্য সমর্থন বৃদ্ধি করে, হাইব্রিড অটো এক্সপোজারের সাথে সাথে সুনির্দিষ্ট রঙের তাপমাত্রা এবং টিন্ট অ্যাডজাস্টমেন্টের সুযোগ করে দেয়। একটি নতুন নাইট মোড ইন্ডিকেটর আপনার অ্যাপকে কখন নাইট মোড ক্যামেরা সেশনে যেতে হবে এবং কখন থেকে যেতে হবে তা জানতে সাহায্য করে। নতুন Intent অ্যাকশন মোশন ফটো তোলা সহজ করে তোলে এবং আমরা HEIC এনকোডিং এবং ISO 21496-1 ড্রাফ্ট স্ট্যান্ডার্ড থেকে নতুন প্যারামিটার সমর্থন করে UltraHDR ছবি উন্নত করার কাজ চালিয়ে যাচ্ছি।
হাইব্রিড অটো-এক্সপোজার
Android 16 Camera2- তে নতুন হাইব্রিড অটো-এক্সপোজার মোড যোগ করে, যা আপনাকে অটো-এক্সপোজার (AE) অ্যালগরিদমকে বাকিগুলি পরিচালনা করতে দিয়ে এক্সপোজারের নির্দিষ্ট দিকগুলিকে ম্যানুয়ালি নিয়ন্ত্রণ করতে দেয়৷ আপনি ISO + AE , এবং এক্সপোজার সময় + AE নিয়ন্ত্রণ করতে পারেন, বর্তমান পদ্ধতির তুলনায় বৃহত্তর নমনীয়তা প্রদান করে যেখানে আপনার হয় সম্পূর্ণ ম্যানুয়াল নিয়ন্ত্রণ রয়েছে বা সম্পূর্ণরূপে স্বয়ংক্রিয় এক্সপোজারের উপর নির্ভর করে।
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:
ক্যামেরা নাইট মোড দৃশ্য সনাক্তকরণ
নাইট মোড ক্যামেরা সেশনে কখন স্যুইচ করতে হবে তা জানতে আপনার অ্যাপকে সাহায্য করতে, Android 16 যোগ করে EXTENSION_NIGHT_MODE_INDICATOR । সমর্থিত হলে, এটি Camera2-এর মধ্যে CaptureResult এ উপলব্ধ।
এটি হল এপিআই যা আমরা সংক্ষেপে উল্লেখ করেছি যে শীঘ্রই আসছে ইনস্টাগ্রাম ব্যবহারকারীদের অত্যাশ্চর্য কম আলোর ফটো ব্লগ পোস্ট নিতে সক্ষম করেছে ৷ এই পোস্টটি একটি কেস স্টাডির সাথে একসাথে নাইট মোড কীভাবে প্রয়োগ করা যায় তার একটি ব্যবহারিক নির্দেশিকা যা অ্যাপ-মধ্যস্থ ক্যামেরা থেকে শেয়ার করা ফটোগুলির সংখ্যা বৃদ্ধির সাথে উচ্চ মানের ইন-অ্যাপ নাইট মোড ফটোগুলিকে লিঙ্ক করে।
মোশন ফটো ক্যাপচারের উদ্দেশ্যমূলক অ্যাকশন
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).
UltraHDR ইমেজ এনহ্যান্সমেন্ট

অ্যান্ড্রয়েড 16 আল্ট্রাএইচডিআর ইমেজের সাথে চমকপ্রদ ইমেজ কোয়ালিটি প্রদানের জন্য আমাদের কাজ চালিয়ে যাচ্ছে। এটি HEIC ফাইল বিন্যাসে আল্ট্রাএইচডিআর চিত্রগুলির জন্য সমর্থন যোগ করে। এই ছবিগুলি ImageFormat টাইপ HEIC_ULTRAHDR পাবে এবং বিদ্যমান UltraHDR JPEG ফর্ম্যাটের মতো একটি এমবেডেড গেইনম্যাপ থাকবে৷ আমরা UltraHDR এর জন্য AVIF সমর্থনেও কাজ করছি, তাই সাথে থাকুন।
এছাড়াও, Android 16 ISO 21496-1 ড্রাফ্ট স্ট্যান্ডার্ড থেকে UltraHDR-এ অতিরিক্ত পরামিতি প্রয়োগ করে, যার মধ্যে গেইনম্যাপ গণিত প্রয়োগ করা উচিত এমন কালারস্পেস পাওয়ার এবং সেট করার ক্ষমতা, সেইসাথে SDR গেইনম্যাপের সাথে HDR এনকোডেড বেস ইমেজগুলির জন্য সমর্থন।
গ্রাফিক্স
অ্যান্ড্রয়েড ১৬-তে সর্বশেষ গ্রাফিক্স উন্নতি অন্তর্ভুক্ত রয়েছে, যেমন 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 প্ল্যাটফর্মটি আপডেট করে।
উন্নত নিরাপত্তার সাথে সজ্জিত
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.
জেনেরিক রেঞ্জিং API গুলি
Android 16-এ নতুন RangingManager অন্তর্ভুক্ত রয়েছে, যা স্থানীয় ডিভাইস এবং দূরবর্তী ডিভাইসের মধ্যে সমর্থিত হার্ডওয়্যারের দূরত্ব এবং কোণ নির্ধারণ করার উপায় প্রদান করে। RangingManager বিএলই চ্যানেল সাউন্ডিং, বিএলই আরএসএসআই-ভিত্তিক রেঞ্জিং, আল্ট্রা ওয়াইডব্যান্ড এবং ওয়াই-ফাই রাউন্ড ট্রিপ টাইম-এর মতো বিভিন্ন রেঞ্জিং প্রযুক্তির ব্যবহার সমর্থন করে।
কম্প্যানিয়ন ডিভাইস ম্যানেজার ডিভাইসের উপস্থিতি
অ্যান্ড্রয়েড 16-এ, আপনার সঙ্গী অ্যাপ পরিষেবাকে আবদ্ধ করার জন্য নতুন API চালু করা হচ্ছে। BLE সীমার মধ্যে থাকলে এবং ব্লুটুথ সংযুক্ত থাকলে পরিষেবা আবদ্ধ হবে এবং BLE সীমার বাইরে থাকলে বা ব্লুটুথ সংযোগ বিচ্ছিন্ন হলে পরিষেবা আনবাউন্ড হবে৷ অ্যাপটি বিভিন্ন DevicePresenceEvent উপর ভিত্তি করে একটি নতুন 'onDevicePresenceEvent()' কলব্যাক পাবে। আরও বিশদ বিবরণ '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.
উন্নত পেশাদার ভিডিও
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 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গুলিকে তাদের পরিবেশন করা অ্যাপ থেকে আলাদা একটি ডেডিকেটেড রানটাইম পরিবেশে চালানোর অনুমতি দেয়, ব্যবহারকারীর ডেটা সংগ্রহ এবং ভাগ করে নেওয়ার ক্ষেত্রে শক্তিশালী সুরক্ষা প্রদান করে৷
নিরাপত্তা
অ্যান্ড্রয়েড ১৬-তে এমন বৈশিষ্ট্য রয়েছে যা আপনার অ্যাপের নিরাপত্তা উন্নত করতে এবং আপনার অ্যাপের ডেটা সুরক্ষিত রাখতে সাহায্য করে।
কী শেয়ারিং API
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.
ডিভাইস ফর্ম ফ্যাক্টর
অ্যান্ড্রয়েড ১৬ আপনার অ্যাপগুলিকে অ্যান্ড্রয়েডের ফর্ম ফ্যাক্টরগুলি থেকে সর্বাধিক সুবিধা পেতে সহায়তা দেয়।
টিভির জন্য মানসম্মত ছবি এবং অডিও মানের কাঠামো
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 মিমি" যিনি তাদের ফোন ইংরেজিতে (ডেনমার্ক) সেট করেছেন বা যিনি তাদের ফোন ইংরেজিতে (মার্কিন যুক্তরাষ্ট্র) মেট্রিক সিস্টেমের সাথে পরিমাপ পদ্ধতির পছন্দ হিসেবে ব্যবহার করেন।
এই সেটিংস খুঁজতে, সেটিংস অ্যাপ খুলুন এবং সিস্টেম > ভাষা ও অঞ্চলে নেভিগেট করুন।