বৈশিষ্ট্য এবং APIs ওভারভিউ

অ্যান্ড্রয়েড 15 ডেভেলপারদের জন্য দুর্দান্ত বৈশিষ্ট্য এবং এপিআই প্রবর্তন করে। নিম্নলিখিত বিভাগগুলি আপনাকে সম্পর্কিত APIগুলির সাথে শুরু করতে সহায়তা করার জন্য এই বৈশিষ্ট্যগুলিকে সংক্ষিপ্ত করে৷

যোগ করা, পরিবর্তিত এবং সরানো API-এর বিস্তারিত তালিকার জন্য, API ডিফ রিপোর্ট পড়ুন। যোগ করা APIগুলির বিশদ বিবরণের জন্য Android API রেফারেন্সে যান — Android 15-এর জন্য, API স্তর 35-এ যোগ করা APIগুলি সন্ধান করুন৷ প্ল্যাটফর্মের পরিবর্তনগুলি আপনার অ্যাপ্লিকেশানগুলিকে প্রভাবিত করতে পারে এমন অঞ্চলগুলি সম্পর্কে জানতে, Android 15 এবং সমস্ত অ্যাপ্লিকেশানকে লক্ষ্য করে এমন অ্যাপগুলির জন্য Android 15 আচরণের পরিবর্তনগুলি পরীক্ষা করে দেখুন৷

ক্যামেরা এবং মিডিয়া

Android 15-এ বিভিন্ন ধরনের বৈশিষ্ট্য রয়েছে যা ক্যামেরা এবং মিডিয়ার অভিজ্ঞতাকে উন্নত করে এবং যেগুলি আপনাকে Android-এ তাদের দৃষ্টিভঙ্গি বাস্তবায়িত করতে নির্মাতাদের সহায়তা করার জন্য টুল এবং হার্ডওয়্যার অ্যাক্সেস দেয়।

অ্যান্ড্রয়েড মিডিয়া এবং ক্যামেরার জন্য সর্বশেষ বৈশিষ্ট্য এবং বিকাশকারী সমাধান সম্পর্কে আরও জানতে, Google I/O থেকে বিল্ডিং আধুনিক অ্যান্ড্রয়েড মিডিয়া এবং ক্যামেরা অভিজ্ঞতা টক দেখুন৷

কম আলো বুস্ট

Android 15 introduces Low Light Boost, an auto-exposure mode available to both Camera 2 and the night mode camera extension. Low Light Boost adjusts the exposure of the Preview stream in low-light conditions. This is different from how the night mode camera extension creates still images, because night mode combines a burst of photos to create a single, enhanced image. While night mode works very well for creating a still image, it can't create a continuous stream of frames, but Low Light Boost can. Thus, Low Light Boost enables camera capabilities, such as:

  • Providing an enhanced image preview, so users are better able to frame their low-light pictures
  • Scanning QR codes in low light

If you enable Low Light Boost, it automatically turns on when there's a low light level, and turns off when there's more light.

Apps can record off the Preview stream in low-light conditions to save a brightened video.

For more information, see Low Light Boost.

ইন-অ্যাপ ক্যামেরা নিয়ন্ত্রণ

Android 15 adds an extension for more control over the camera hardware and its algorithms on supported devices:

  • Advanced flash strength adjustments enabling precise control of flash intensity in both SINGLE and TORCH modes while capturing images.

এইচডিআর হেডরুম নিয়ন্ত্রণ

Android 15 chooses HDR headroom that is appropriate for the underlying device capabilities and bit-depth of the panel. For pages that have lots of SDR content, such as a messaging app displaying a single HDR thumbnail, this behavior can end up adversely influencing the perceived brightness of the SDR content. Android 15 lets you control the HDR headroom with setDesiredHdrHeadroom to strike a balance between SDR and HDR content.

The brightness of SDR UI elements on the left screen appears to be more uniform than the brightness on the right screen, which simulates possible headroom issues when HDR and SDR content are mixed. By adjusting the HDR headroom, you can achieve a better balance between the SDR and HDR content.

উচ্চস্বরে নিয়ন্ত্রণ

Android 15 introduces support for the CTA-2075 loudness standard to help you avoid audio loudness inconsistencies and ensure users don't have to constantly adjust volume when switching between content. The system leverages known characteristics of the output devices (headphones and speaker) along with loudness metadata available in AAC audio content to intelligently adjust the audio loudness and dynamic range compression levels.

To enable this feature, you need to ensure loudness metadata is available in your AAC content and enable the platform feature in your app. For this, you instantiate a LoudnessCodecController object by calling its create factory method with the audio session ID from the associated AudioTrack; this automatically starts applying audio updates. You can pass an OnLoudnessCodecUpdateListener to modify or filter loudness parameters before they are applied on the MediaCodec.

// Media contains metadata of type MPEG_4 OR MPEG_D
val mediaCodec = 
val audioTrack = AudioTrack.Builder()
                                .setSessionId(sessionId)
                                .build()
...
// Create new loudness controller that applies the parameters to the MediaCodec
try {
   val lcController = LoudnessCodecController.create(mSessionId)
   // Starts applying audio updates for each added MediaCodec
}

AndroidX media3 ExoPlayer will also be updated to use the LoudnessCodecController APIs for a seamless app integration.

ভার্চুয়াল MIDI 2.0 ডিভাইস

Android 13 added support for connecting to MIDI 2.0 devices using USB, which communicate using Universal MIDI Packets (UMP). Android 15 extends UMP support to virtual MIDI apps, enabling composition apps to control synthesizer apps as a virtual MIDI 2.0 device just like they would with an USB MIDI 2.0 device.

আরও দক্ষ AV1 সফ্টওয়্যার ডিকোডিং

dav1d লোগো

dav1d , VideoLAN-এর জনপ্রিয় AV1 সফ্টওয়্যার ডিকোডার Android ডিভাইসগুলির জন্য উপলব্ধ যা হার্ডওয়্যারে AV1 ডিকোড সমর্থন করে না। dav1d লিগ্যাসি AV1 সফ্টওয়্যার ডিকোডারের চেয়ে 3 গুণ বেশি পারফরম্যান্ট, কিছু নিম্ন এবং মধ্য স্তরের ডিভাইস সহ আরও ব্যবহারকারীদের জন্য HD AV1 প্লেব্যাক সক্ষম করে৷

আপনার অ্যাপটিকে "c2.android.av1-dav1d.decoder" নামে ডাকার মাধ্যমে dav1d ব্যবহার করতে অপ্ট-ইন করতে হবে। পরবর্তী আপডেটে dav1d কে ডিফল্ট AV1 সফ্টওয়্যার ডিকোডার করা হবে। এই সমর্থনটি প্রমিত এবং Android 11 ডিভাইসগুলিতে ব্যাকপোর্ট করা হয়েছে যা Google Play সিস্টেম আপডেটগুলি গ্রহণ করে।

বিকাশকারীর উত্পাদনশীলতা এবং সরঞ্জাম

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

OpenJDK 17 আপডেট

Android 15 সর্বশেষ OpenJDK LTS রিলিজের বৈশিষ্ট্যগুলির সাথে সারিবদ্ধ করার জন্য Android এর মূল লাইব্রেরিগুলিকে রিফ্রেশ করার কাজ চালিয়ে যাচ্ছে।

নিম্নলিখিত মূল বৈশিষ্ট্য এবং উন্নতি অন্তর্ভুক্ত করা হয়েছে:

এই APIগুলি Google Play সিস্টেম আপডেটের মাধ্যমে Android 12 (API স্তর 31) এবং উচ্চতর চলমান এক বিলিয়নেরও বেশি ডিভাইসে আপডেট করা হয়, যাতে আপনি সর্বশেষ প্রোগ্রামিং বৈশিষ্ট্যগুলি লক্ষ্য করতে পারেন৷

PDF উন্নতি

Android 15-এ PdfRenderer API-এর উল্লেখযোগ্য উন্নতি রয়েছে। অ্যাপগুলি পাসওয়ার্ড-সুরক্ষিত ফাইল রেন্ডারিং, টীকা, ফর্ম সম্পাদনা , অনুসন্ধান এবং অনুলিপি সহ নির্বাচনের মতো উন্নত বৈশিষ্ট্যগুলিকে অন্তর্ভুক্ত করতে পারে৷ লিনিয়ারাইজড পিডিএফ অপ্টিমাইজেশানগুলি স্থানীয় পিডিএফ দেখার গতি এবং সম্পদের ব্যবহার কমাতে সমর্থিত। জেটপ্যাক পিডিএফ লাইব্রেরি আপনার অ্যাপে পিডিএফ দেখার ক্ষমতা যোগ করা সহজ করতে এই APIগুলি ব্যবহার করে।

পিডিএফ রেন্ডারিংয়ের সর্বশেষ আপডেটগুলির মধ্যে একটি এমবেডেড পিডিএফ ফাইল অনুসন্ধান করার মতো বৈশিষ্ট্যগুলি অন্তর্ভুক্ত রয়েছে।

PdfRenderer একটি মডিউলে সরানো হয়েছে যা প্ল্যাটফর্ম রিলিজ ছাড়া Google Play সিস্টেম আপডেটগুলি ব্যবহার করে আপডেট করা যেতে পারে, এবং আমরা এই পরিবর্তনগুলিকে Android 11 (API স্তর 30)-এ একটি সামঞ্জস্যপূর্ণ প্রি-Android 15 সংস্করণ তৈরি করে সমর্থন করছি। API পৃষ্ঠ, PdfRendererPreV নামে পরিচিত।

,

Android 15-এ PdfRenderer API-এর উল্লেখযোগ্য উন্নতি রয়েছে। অ্যাপগুলি পাসওয়ার্ড-সুরক্ষিত ফাইল রেন্ডারিং, টীকা, ফর্ম সম্পাদনা , অনুসন্ধান এবং অনুলিপি সহ নির্বাচনের মতো উন্নত বৈশিষ্ট্যগুলিকে অন্তর্ভুক্ত করতে পারে৷ লিনিয়ারাইজড পিডিএফ অপ্টিমাইজেশানগুলি স্থানীয় পিডিএফ দেখার গতি এবং সম্পদের ব্যবহার কমাতে সমর্থিত। জেটপ্যাক পিডিএফ লাইব্রেরি আপনার অ্যাপে পিডিএফ দেখার ক্ষমতা যোগ করা সহজ করতে এই APIগুলি ব্যবহার করে।

পিডিএফ রেন্ডারিংয়ের সর্বশেষ আপডেটগুলির মধ্যে একটি এমবেডেড পিডিএফ ফাইল অনুসন্ধান করার মতো বৈশিষ্ট্যগুলি অন্তর্ভুক্ত রয়েছে।

PdfRenderer একটি মডিউলে সরানো হয়েছে যা প্ল্যাটফর্ম রিলিজ ছাড়া Google Play সিস্টেম আপডেটগুলি ব্যবহার করে আপডেট করা যেতে পারে, এবং আমরা এই পরিবর্তনগুলিকে Android 11 (API স্তর 30)-এ একটি সামঞ্জস্যপূর্ণ প্রি-Android 15 সংস্করণ তৈরি করে সমর্থন করছি। API পৃষ্ঠ, PdfRendererPreV নামে পরিচিত।

,

Android 15-এ PdfRenderer API-এর উল্লেখযোগ্য উন্নতি রয়েছে। অ্যাপগুলি পাসওয়ার্ড-সুরক্ষিত ফাইল রেন্ডারিং, টীকা, ফর্ম সম্পাদনা , অনুসন্ধান এবং অনুলিপি সহ নির্বাচনের মতো উন্নত বৈশিষ্ট্যগুলিকে অন্তর্ভুক্ত করতে পারে৷ লিনিয়ারাইজড পিডিএফ অপ্টিমাইজেশানগুলি স্থানীয় পিডিএফ দেখার গতি এবং সম্পদের ব্যবহার কমাতে সমর্থিত। জেটপ্যাক পিডিএফ লাইব্রেরি আপনার অ্যাপে পিডিএফ দেখার ক্ষমতা যোগ করা সহজ করতে এই APIগুলি ব্যবহার করে।

পিডিএফ রেন্ডারিংয়ের সর্বশেষ আপডেটগুলির মধ্যে একটি এমবেডেড পিডিএফ ফাইল অনুসন্ধান করার মতো বৈশিষ্ট্যগুলি অন্তর্ভুক্ত রয়েছে।

PdfRenderer একটি মডিউলে সরানো হয়েছে যা প্ল্যাটফর্ম রিলিজ ছাড়া Google Play সিস্টেম আপডেটগুলি ব্যবহার করে আপডেট করা যেতে পারে, এবং আমরা এই পরিবর্তনগুলিকে Android 11 (API স্তর 30)-এ একটি সামঞ্জস্যপূর্ণ প্রি-Android 15 সংস্করণ তৈরি করে সমর্থন করছি। API পৃষ্ঠ, PdfRendererPreV নামে পরিচিত।

স্বয়ংক্রিয় ভাষা পরিবর্তন পরিমার্জন

Android 14 added on-device, multi-language recognition in audio with automatic switching between languages, but this can cause words to get dropped, especially when languages switch with less of a pause between the two utterances. Android 15 adds additional controls to help apps tune this switching to their use case. EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS confines the automatic switching to the beginning of the audio session, while EXTRA_LANGUAGE_SWITCH_MATCH_SWITCHES deactivates the language switching after a defined number of switches. These options are particularly useful if you expect that there will be a single language spoken during the session that should be autodetected.

উন্নত OpenType ভেরিয়েবল ফন্ট API

Android 15 OpenType ভেরিয়েবল ফন্টের ব্যবহারযোগ্যতা উন্নত করে। আপনি buildVariableFamily API এর সাথে ওজন অক্ষ উল্লেখ না করে একটি পরিবর্তনশীল ফন্ট থেকে একটি FontFamily উদাহরণ তৈরি করতে পারেন। টেক্সট রেন্ডারার প্রদর্শন করা টেক্সট মেলে wght অক্ষের মান ওভাররাইড করে।

এপিআই ব্যবহার করে একটি Typeface তৈরির জন্য কোডটিকে যথেষ্ট সরল করে:

কোটলিন

val newTypeface = Typeface.CustomFallbackBuilder(
            FontFamily.Builder(
                Font.Builder(assets, "RobotoFlex.ttf").build())
                    .buildVariableFamily())
    .build()

জাভা

Typeface newTypeface = Typeface.CustomFallbackBuilder(
            new FontFamily.Builder(
                new Font.Builder(assets, "RobotoFlex.ttf").build())
                    .buildVariableFamily())
    .build();

পূর্বে, একই Typeface তৈরি করতে, আপনার আরও অনেক কোডের প্রয়োজন হবে:

কোটলিন

val oldTypeface = Typeface.CustomFallbackBuilder(
            FontFamily.Builder(
                Font.Builder(assets, "RobotoFlex.ttf")
                    .setFontVariationSettings("'wght' 400")
                    .setWeight(400)
                    .build())
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 100")
                        .setWeight(100)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 200")
                        .setWeight(200)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 300")
                        .setWeight(300)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 500")
                        .setWeight(500)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 600")
                        .setWeight(600)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 700")
                        .setWeight(700)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 800")
                        .setWeight(800)
                        .build()
                )
                .addFont(
                    Font.Builder(assets, "RobotoFlex.ttf")
                        .setFontVariationSettings("'wght' 900")
                        .setWeight(900)
                        .build()
                ).build()
        ).build()

জাভা

Typeface oldTypeface = new Typeface.CustomFallbackBuilder(
    new FontFamily.Builder(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 400")
            .setWeight(400)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 100")
            .setWeight(100)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 200")
            .setWeight(200)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 300")
            .setWeight(300)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 500")
            .setWeight(500)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 600")
            .setWeight(600)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 700")
            .setWeight(700)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 800")
            .setWeight(800)
            .build()
    )
    .addFont(
        new Font.Builder(assets, "RobotoFlex.ttf")
            .setFontVariationSettings("'wght' 900")
            .setWeight(900)
            .build()
    )
    .build()
).build();

পুরানো এবং নতুন উভয় API এর সাথে কীভাবে একটি Typeface তৈরি হয় তার একটি উদাহরণ এখানে দেওয়া হল:

নতুন এবং পুরানো API ব্যবহার করে টাইপফেস রেন্ডারিং কীভাবে আলাদা তার একটি উদাহরণ

এই উদাহরণে, পুরানো API দিয়ে তৈরি করা Typeface 350, 450, 550 এবং 650 Font উদাহরণগুলির জন্য সঠিক ফন্টের ওজন তৈরি করার ক্ষমতা রাখে না, তাই রেন্ডারার সবচেয়ে কাছের ওজনে ফিরে আসে। সুতরাং এই ক্ষেত্রে, 350 এর পরিবর্তে 300 রেন্ডার করা হয়, 450 এর পরিবর্তে 400 রেন্ডার করা হয়, ইত্যাদি। বিপরীতে, নতুন এপিআইগুলির সাথে তৈরি Typeface গতিশীলভাবে একটি প্রদত্ত ওজনের জন্য একটি Font উদাহরণ তৈরি করে, তাই সঠিক ওজন 350, 450, 550 এবং 650 এর জন্যও রেন্ডার করা হয়।

দানাদার লাইন বিরতি নিয়ন্ত্রণ

Starting in Android 15, a TextView and the underlying line breaker can preserve the given portion of text in the same line to improve readability. You can take advantage of this line break customization by using the <nobreak> tag in string resources or createNoBreakSpan. Similarly, you can preserve words from hyphenation by using the <nohyphen> tag or createNoHyphenationSpan.

For example, the following string resource doesn't include a line break, and renders with the text "Pixel 8 Pro." breaking in an undesirable place:

<resources>
    <string name="pixel8pro">The power and brains behind Pixel 8 Pro.</string>
</resources>

In contrast, this string resource includes the <nobreak> tag, which wraps the phrase "Pixel 8 Pro." and prevents line breaks:

<resources>
    <string name="pixel8pro">The power and brains behind <nobreak>Pixel 8 Pro.</nobreak></string>
</resources>

The difference in how these strings are rendered is shown in the following images:

Layout for a line of text where the phrase "Pixel 8 Pro." isn't wrapped using a <nobreak> tag.
Layout for the same line of text where the phrase "Pixel 8 Pro." is wrapped using a <nobreak> tag.

অ্যাপ সংরক্ষণাগার

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

REQUEST_DELETE_PACKAGES অনুমতি সহ অ্যাপগুলি একটি ইনস্টল করা অ্যাপ প্যাকেজ সংরক্ষণাগার করার অনুরোধ করতে PackageInstaller requestArchive পদ্ধতিতে কল করতে পারে, যা APK এবং যেকোন ক্যাশে করা ফাইলগুলিকে সরিয়ে দেয়, কিন্তু ব্যবহারকারীর ডেটা বজায় রাখে। আর্কাইভ করা অ্যাপগুলি LauncherApps API-এর মাধ্যমে প্রদর্শনযোগ্য অ্যাপ হিসেবে ফেরত দেওয়া হয়; ব্যবহারকারীরা হাইলাইট করার জন্য একটি UI ট্রিটমেন্ট দেখতে পাবেন যে সেই অ্যাপগুলি আর্কাইভ করা হয়েছে। যদি একজন ব্যবহারকারী একটি সংরক্ষণাগারভুক্ত অ্যাপে ট্যাপ করে, তাহলে দায়ী ইনস্টলার এটিকে আনআর্কাইভ করার জন্য একটি অনুরোধ পাবেন, এবং পুনরুদ্ধার প্রক্রিয়াটি ACTION_PACKAGE_ADDED সম্প্রচার দ্বারা নিরীক্ষণ করা যেতে পারে৷

Enable 16 KB mode on a device using developer options

Toggle the Boot with 16KB page size developer option to boot a device in 16 KB mode.

Starting with Android 15 QPR1, you can use the developer option that's available on certain devices to boot the device in 16 KB mode and perform on-device testing. Before using the developer option, go to Settings -> System -> Software updates and apply any updates which are available.

This developer option is available on the following devices:

  • Pixel 8 and 8 Pro (with Android 15 QPR1 or higher)

    Warning: Due to a known issue with Android 15 QPR2 Beta 3, the touchscreen doesn't work on Pixel 8 devices after installing Android 15 QPR2 Beta 3 and booting the device in 16 KB mode. This issue doesn't affect Pixel 8 Pro devices.

  • Pixel 8a (with Android 15 QPR1 or higher)

    Warning: Due to a known issue with Android 15 QPR2 Beta 3, the touchscreen doesn't work on Pixel 8a devices after installing Android 15 QPR2 Beta 3 and booting the device in 16 KB mode.

  • Pixel 9, 9 Pro, and 9 Pro XL (with Android 15 QPR2 Beta 2 or higher)

গ্রাফিক্স

Android 15 ক্যানভাস গ্রাফিক্স সিস্টেমে ANGLE এবং সংযোজন সহ সাম্প্রতিক গ্রাফিক্স উন্নতি নিয়ে আসে।

অ্যান্ড্রয়েডের জিপিইউ অ্যাক্সেসের আধুনিকীকরণ

ভলকান লোগো

অ্যান্ড্রয়েড হার্ডওয়্যার প্রাথমিক দিনগুলি থেকে বেশ কিছুটা বিবর্তিত হয়েছে যেখানে মূল ওএস একটি একক সিপিইউতে চলবে এবং ফিক্সড-ফাংশন পাইপলাইনগুলির উপর ভিত্তি করে এপিআই ব্যবহার করে জিপিইউগুলি অ্যাক্সেস করা হয়েছিল। Vulkan® গ্রাফিক্স API NDK- এ Android 7.0 (API স্তর 24) থেকে একটি নিম্ন-স্তরের বিমূর্ততা সহ উপলব্ধ রয়েছে যা আধুনিক GPU হার্ডওয়্যারকে আরও ভালভাবে প্রতিফলিত করে, একাধিক CPU কোরকে সমর্থন করার জন্য আরও ভাল স্কেল করে এবং কম CPU ড্রাইভার ওভারহেড অফার করে — যা উন্নত করার দিকে নিয়ে যায় অ্যাপ্লিকেশন কর্মক্ষমতা। ভলকান সমস্ত আধুনিক গেম ইঞ্জিন দ্বারা সমর্থিত।

ভলকান হল জিপিইউ-তে অ্যান্ড্রয়েডের পছন্দের ইন্টারফেস। অতএব, Vulkan এর উপরে OpenGL® ES চালানোর জন্য Android 15 একটি ঐচ্ছিক স্তর হিসাবে ANGLE অন্তর্ভুক্ত করে। ANGLE-এ সরানো উন্নত সামঞ্জস্যের জন্য Android OpenGL বাস্তবায়নকে মানসম্মত করবে, এবং কিছু ক্ষেত্রে, উন্নত কর্মক্ষমতা। আপনি সেটিংস -> সিস্টেম -> বিকাশকারী বিকল্প -> পরীক্ষামূলক: Android 15 এ ANGLE সক্ষম করে বিকাশকারী বিকল্পটি সক্ষম করে ANGLE এর সাথে আপনার OpenGL ES অ্যাপের স্থায়িত্ব এবং কার্যকারিতা পরীক্ষা করতে পারেন।

ভলকান রোডম্যাপে Android ANGLE

Android GPU API-তে আসন্ন পরিবর্তনের রোডম্যাপ।

আমাদের GPU স্ট্যাককে স্ট্রীমলাইন করার অংশ হিসাবে, সামনের দিকে আমরা আরও নতুন ডিভাইসে GL সিস্টেম ড্রাইভার হিসাবে ANGLE শিপিং করব, ভবিষ্যতের প্রত্যাশার সাথে OpenGL/ES শুধুমাত্র ANGLE এর মাধ্যমে উপলব্ধ হবে। বলা হচ্ছে, আমরা সব ডিভাইসে OpenGL ES-এর জন্য সমর্থন চালিয়ে যাওয়ার পরিকল্পনা করছি।

প্রস্তাবিত পরবর্তী পদক্ষেপ

OpenGL ES এর জন্য ANGLE ড্রাইভার নির্বাচন করতে এবং আপনার অ্যাপ পরীক্ষা করতে বিকাশকারী বিকল্পগুলি ব্যবহার করুন৷ নতুন প্রকল্পের জন্য, আমরা C/C++ এর জন্য ভলকান ব্যবহারকে দৃঢ়ভাবে উৎসাহিত করি।

ক্যানভাসের জন্য উন্নতি

Android 15 অতিরিক্ত ক্ষমতা সহ Android এর ক্যানভাস গ্রাফিক্স সিস্টেমের আমাদের আধুনিকীকরণ অব্যাহত রেখেছে:

  • Matrix44 স্থানাঙ্ক রূপান্তরের জন্য একটি 4x4 ম্যাট্রিক্স প্রদান করে যেটি ব্যবহার করা উচিত যখন আপনি 3D তে ক্যানভাসকে ম্যানিপুলেট করতে চান।
  • clipShader বর্তমান ক্লিপকে নির্দিষ্ট শেডারের সাথে ছেদ করে, যখন clipOutShader ক্লিপটিকে বর্তমান ক্লিপ এবং শেডারের পার্থক্যে সেট করে, প্রতিটি শেডারকে আলফা মাস্ক হিসাবে বিবেচনা করে। এটি জটিল আকারের অঙ্কনকে দক্ষতার সাথে সমর্থন করে।

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

অ্যান্ড্রয়েড আপনার অ্যাপ্লিকেশানগুলির কার্যকারিতা এবং গুণমান উন্নত করতে সহায়তা করার উপর তার ফোকাস চালিয়ে যাচ্ছে৷ অ্যান্ড্রয়েড 15 এমন API গুলি প্রবর্তন করে যা আপনার অ্যাপের কাজগুলিকে কার্যকর করতে, অ্যাপের কার্যক্ষমতা অপ্টিমাইজ করতে এবং আপনার অ্যাপ সম্পর্কে অন্তর্দৃষ্টি সংগ্রহ করতে সাহায্য করে।

ব্যাটারি-দক্ষ সর্বোত্তম অনুশীলন, ডিবাগিং নেটওয়ার্ক এবং পাওয়ার ব্যবহার এবং অ্যান্ড্রয়েড 15 এবং অ্যান্ড্রয়েডের সাম্প্রতিক সংস্করণগুলিতে আমরা কীভাবে ব্যাকগ্রাউন্ড কাজের ব্যাটারির দক্ষতা উন্নত করছি তার বিশদ বিবরণের জন্য, Google I/O থেকে Android টক-এ ব্যাকগ্রাউন্ড কাজের ব্যাটারির দক্ষতার উন্নতি দেখুন।

ApplicationStartInfo API

In previous versions of Android, app startup has been a bit of a mystery. It was challenging to determine within your app whether it started from a cold, warm, or hot state. It was also difficult to know how long your app spent during the various launch phases: forking the process, calling onCreate, drawing the first frame, and more. When your Application class was instantiated, you had no way of knowing whether the app started from a broadcast, a content provider, a job, a backup, boot complete, an alarm, or an Activity.

The ApplicationStartInfo API on Android 15 provides all of this and more. You can even choose to add your own timestamps into the flow to help collect timing data in one place. In addition to collecting metrics, you can use ApplicationStartInfo to help directly optimize app startup; for example, you can eliminate the costly instantiation of UI-related libraries within your Application class when your app is starting up due to a broadcast.

বিস্তারিত অ্যাপ্লিকেশন আকার তথ্য

Android 8.0 (API স্তর 26) থেকে, Android StorageStats.getAppBytes API অন্তর্ভুক্ত করেছে যা একটি অ্যাপের ইনস্টল করা আকারকে একক সংখ্যা বাইট হিসাবে সংক্ষিপ্ত করে, যা APK আকারের সমষ্টি, APK থেকে বের করা ফাইলের আকার, এবং ফাইলগুলি যেগুলি ডিভাইসে তৈরি হয়েছিল যেমন আগ-অফ-টাইম (AOT) সংকলিত কোড। আপনার অ্যাপ কীভাবে স্টোরেজ ব্যবহার করছে তার পরিপ্রেক্ষিতে এই সংখ্যাটি খুব অন্তর্দৃষ্টিপূর্ণ নয়।

Android 15 StorageStats.getAppBytesByDataType([type]) API যোগ করে, যা আপনাকে APK ফাইল বিভাজন, AOT এবং স্পিডআপ সম্পর্কিত কোড, ডেক্স মেটাডেটা, লাইব্রেরি এবং নির্দেশিত প্রোফাইল সহ আপনার অ্যাপ কীভাবে সমস্ত স্থান ব্যবহার করছে তার অন্তর্দৃষ্টি পেতে দেয়।

অ্যাপ-পরিচালিত প্রোফাইলিং

Android 15 includes the ProfilingManager class, which lets you collect profiling information from within your app such as heap dumps, heap profiles, stack sampling, and more. It provides a callback to your app with a supplied tag to identify the output file, which is delivered to your app's files directory. The API does rate limiting to minimize the performance impact.

To simplify constructing profiling requests in your app, we recommend using the corresponding Profiling AndroidX API, available in Core 1.15.0-rc01 or higher.

SQLite ডাটাবেসের উন্নতি

Android 15 introduces SQLite APIs that expose advanced features from the underlying SQLite engine that target specific performance issues that can manifest in apps. These APIs are included with the update of SQLite to version 3.44.3.

Developers should consult best practices for SQLite performance to get the most out of their SQLite database, especially when working with large databases or when running latency-sensitive queries.

  • Read-only deferred transactions: when issuing transactions that are read-only (don't include write statements), use beginTransactionReadOnly() and beginTransactionWithListenerReadOnly(SQLiteTransactionListener) to issue read-only DEFERRED transactions. Such transactions can run concurrently with each other, and if the database is in WAL mode, they can run concurrently with IMMEDIATE or EXCLUSIVE transactions.
  • Row counts and IDs: APIs were added to retrieve the count of changed rows or the last inserted row ID without issuing an additional query. getLastChangedRowCount() returns the number of rows that were inserted, updated, or deleted by the most recent SQL statement within the current transaction, while getTotalChangedRowCount() returns the count on the current connection. getLastInsertRowId() returns the rowid of the last row to be inserted on the current connection.
  • Raw statements: issue a raw SQlite statement, bypassing convenience wrappers and any additional processing overhead that they may incur.

অ্যান্ড্রয়েড ডায়নামিক পারফরম্যান্স ফ্রেমওয়ার্ক আপডেট

Android 15 continues our investment in the Android Dynamic Performance Framework (ADPF), a set of APIs that allow games and performance intensive apps to interact more directly with power and thermal systems of Android devices. On supported devices, Android 15 adds ADPF capabilities:

  • A power-efficiency mode for hint sessions to indicate that their associated threads should prefer power saving over performance, great for long-running background workloads.
  • GPU and CPU work durations can both be reported in hint sessions, allowing the system to adjust CPU and GPU frequencies together to best meet workload demands.
  • Thermal headroom thresholds to interpret possible thermal throttling status based on headroom prediction.

To learn more about how to use ADPF in your apps and games, head over to the documentation.

গোপনীয়তা

Android 15-এ বিভিন্ন বৈশিষ্ট্য রয়েছে যা অ্যাপ বিকাশকারীদের ব্যবহারকারীর গোপনীয়তা রক্ষা করতে সহায়তা করে।

স্ক্রীন রেকর্ডিং সনাক্তকরণ

Android 15 adds support for apps to detect that they are being recorded. A callback is invoked whenever the app transitions between being visible or invisible within a screen recording. An app is considered visible if activities owned by the registering process's UID are being recorded. This way, if your app is performing a sensitive operation, you can inform the user that they're being recorded.

val mCallback = Consumer<Int> { state ->
  if (state == SCREEN_RECORDING_STATE_VISIBLE) {
    // We're being recorded
  } else {
    // We're not being recorded
  }
}

override fun onStart() {
   super.onStart()
   val initialState =
      windowManager.addScreenRecordingCallback(mainExecutor, mCallback)
   mCallback.accept(initialState)
}

override fun onStop() {
    super.onStop()
    windowManager.removeScreenRecordingCallback(mCallback)
}

প্রসারিত IntentFilter ক্ষমতা

Android 15 UriRelativeFilterGroup মাধ্যমে আরও সুনির্দিষ্ট Intent রেজোলিউশনের জন্য সমর্থন করে, যাতে UriRelativeFilter অবজেক্টের একটি সেট রয়েছে যা Intent ম্যাচিং নিয়মগুলির একটি সেট তৈরি করে যা প্রত্যেককে অবশ্যই সন্তুষ্ট হতে হবে, যার মধ্যে URL ক্যোয়ারী প্যারামিটার, URL খণ্ড এবং ব্লক করা বা বর্জনের নিয়ম রয়েছে।

এই নিয়মগুলিকে AndroidManifest XML ফাইলে <uri-relative-filter-group> ট্যাগ দিয়ে সংজ্ঞায়িত করা যেতে পারে, যা ঐচ্ছিকভাবে একটি android:allow ট্যাগ অন্তর্ভুক্ত করতে পারে। এই ট্যাগগুলিতে <data> ট্যাগ থাকতে পারে যা বিদ্যমান ডেটা ট্যাগ বৈশিষ্ট্যগুলির পাশাপাশি android:query এবং android:fragment বৈশিষ্ট্যগুলি ব্যবহার করে৷

এখানে AndroidManifest সিনট্যাক্সের একটি উদাহরণ:

<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data android:scheme="http" />
  <data android:scheme="https" />
  <data android:domain="astore.com" />
  <uri-relative-filter-group>
    <data android:pathPrefix="/auth" />
    <data android:query="region=na" />
  </uri-relative-filter-group>
  <uri-relative-filter-group android:allow="false">
    <data android:pathPrefix="/auth" />
    <data android:query="mobileoptout=true" />
  </uri-relative-filter-group>
  <uri-relative-filter-group android:allow="false">
    <data android:pathPrefix="/auth" />
    <data android:fragmentPrefix="faq" />
  </uri-relative-filter-group>
</intent-filter>

ব্যক্তিগত স্থান

একটি ডিভাইসে সংবেদনশীল অ্যাপ দেখাতে বা লুকানোর জন্য ব্যক্তিগত স্থানটি আনলক এবং লক করা যেতে পারে।

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

ব্যক্তিগত স্থানের অ্যাপ্লিকেশনগুলি লঞ্চারে একটি পৃথক পাত্রে প্রদর্শিত হয় এবং ব্যক্তিগত স্থানটি লক করা অবস্থায় সাম্প্রতিক দৃশ্য, বিজ্ঞপ্তি, সেটিংস এবং অন্যান্য অ্যাপ্লিকেশন থেকে লুকিয়ে থাকে৷ ব্যবহারকারী দ্বারা তৈরি এবং ডাউনলোড করা সামগ্রী (যেমন মিডিয়া বা ফাইল) এবং অ্যাকাউন্টগুলি ব্যক্তিগত স্থান এবং প্রধান স্থানের মধ্যে পৃথক করা হয়। সিস্টেম শেয়ারশীট এবং ফটো পিকার ব্যবহার করা যেতে পারে অ্যাপগুলিকে স্পেস জুড়ে সামগ্রীতে অ্যাক্সেস দেওয়ার জন্য যখন ব্যক্তিগত স্থানটি আনলক করা থাকে।

ব্যবহারকারীরা বিদ্যমান অ্যাপ এবং তাদের ডেটা ব্যক্তিগত স্থানে সরাতে পারবেন না। পরিবর্তে, ব্যবহারকারীরা তাদের পছন্দের অ্যাপ স্টোর ব্যবহার করে একটি অ্যাপ ইনস্টল করতে ব্যক্তিগত স্থানে একটি ইনস্টল বিকল্প নির্বাচন করেন। প্রাইভেট স্পেসে অ্যাপগুলি মূল স্পেসের যেকোন অ্যাপ থেকে আলাদা কপি হিসেবে ইনস্টল করা হয় (একই অ্যাপের নতুন কপি)।

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

আমরা সুপারিশ করছি যে আপনি আপনার অ্যাপটি প্রত্যাশিতভাবে কাজ করে তা নিশ্চিত করতে ব্যক্তিগত স্থান দিয়ে আপনার অ্যাপটি পরীক্ষা করুন, বিশেষ করে যদি আপনার অ্যাপ নিম্নলিখিত বিভাগগুলির মধ্যে একটিতে পড়ে:

নির্বাচিত ফটো অ্যাক্সেসের জন্য সাম্প্রতিক ব্যবহারকারী নির্বাচনের জন্য জিজ্ঞাসা করুন

মিডিয়া অনুমতিগুলিতে আংশিক অ্যাক্সেস দেওয়া হলে অ্যাপগুলি এখন শুধুমাত্র সাম্প্রতিক-নির্বাচিত ফটো এবং ভিডিওগুলিকে হাইলাইট করতে পারে৷ এই বৈশিষ্ট্যটি এমন অ্যাপগুলির জন্য ব্যবহারকারীর অভিজ্ঞতা উন্নত করতে পারে যেগুলি প্রায়শই ফটো এবং ভিডিওগুলিতে অ্যাক্সেসের অনুরোধ করে৷ আপনার অ্যাপে এই বৈশিষ্ট্যটি ব্যবহার করতে, ContentResolver মাধ্যমে MediaStore জিজ্ঞাসা করার সময় QUERY_ARG_LATEST_SELECTION_ONLY আর্গুমেন্টটি সক্ষম করুন।

কোটলিন

val externalContentUri = MediaStore.Files.getContentUri("external")

val mediaColumns = arrayOf(
   FileColumns._ID,
   FileColumns.DISPLAY_NAME,
   FileColumns.MIME_TYPE,
)

val queryArgs = bundleOf(
   // Return only items from the last selection (selected photos access)
   QUERY_ARG_LATEST_SELECTION_ONLY to true,
   // Sort returned items chronologically based on when they were added to the device's storage
   QUERY_ARG_SQL_SORT_ORDER to "${FileColumns.DATE_ADDED} DESC",
   QUERY_ARG_SQL_SELECTION to "${FileColumns.MEDIA_TYPE} = ? OR ${FileColumns.MEDIA_TYPE} = ?",
   QUERY_ARG_SQL_SELECTION_ARGS to arrayOf(
       FileColumns.MEDIA_TYPE_IMAGE.toString(),
       FileColumns.MEDIA_TYPE_VIDEO.toString()
   )
)

জাভা

Uri externalContentUri = MediaStore.Files.getContentUri("external");

String[] mediaColumns = {
    FileColumns._ID,
    FileColumns.DISPLAY_NAME,
    FileColumns.MIME_TYPE
};

Bundle queryArgs = new Bundle();
queryArgs.putBoolean(MediaStore.QUERY_ARG_LATEST_SELECTION_ONLY, true);
queryArgs.putString(MediaStore.QUERY_ARG_SQL_SORT_ORDER, FileColumns.DATE_ADDED + " DESC");
queryArgs.putString(MediaStore.QUERY_ARG_SQL_SELECTION, FileColumns.MEDIA_TYPE + " = ? OR " + FileColumns.MEDIA_TYPE + " = ?");
queryArgs.putStringArray(MediaStore.QUERY_ARG_SQL_SELECTION_ARGS, new String[] {
    String.valueOf(FileColumns.MEDIA_TYPE_IMAGE),
    String.valueOf(FileColumns.MEDIA_TYPE_VIDEO)
});

অ্যান্ড্রয়েডে গোপনীয়তা স্যান্ডবক্স

Android 15 includes the latest Android Ad Services extensions, incorporating the latest version of the Privacy Sandbox on Android. This addition is part of our work to develop technologies that improve user privacy and enable effective, personalized advertising experiences for mobile apps. Our privacy sandbox page has more information about the Privacy Sandbox on Android developer preview and beta programs to help you get started.

স্বাস্থ্য সংযোগ

Android 15 integrates the latest extensions around Health Connect by Android, a secure and centralized platform to manage and share app-collected health and fitness data. This update adds support for additional data types across fitness, nutrition, skin temperature, training plans, and more.

Skin temperature tracking allows users to store and share more accurate temperature data from a wearable or other tracking device.

Training plans are structured workout plans to help a user achieve their fitness goals. Training plans support includes a variety of completion and performance goals:

Learn more about the latest updates to Health Connect in Android in the Building adaptable experiences with Android Health talk from Google I/O.

অ্যাপ স্ক্রিন শেয়ারিং

Android 15 supports app screen sharing so users can share or record just an app window rather than the entire device screen. This feature, first enabled in Android 14 QPR2, includes MediaProjection callbacks that allow your app to customize the app screen sharing experience. Note that for apps targeting Android 14 (API level 34) or higher, user consent is required for each MediaProjection capture session.

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

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

আপনার অ্যাপের ব্যবহারকারীর অভিজ্ঞতা উন্নত করতে Android 15-এর সর্বশেষ উন্নতিগুলি কীভাবে ব্যবহার করবেন সে সম্পর্কে আরও জানতে, Google I/O থেকে আপনার Android অ্যাপ টকের ব্যবহারকারীর অভিজ্ঞতা উন্নত করুন দেখুন।

জেনারেটেড প্রিভিউ API সহ আরও সমৃদ্ধ উইজেট পূর্বরূপ

Before Android 15, the only way to provide widget picker previews was to specify a static image or layout resource. These previews often differ significantly from the look of the actual widget when it is placed on the home screen. Also, static resources can't be created with Jetpack Glance, so a Glance developer had to screenshot their widget or create an XML layout to have a widget preview.

Android 15 adds support for generated previews. This means that app widget providers can generate RemoteViews to use as the picker preview, instead of a static resource.

Apps can provide Remote Views to the Widget Picker, so they can update the content in the picker to be more representative of what the user will see.

Push API

Apps can provide generated previews through a push API. Apps can provide previews at any point in their lifecycle, and don't receive an explicit request from the host to provide previews. Previews are persisted in AppWidgetService, and hosts can request them on-demand. The following example loads an XML widget layout resource and sets it as the preview:

AppWidgetManager.getInstance(appContext).setWidgetPreview(
   ComponentName(
       appContext,
       SociaLiteAppWidgetReceiver::class.java
   ),
   AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN,
   RemoteViews("com.example", R.layout.widget_preview)
)

The expected flow is:

  1. At any time, the widget provider calls setWidgetPreview. The provided previews are persisted in AppWidgetService with other provider info.
  2. setWidgetPreview notifies hosts of an updated preview through the AppWidgetHost.onProvidersChanged callback. In response, the widget host reloads all of its provider information.
  3. When displaying a widget preview, the host checks AppWidgetProviderInfo.generatedPreviewCategories, and if the chosen category is available, calls AppWidgetManager.getWidgetPreview to return the saved preview for this provider.

When to call setWidgetPreview

Because there is no callback to provide previews, apps can choose to send previews at any point when they are running. How often to update the preview depends on the widget's use case.

The following list describes the two main categories of preview use cases:

  • Providers that show real data in their widget previews, such as personalized or recent information. These providers can set the preview once the user has signed in or has done initial configuration in their app. After this, they can set up a periodic task to update the previews at their chosen cadence. Examples of this type of widget could be a photo, calendar, weather or news widget.
  • Providers that show static information in previews or quick-action widgets that don't display any data. These providers can set previews once, when the app first launches. Examples of this type of widget include a drive quick actions widget or chrome shortcuts widget.

Some providers might show static previews on the hub mode picker, but real information on the homescreen picker. These providers should follow the guidance for both of these use cases to set previews.

পিকচার-ইন-পিকচার

অ্যান্ড্রয়েড 15 পিকচার-ইন-পিকচার (পিআইপি) এ পরিবর্তন এনেছে যাতে পিআইপি মোডে প্রবেশ করার সময় আরও মসৃণ রূপান্তর নিশ্চিত করা হয়। এটি তাদের প্রধান UI এর উপরে ওভারলেড থাকা UI উপাদান থাকা অ্যাপগুলির জন্য উপকারী হবে, যা PiP-তে যায়।

বিকাশকারীরা যুক্তি সংজ্ঞায়িত করতে onPictureInPictureModeChanged কলব্যাক ব্যবহার করে যা ওভারলেড UI উপাদানগুলির দৃশ্যমানতা টগল করে৷ PiP এন্টার বা এক্সিট অ্যানিমেশন সম্পন্ন হলে এই কলব্যাকটি ট্রিগার হয়। অ্যান্ড্রয়েড 15 থেকে শুরু করে, PictureInPictureUiState ক্লাসে অন্য রাজ্য অন্তর্ভুক্ত রয়েছে।

এই UI অবস্থার সাথে, Android 15 (API স্তর 35) টার্গেট করা অ্যাপগুলি PiP অ্যানিমেশন শুরু হওয়ার সাথে সাথে isTransitioningToPip() এর সাথে Activity#onPictureInPictureUiStateChanged কলব্যাক আহ্বান করা পর্যবেক্ষণ করবে। এমন অনেক UI উপাদান রয়েছে যা অ্যাপটির জন্য প্রাসঙ্গিক নয় যখন এটি পিআইপি মোডে থাকে, যেমন ভিউ বা লেআউট যাতে পরামর্শ, আসন্ন ভিডিও, রেটিং এবং শিরোনামের মতো তথ্য অন্তর্ভুক্ত থাকে। অ্যাপটি যখন PiP মোডে যায়, তখন এই UI উপাদানগুলি লুকানোর জন্য onPictureInPictureUiStateChanged কলব্যাক ব্যবহার করুন। যখন অ্যাপটি PiP উইন্ডো থেকে ফুল স্ক্রিন মোডে যায়, তখন এই উপাদানগুলিকে আনহাইড করতে onPictureInPictureModeChanged কলব্যাক ব্যবহার করুন, যেমনটি নিম্নলিখিত উদাহরণে দেখানো হয়েছে:

override fun onPictureInPictureUiStateChanged(pipState: PictureInPictureUiState) {
        if (pipState.isTransitioningToPip()) {
          // Hide UI elements
        }
    }
override fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean) {
        if (isInPictureInPictureMode) {
          // Unhide UI elements
        }
    }

অপ্রাসঙ্গিক UI উপাদানগুলির এই দ্রুত দৃশ্যমানতা টগল (একটি PiP উইন্ডোর জন্য) একটি মসৃণ এবং ফ্লিকার-মুক্ত PiP এন্টার অ্যানিমেশন নিশ্চিত করতে সহায়তা করে।

ডোন্ট ডিস্টার্ব নিয়ম উন্নত করা হয়েছে

AutomaticZenRule lets apps customize Attention Management (Do Not Disturb) rules and decide when to activate or deactivate them. Android 15 greatly enhances these rules with the goal of improving the user experience. The following enhancements are included:

  • Adding types to AutomaticZenRule, allowing the system to apply special treatment to some rules.
  • Adding an icon to AutomaticZenRule, helping to make the modes be more recognizable.
  • Adding a triggerDescription string to AutomaticZenRule that describes the conditions on which the rule should become active for the user.
  • Added ZenDeviceEffects to AutomaticZenRule, allowing rules to trigger things like grayscale display, night mode, or dimming the wallpaper.

বিজ্ঞপ্তি চ্যানেলের জন্য ভাইব্রেশন ইফেক্ট সেট করুন

Android 15 supports setting rich vibrations for incoming notifications by channel using NotificationChannel.setVibrationEffect, so your users can distinguish between different types of notifications without having to look at their device.

মিডিয়া প্রজেকশন স্ট্যাটাস বার চিপ এবং অটো স্টপ

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

Status bar chip for screen sharing, casting, and recording.

বড় পর্দা এবং ফর্ম ফ্যাক্টর

Android 15 বড় স্ক্রীন, ফ্লিপাবল এবং ফোল্ডেবল সহ Android এর ফর্ম ফ্যাক্টরগুলির থেকে সর্বাধিক পেতে আপনার অ্যাপগুলিকে সমর্থন দেয়৷

উন্নত বড় পর্দা মাল্টিটাস্কিং

Android 15 gives users better ways to multitask on large screen devices. For example, users can save their favorite split-screen app combinations for quick access and pin the taskbar on screen to quickly switch between apps. This means that making sure your app is adaptive is more important than ever.

Google I/O has sessions on Building adaptive Android apps and Building UI with the Material 3 adaptive library that can help, and our documentation has more to help you Design for large screens.

কভার পর্দা সমর্থন

Your app can declare a property that Android 15 uses to allow your Application or Activity to be presented on the small cover screens of supported flippable devices. These screens are too small to be considered as compatible targets for Android apps to run on, but your app can opt in to supporting them, making your app available in more places.

সংযোগ

Android 15 আপনার অ্যাপকে যোগাযোগ এবং বেতার প্রযুক্তির সর্বশেষ অগ্রগতিতে অ্যাক্সেস দিতে প্ল্যাটফর্ম আপডেট করে।

স্যাটেলাইট সমর্থন

Android 15 continues to extend platform support for satellite connectivity and includes some UI elements to ensure a consistent user experience across the satellite connectivity landscape.

Apps can use ServiceState.isUsingNonTerrestrialNetwork() to detect when a device is connected to a satellite, giving them more awareness of why full network services might be unavailable. Additionally, Android 15 provides support for SMS and MMS apps as well as preloaded RCS apps to use satellite connectivity for sending and receiving messages.

A notification appears when the device connects to a satellite.

মসৃণ NFC অভিজ্ঞতা

অ্যান্ড্রয়েড 15 অ্যানড্রয়েডের শক্তিশালী এনএফসি অ্যাপ ইকোসিস্টেমকে সমর্থন করার সাথে সাথে ট্যাপ টু পে করার অভিজ্ঞতাকে আরও নির্বিঘ্ন এবং নির্ভরযোগ্য করে তুলতে কাজ করছে। সমর্থিত ডিভাইসগুলিতে, অ্যাপগুলি NfcAdapter পর্যবেক্ষণ মোডে প্রবেশ করার জন্য অনুরোধ করতে পারে, যেখানে ডিভাইসটি শোনে কিন্তু NFC পাঠকদের সাড়া দেয় না, অ্যাপের NFC পরিষেবা PollingFrame অবজেক্টগুলিকে প্রসেস করতে পাঠায়৷ PollingFrame অবজেক্টগুলি NFC রিডারের সাথে প্রথম যোগাযোগের আগে প্রমাণীকরণের জন্য ব্যবহার করা যেতে পারে, যা অনেক ক্ষেত্রে এক ট্যাপ লেনদেনের অনুমতি দেয়।

এছাড়াও, অ্যাপগুলি সমর্থিত ডিভাইসগুলিতে একটি ফিল্টার নিবন্ধন করতে পারে যাতে তারা পোলিং লুপ কার্যকলাপ সম্পর্কে অবহিত হতে পারে, যা একাধিক NFC-সচেতন অ্যাপ্লিকেশনগুলির সাথে মসৃণ অপারেশনের অনুমতি দেয়।

ওয়ালেট ভূমিকা

Android 15 introduces a Wallet role that allows tighter integration with the user's preferred wallet app. This role replaces the NFC default contactless payment setting. Users can manage the Wallet role holder by navigating to Settings > Apps > Default Apps.

The Wallet role is used when routing NFC taps for AIDs registered in the payment category. Taps always go to the Wallet role holder unless another app that is registered for the same AID is running in the foreground.

This role is also used to determine where the Wallet Quick Access tile should go when activated. When the role is set to "None", the Quick Access tile isn't available and payment category NFC taps are only delivered to the foreground app.

নিরাপত্তা

Android 15 আপনাকে আপনার অ্যাপের নিরাপত্তা বাড়াতে, আপনার অ্যাপের ডেটা সুরক্ষিত করতে এবং ব্যবহারকারীদের তাদের ডেটার উপর আরও স্বচ্ছতা ও নিয়ন্ত্রণ দিতে সাহায্য করে। ব্যবহারকারীর সুরক্ষার উন্নতি করতে এবং নতুন হুমকির বিরুদ্ধে আপনার অ্যাপকে সুরক্ষিত করতে আমরা কী করছি তার আরও জানতে Google I/O-এর Android টক-এ সেফগার্ডিং ইউজার সিকিউরিটি দেখুন।

অটোফিলের সাথে শংসাপত্র ম্যানেজারকে একীভূত করুন

Starting with Android 15, developers can link specific views like username or password fields with Credential Manager requests, making it easier to provide a tailored user experience during the sign-in process. When the user focuses on one of these views, a corresponding request is sent to Credential Manager. The resulting credentials are aggregated across providers and displayed in autofill fallback UIs, such as inline suggestions or drop-down suggestions. The Jetpack androidx.credentials library is the preferred endpoint for developers to use and will soon be available to further enhance this feature in Android 15 and higher.

বায়োমেট্রিক প্রম্পট সহ একক ট্যাপ সাইন-আপ এবং সাইন-ইন সংহত করুন

Credential Manager integrates biometric prompts into the credential creation and sign-in processes, eliminating the need for providers to manage biometric prompts. As a result, credential providers only need to focus on the results of the create and get flows, augmented with the biometric flow result. This simplified process creates a more efficient and streamlined credential creation and retrieval process.

এন্ড-টু-এন্ড এনক্রিপশনের জন্য মূল ব্যবস্থাপনা

We are introducing the E2eeContactKeysManager in Android 15, which facilitates end-to-end encryption (E2EE) in your Android apps by providing an OS-level API for the storage of cryptographic public keys.

The E2eeContactKeysManager is designed to integrate with the platform contacts app to give users a centralized way to manage and verify their contacts' public keys.

অনুমতি বিষয়বস্তু URIs চেক

Android 15 introduces a set of APIs that perform permission checks on content URIs:

অ্যাক্সেসযোগ্যতা

অ্যান্ড্রয়েড 15 এমন বৈশিষ্ট্য যুক্ত করে যা ব্যবহারকারীদের জন্য অ্যাক্সেসযোগ্যতা উন্নত করে।

আরও ভালো ব্রেইল

In Android 15, we've made it possible for TalkBack to support Braille displays that are using the HID standard over both USB and secure Bluetooth.

This standard, much like the one used by mice and keyboards, will help Android support a wider range of Braille displays over time.

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

Android 15 এমন বৈশিষ্ট্য এবং ক্ষমতা যুক্ত করে যা ব্যবহারকারীর অভিজ্ঞতাকে পরিপূরক করে যখন একটি ডিভাইস বিভিন্ন ভাষায় ব্যবহার করা হয়।

CJK পরিবর্তনশীল ফন্ট

Starting with Android 15, the font file for Chinese, Japanese, and Korean (CJK) languages, NotoSansCJK, is now a variable font. Variable fonts open up possibilities for creative typography in CJK languages. Designers can explore a broader range of styles and create visually striking layouts that were previously difficult or impossible to achieve.

How the variable font for Chinese, Japanese, and Korean (CJK) languages appears with different font widths.

আন্তঃ চরিত্র ন্যায্যতা

Starting with Android 15, text can be justified utilizing letter spacing by using JUSTIFICATION_MODE_INTER_CHARACTER. Inter-word justification was first introduced in Android 8.0 (API level 26), and inter-character justification provides similar capabilities for languages that use the whitespace character for segmentation, such as Chinese, Japanese, and others.

Layout for Japanese text using JUSTIFICATION_MODE_NONE.
Layout for English text using JUSTIFICATION_MODE_NONE.


Layout for Japanese text using JUSTIFICATION_MODE_INTER_WORD.
Layout for English text using JUSTIFICATION_MODE_INTER_WORD.


Layout for Japanese text using the JUSTIFICATION_MODE_INTER_CHARACTER.
Layout for English text using the JUSTIFICATION_MODE_INTER_CHARACTER.

স্বয়ংক্রিয় লাইন বিরতি কনফিগারেশন

অ্যান্ড্রয়েড অ্যান্ড্রয়েড 13 (এপিআই লেভেল 33) এ জাপানি এবং কোরিয়ানদের জন্য বাক্যাংশ-ভিত্তিক লাইন ব্রেক সমর্থন করা শুরু করেছে। যাইহোক, যদিও বাক্যাংশ-ভিত্তিক লাইন বিরতিগুলি পাঠ্যের ছোট লাইনের পাঠযোগ্যতা উন্নত করে, তারা পাঠ্যের দীর্ঘ লাইনের জন্য ভাল কাজ করে না। Android 15-এ, অ্যাপগুলি LINE_BREAK_WORD_STYLE_AUTO বিকল্পটি ব্যবহার করে শুধুমাত্র পাঠ্যের ছোট লাইনের জন্য বাক্যাংশ-ভিত্তিক লাইন বিরতি প্রয়োগ করতে পারে। এই বিকল্পটি পাঠ্যের জন্য সেরা শব্দ শৈলী বিকল্পটি নির্বাচন করে।

পাঠ্যের সংক্ষিপ্ত লাইনের জন্য, বাক্যাংশ-ভিত্তিক লাইন বিরতি ব্যবহার করা হয়, যা LINE_BREAK_WORD_STYLE_PHRASE এর মতোই কাজ করে, যেমনটি নিম্নলিখিত ছবিতে দেখানো হয়েছে:

পাঠ্যের ছোট লাইনের জন্য, LINE_BREAK_WORD_STYLE_AUTO পাঠ্যের পাঠযোগ্যতা উন্নত করতে বাক্যাংশ-ভিত্তিক লাইন বিরতি প্রয়োগ করে। এটি LINE_BREAK_WORD_STYLE_PHRASE প্রয়োগ করার মতই।

পাঠ্যের দীর্ঘ লাইনের জন্য, LINE_BREAK_WORD_STYLE_AUTO একটি নো লাইন-ব্রেক শব্দ শৈলী ব্যবহার করে, যা LINE_BREAK_WORD_STYLE_NONE এর মতোই কাজ করে, যেমনটি নিম্নলিখিত ছবিতে দেখানো হয়েছে:

পাঠ্যের দীর্ঘ লাইনের জন্য, LINE_BREAK_WORD_STYLE_AUTO পাঠ্যের পাঠযোগ্যতা উন্নত করতে কোনো লাইন-ব্রেক শব্দ শৈলী প্রয়োগ করে না। এটি LINE_BREAK_WORD_STYLE_NONE প্রয়োগ করার মতই।

অতিরিক্ত জাপানি হেনটাইগানা হরফ

In Android 15, a font file for old Japanese Hiragana (known as Hentaigana) is bundled by default. The unique shapes of Hentaigana characters can add a distinctive flair to artwork or design while also helping to preserve accurate transmission and understanding of ancient Japanese documents.

Character and text style for the Japanese Hentaigana font.

VideoLAN cone Copyright (c) 1996-2010 VideoLAN. This logo or a modified version may be used or modified by anyone to refer to the VideoLAN project or any product developed by the VideoLAN team, but does not indicate endorsement by the project.

Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.

OpenGL is a registered trademark and the OpenGL ES logo is a trademark of Hewlett Packard Enterprise used by permission by Khronos.