ফিচার ও API ওভারভিউ

Android 15-এ ডেভেলপারদের জন্য দারুণ ফিচার ও API নিয়ে আসা হয়েছে। নিম্নলিখিত বিভাগগুলি এই ফিচারগুলির সারসংক্ষেপ করে যাতে আপনি সম্পর্কিত API ব্যবহার শুরু করতে পারেন।

যোগ করা, পরিবর্তন করা ও সরিয়ে দেওয়া API-এর বিস্তারিত তালিকা দেখতে, API diff রিপোর্ট পড়ুন। যোগ করা API সম্পর্কে বিস্তারিত জানতে Android API রেফারেন্স দেখুন — Android 15-এর জন্য, API লেভেল ৩৫-এ যোগ করা API খুঁজুন। প্ল্যাটফর্মের পরিবর্তন আপনার অ্যাপকে প্রভাবিত করতে পারে এমন ক্ষেত্রগুলি সম্পর্কে জানতে, Android 15-এর আচরণগত পরিবর্তনগুলি Android 15-কে টার্গেট করা অ্যাপগুলির জন্য এবং সব অ্যাপের জন্য চেক করতে ভুলবেন না।

ক্যামেরা ও মিডিয়া

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

Android মিডিয়া ও ক্যামেরার জন্য লেটেস্ট ফিচার ও ডেভেলপার সলিউশন সম্পর্কে আরও জানতে, Google I/O-এর Building modern Android media and camera experiences টক দেখুন।

লো লাইট বুস্ট

Android 15 引入了弱光增强功能,这是一种自动曝光模式,适用于 Camera 2 和夜间模式相机扩展。“弱光增强”功能可在光线昏暗的环境下调整预览画面的曝光度。这与夜间模式相机扩展程序创建静态图片的方式不同,因为夜间模式会将一系列照片组合起来,以创建一张经过增强的单张图片。虽然夜间模式非常适合拍摄静态图片,但无法创建连续的帧流,而“低光增强”功能可以。因此,弱光增强功能可启用相机功能,例如:

  • 提供增强型图片预览,以便用户更好地取景拍摄低光照片
  • 在光线不足的情况下扫描二维码

如果您启用“弱光增强”功能,该功能会在光线较弱时自动开启,在光线较强时关闭。

应用可以在光线昏暗的环境下录制预览画面,以保存经过亮度提升的视频。

如需了解详情,请参阅弱光增强。

ইন-অ্যাপ ক্যামেরা কন্ট্রোল

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.

HDR হেডরুম কন্ট্রোল

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 引入了对 CTA-2075 响度标准的支持,可帮助您避免音频响度不一致,并确保用户在切换内容时不必不断调整音量。系统利用输出设备(头戴式耳机和扬声器)的已知特性以及 AAC 音频内容中提供的响度元数据,智能调整音频响度和动态范围压缩级别。

如需启用此功能,您需要确保 AAC 内容中提供响度元数据,并在应用中启用平台功能。为此,您可以通过使用关联的 AudioTrack 中的音频会话 ID 调用其 create 工厂方法来实例化 LoudnessCodecController 对象;这会自动开始应用音频更新。您可以传递 OnLoudnessCodecUpdateListener 来修改或过滤响度参数,然后再将其应用于 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 也将更新,以使用 LoudnessCodecController API,可实现无缝应用集成。

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

Android 13 添加了对使用 USB 连接 MIDI 2.0 设备的支持,这些设备使用通用 MIDI 数据包 (UMP) 进行通信。Android 15 将 UMP 支持扩展到了虚拟 MIDI 应用,使作曲应用能够像使用 USB MIDI 2.0 设备一样,将虚拟 MIDI 2.0 设备用作控制合成器应用的设备。

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

dav1d logo

dav1d, the popular AV1 software decoder from VideoLAN is available for Android devices that don't support AV1 decode in hardware. dav1d is up to 3x more performant than the legacy AV1 software decoder, enabling HD AV1 playback for more users, including some low and mid tier devices.

Your app needs to opt-in to using dav1d by invoking it by name "c2.android.av1-dav1d.decoder". dav1d will be made the default AV1 software decoder in a subsequent update. This support is standardized and backported to Android 11 devices that receive Google Play system updates.

ডেভেলপার প্রোডাক্টিভিটি ও টুল

আপনার প্রোডাক্টিভিটি উন্নত করার জন্য আমাদের বেশিরভাগ কাজই Android Studio, Jetpack Compose এবং Android Jetpack লাইব্রেরির মতো টুলকে কেন্দ্র করে হলেও, আমরা সবসময় প্ল্যাটফর্মে এমন উপায় খুঁজি যা আপনাকে আরও সহজে আপনার ভিশন বুঝতে সাহায্য করে।

OpenJDK 17 আপডেট

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

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

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

পিডিএফ সংক্রান্ত উন্নতি

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 在音频中添加了设备端多语言识别功能,并支持在语言之间自动切换,但这可能会导致丢失字词,尤其是当两次语音之间语言切换的间隔时间较短时。Android 15 添加了其他控件,以帮助应用根据其用例调整此切换。EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS 会将自动切换限制在音频会话开始时,而 EXTRA_LANGUAGE_SWITCH_MATCH_SWITCHES 会在发生指定次数的切换后停用语言切换。如果您预计会话期间只会使用一种语言,并且该语言应被自动检测到,这些选项会特别有用。

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

Android 15 提高了 OpenType 可变字体的易用性。您可以创建 来自可变字体的 FontFamily 实例,而不指定粗细轴 使用 buildVariableFamily API。文本渲染程序会替换 wght 轴的值,以匹配显示的文本。

使用该 API 可以大大简化创建 Typeface 的代码:

Kotlin

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

Java

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

以前,如需创建相同的 Typeface,您需要更多代码:

Kotlin

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()

Java

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 实例,因此渲染程序会回退到最接近的权重。在 在此示例中,系统会渲染 300 而不是 350,渲染 400 而不是 450, 依此类推。相比之下,使用新 API 创建的 Typeface 会为给定重量动态创建 Font 实例,因此系统也会为 350、450、550 和 650 呈现准确的重量。

গ্র্যানুলার লাইন ব্রেক কন্ট্রোল

从 Android 15 开始,TextView 和底层行断开符可以将给定部分文本保留在同一行中,以提高可读性。您可以通过在字符串资源或 createNoBreakSpan 中使用 <nobreak> 标记来充分利用此换行符自定义功能。同样,您可以使用 <nohyphen> 标记或 createNoHyphenationSpan 来防止对字词进行分词。

例如,以下字符串资源不包含换行符,在呈现时,文本“Pixel 8 Pro”会在不合适的位置换行:

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

相比之下,此字符串资源包含 <nobreak> 标记,该标记会将字词“Pixel 8 Pro”换行,并防止换行:

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

以下图片展示了这些字符串呈现方式的差异:

一行文本的布局,其中显示短语“Pixel 8 Pro.”未使用 <nobreak> 标记换行。
使用 <nobreak> 标记封装“Pixel 8 Pro.”短语的同一行文本的布局。

অ্যাপ আর্কাইভ করা

Android and Google Play announced support for app archiving last year, allowing users to free up space by partially removing infrequently used apps from the device that were published using Android App Bundle on Google Play. Android 15 includes OS level support for app archiving and unarchiving, making it easier for all app stores to implement it.

Apps with the REQUEST_DELETE_PACKAGES permission can call the PackageInstaller requestArchive method to request archiving an installed app package, which removes the APK and any cached files, but persists user data. Archived apps are returned as displayable apps through the LauncherApps APIs; users will see a UI treatment to highlight that those apps are archived. If a user taps on an archived app, the responsible installer will get a request to unarchive it, and the restoration process can be monitored by the ACTION_PACKAGE_ADDED broadcast.

使用开发者选项在设备上启用 16 KB 模式

切换以 16KB 页面大小启动设备开发者选项,以在 16 KB 模式下启动设备。

在 Android 15 的 QPR 版本中,您可以使用某些设备上提供的开发者选项,以 16 KB 模式启动设备并执行设备端测试。在使用开发者选项之前,请依次前往设置 > 系统 > 软件更新,并应用所有可用的更新。

此开发者选项适用于以下设备:

  • Pixel 8 和 Pixel 8 Pro(搭载 Android 15 QPR1 或更高版本)

  • Pixel 8a(搭载 Android 15 QPR1 或更高版本)

  • Pixel 9、9 Pro 和 9 Pro XL(搭载 Android 15 QPR2 或更高版本)

  • Pixel 9a(搭载 Android 16 或更高版本)

গ্রাফিক্স

Android 15-এ লেটেস্ট গ্রাফিক্সের উন্নতি করা হয়েছে, যার মধ্যে ANGLE এবং Canvas গ্রাফিক্স সিস্টেমে নতুন ফিচার যোগ করা হয়েছে।

Android-এর GPU অ্যাক্সেস আধুনিক করা

Vulkan logo

Android hardware has evolved quite a bit from the early days where the core OS would run on a single CPU and GPUs were accessed using APIs based on fixed-function pipelines. The Vulkan® graphics API has been available in the NDK since Android 7.0 (API level 24) with a lower-level abstraction that better reflects modern GPU hardware, scales better to support multiple CPU cores, and offers reduced CPU driver overhead — leading to improved app performance. Vulkan is supported by all modern game engines.

Vulkan is Android's preferred interface to the GPU. Therefore, Android 15 includes ANGLE as an optional layer for running OpenGL® ES on top of Vulkan. Moving to ANGLE will standardize the Android OpenGL implementation for improved compatibility, and, in some cases, improved performance. You can test out your OpenGL ES app stability and performance with ANGLE by enabling the developer option in Settings -> System -> Developer Options -> Experimental: Enable ANGLE on Android 15.

The Android ANGLE on Vulkan roadmap

Roadmap of upcoming changes to the Android GPU APIs.

As part of streamlining our GPU stack, going forward we will be shipping ANGLE as the GL system driver on more new devices, with the future expectation that OpenGL/ES will be only available through ANGLE. That being said, we plan to continue support for OpenGL ES on all devices.

Recommended next steps

Use the developer options to select the ANGLE driver for OpenGL ES and test your app. For new projects, we strongly encourage using Vulkan for C/C++.

Canvas-এর জন্য উন্নতি

Android 15 continues our modernization of Android's Canvas graphics system with additional capabilities:

  • Matrix44 provides a 4x4 matrix for transforming coordinates that should be used when you want to manipulate the canvas in 3D.
  • clipShader intersects the current clip with the specified shader, while clipOutShader sets the clip to the difference of the current clip and the shader, each treating the shader as an alpha mask. This supports the drawing of complex shapes efficiently.

পারফর্ম্যান্স ও ব্যাটারি

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

ব্যাটারি-দক্ষ সেরা অভ্যাসের জন্য, নেটওয়ার্ক এবং পাওয়ার ব্যবহার ডিবাগ করা এবং Android 15 এবং Android-এর সাম্প্রতিক ভার্সনে ব্যাকগ্রাউন্ড কাজের ব্যাটারি দক্ষতা আমরা কীভাবে উন্নত করছি তার বিশদ বিবরণের জন্য, 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.

অ্যাপের সাইজ সম্পর্কিত বিস্তারিত তথ্য

Since Android 8.0 (API level 26), Android has included the StorageStats.getAppBytes API that summarizes the installed size of an app as a single number of bytes, which is a sum of the APK size, the size of files extracted from the APK, and files that were generated on the device such as ahead-of-time (AOT) compiled code. This number is not very insightful in terms of how your app is using storage.

Android 15 adds the StorageStats.getAppBytesByDataType([type]) API, which lets you get insight into how your app is using up all that space, including APK file splits, AOT and speedup related code, dex metadata, libraries, and guided profiles.

অ্যাপ-ম্যানেজড প্রোফাইলিং

অ্যান্ড্রয়েড 15 ProfilingManager ক্লাস অন্তর্ভুক্ত করে, যা আপনাকে আপনার অ্যাপের মধ্যে থেকে প্রোফাইলিং তথ্য সংগ্রহ করতে দেয় যেমন হিপ ডাম্প, হিপ প্রোফাইল, স্ট্যাক স্যাম্পলিং এবং আরও অনেক কিছু। এটি আউটপুট ফাইল সনাক্ত করতে একটি সরবরাহকৃত ট্যাগ সহ আপনার অ্যাপে একটি কলব্যাক প্রদান করে, যা আপনার অ্যাপের ফাইল ডিরেক্টরিতে বিতরণ করা হয়। পারফরম্যান্সের প্রভাব কমানোর জন্য API রেট সীমিত করে।

আপনার অ্যাপে প্রোফাইলিং রিকোয়েস্ট তৈরি করা সহজ করার জন্য, আমরা কোর 1.15.0-rc01 বা উচ্চতর সংস্করণে উপলব্ধ সংশ্লিষ্ট Profiling AndroidX API ব্যবহার করার পরামর্শ দিই।

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 ডায়নামিক পারফর্ম্যান্স ফ্রেমওয়ার্ক আপডেট

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 builds in support for more precise Intent resolution through UriRelativeFilterGroup, which contains a set of UriRelativeFilter objects that form a set of Intent matching rules that must each be satisfied, including URL query parameters, URL fragments, and blocking or exclusion rules.

These rules can be defined in the AndroidManifest XML file with the <uri-relative-filter-group> tag, which can optionally include an android:allow tag. These tags can contain <data> tags that use existing data tag attributes as well as the android:query and android:fragment attributes.

Here's an example of the AndroidManifest syntax:

<intent-filter android:autoVerify="true">
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.BROWSABLE" />
  <category android:name="android.intent.category.DEFAULT" />
  <data android:scheme="http" />
  <data android:scheme="https" />
  <data android:host="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>

প্রাইভেট স্পেস

The private space can be unlocked and locked to show or hide sensitive apps on a device.

Private space lets users create a separate space on their device where they can keep sensitive apps away from prying eyes, under an additional layer of authentication. The private space uses a separate user profile. The user can choose to use the device lock or a separate lock factor for the private space.

Apps in the private space show up in a separate container in the launcher, and are hidden from the recents view, notifications, settings, and from other apps when the private space is locked. User-generated and downloaded content (such as media or files) and accounts are separated between the private space and the main space. The system sharesheet and the photo picker can be used to give apps access to content across spaces when the private space is unlocked.

Users can't move existing apps and their data into the private space. Instead, users select an install option in the private space to install an app using whichever app store they prefer. Apps in the private space are installed as separate copies from any apps in the main space (new copies of the same app).

When a user locks the private space, the profile is stopped. While the profile is stopped, apps in the private space are no longer active and can't perform foreground or background activities, including showing notifications.

We recommend that you test your app with private space to make sure your app works as expected, especially if your app falls into one of the following categories:

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

现在,如果应用获得了部分访问权限,则只能突出显示最近选择的照片和视频。此功能可以改善频繁请求访问照片和视频的应用的用户体验。如需在应用中使用此功能,请在通过 ContentResolver 查询 MediaStore 时启用 QUERY_ARG_LATEST_SELECTION_ONLY 参数。

Kotlin

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()
   )
)

Java

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-এ প্রাইভেসি স্যান্ডবক্স

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.

Health Connect

Android 15 集成了与 Health Connect by Android 相关的最新扩展程序。Health Connect by Android 是一个安全的集中式平台,可用于管理和共享应用收集的健康与健身数据。此次更新 增加了对健身、 营养、体表温度、训练计划等。

体表温度追踪功能让用户可以更精确地存储和分享体表温度 来自穿戴式设备或其他跟踪设备的体温数据。

训练计划是一种结构化的锻炼计划,可帮助用户实现健身目标。训练计划支持各种完成和表现目标:

如需详细了解 Android 中 Health Connect 的最新更新,请参阅 利用 Android 打造自适应体验 健康演讲。

অ্যাপ স্ক্রিন শেয়ার করা হচ্ছে

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

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

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

Generated Previews 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.

ছবির-মধ্যে-ছবি

Android 15 引入了画中画 (PiP) 方面的变更,确保实现 更流畅的过渡效果。对于在主界面上叠加界面元素的应用,这将非常有用,因为这些界面元素会进入 PiP。

开发者使用 onPictureInPictureModeChanged 回调来定义逻辑 用于切换叠加界面元素的可见性。此回调是 在画中画进入或退出动画播放完毕时触发。距离开始还有 Android 15 中,PictureInPictureUiState 类包含另一种状态。

在此界面状态下,以 Android 15(API 级别 35)为目标平台的应用将遵守 使用以下参数调用 Activity#onPictureInPictureUiStateChanged 回调: isTransitioningToPip()。还有 在画中画模式下,有很多与应用无关的界面元素, 包含建议、 评分和标题当应用进入画中画模式时,请使用 onPictureInPictureUiStateChanged 回调以隐藏这些界面元素。当 应用从画中画窗口进入全屏模式,使用 onPictureInPictureModeChanged 回调以取消隐藏这些元素,如 请参阅以下示例:

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

不相关界面元素的快速可见性切换(适用于画中画窗口)有助于 确保画中画播放动画更流畅、无闪烁。

উন্নত 'বিরক্ত করবে না' নিয়ম

AutomaticZenRule অ্যাপগুলিকে অ্যাটেনশন ম্যানেজমেন্ট (বিরক্ত করবেন না) নিয়ম কাস্টমাইজ করতে দেয় এবং কখন সেগুলি সক্রিয় বা নিষ্ক্রিয় করতে হবে তা নির্ধারণ করতে দেয়। অ্যান্ড্রয়েড 15 ব্যবহারকারীর অভিজ্ঞতা উন্নত করার লক্ষ্যে এই নিয়মগুলিকে ব্যাপকভাবে উন্নত করে। নিম্নলিখিত উন্নতিগুলি অন্তর্ভুক্ত করা হয়েছে:

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

বিজ্ঞপ্তি চ্যানেলের জন্য VibrationEffect সেট করুন

Android 15 支持为传入的通知设置丰富的振动,方法是 频道使用的是NotificationChannel.setVibrationEffect,因此 您的用户可以区分不同类型的通知 不需要看他们的设备

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

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

用于屏幕共享、投屏和录制的状态栏条状标签。

বড় স্ক্রিন ও ফর্ম ফ্যাক্টর

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.

কভার স্ক্রিন সহায়তা

您的应用可以声明一个属性,Android 15 会使用该属性来允许您的 Application 或 Activity 显示在受支持的可翻转设备的小封面屏幕上。这些屏幕太小,无法被视为适合运行 Android 应用的兼容目标平台,但您的应用可以选择支持它们,从而让您的应用在更多平台上可用。

কানেক্টিভিটি

Android 15 প্ল্যাটফর্মকে আপডেট করে যাতে আপনার অ্যাপ যোগাযোগ ও ওয়্যারলেস প্রযুক্তির লেটেস্ট অগ্রগতি অ্যাক্সেস করতে পারে।

স্যাটেলাইট সাপোর্ট

Android 15 继续扩大对卫星连接的平台支持,并包含一些界面元素,以确保在整个卫星连接环境中提供一致的用户体验。

应用可以使用 ServiceState.isUsingNonTerrestrialNetwork() 执行以下操作: 检测设备是否连接到卫星,让他们更清楚地了解 可能会导致完全网络服务不可用的原因此外,Android 15 支持短信和彩信应用以及预加载的 RCS 应用,以便使用卫星连接发送和接收消息。

当设备连接到卫星时,系统会显示通知。

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

Android 15 is working to make the tap to pay experience more seamless and reliable while continuing to support Android's robust NFC app ecosystem. On supported devices, apps can request the NfcAdapter to enter observe mode, where the device listens but doesn't respond to NFC readers, sending the app's NFC service PollingFrame objects to process. The PollingFrame objects can be used to auth ahead of the first communication to the NFC reader, allowing for a one tap transaction in many cases.

In addition, apps can register a filter on supported devices so they can be notified of polling loop activity, which allows for smooth operation with multiple NFC-aware applications.

Wallet-এ ভূমিকা

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.

বায়োমেট্রিক প্রম্পটের মাধ্যমে একবার ট্যাপ করে সাইন-আপ ও সাইন-ইন করার সুবিধা ইন্টিগ্রেট করুন

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

এন্ড-টু-এন্ড এনক্রিপশনের জন্য 'কী' ম্যানেজমেন্ট

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.

কন্টেন্ট URI-তে অনুমতি চেক করা

Android 15 引入了一组用于对内容 URI 执行权限检查的 API:

অ্যাক্সেসিবিলিটি

Android 15-এ এমন ফিচার যোগ করা হয়েছে যা ব্যবহারকারীদের জন্য অ্যাক্সেসিবিলিটি উন্নত করে।

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

在 Android 15 中,我们让 TalkBack 能够支持通过 USB 和安全蓝牙使用 HID 标准的盲文显示屏。

此标准与鼠标和键盘使用的标准非常相似,将有助于 Android 随着时间的推移支持更多类型的盲文显示屏。

ইন্টারন্যাশনালাইজেশন

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.

ইন্টার-ক্যারেক্টার জাস্টিফিকেশন

从 Android 15 开始,可以通过 使用 JUSTIFICATION_MODE_INTER_CHARACTER。“字词间的理由”原为 最初是在 Android 8.0(API 级别 26)中引入的, Justifications 功能为使用 例如中文、日语等。

使用 JUSTIFICATION_MODE_NONE 的日语文本布局。
使用 JUSTIFICATION_MODE_NONE 的英语文本布局。


使用 JUSTIFICATION_MODE_INTER_WORD 的日语文本布局。
使用 JUSTIFICATION_MODE_INTER_WORD 的英语文本布局。


使用 JUSTIFICATION_MODE_INTER_CHARACTER 的日语文本布局。
使用 JUSTIFICATION_MODE_INTER_CHARACTER 的英语文本布局。

অটোমেটিক লাইন ব্রেক কনফিগারেশন

Android started supporting phrase-based line breaks for Japanese and Korean in Android 13 (API level 33). However, while phrase-based line breaks improve the readability of short lines of text, they don't work well for long lines of text. In Android 15, apps can apply phrase-based line breaks only for short lines of text, using the LINE_BREAK_WORD_STYLE_AUTO option. This option selects the best word style option for the text.

For short lines of text, phrase-based line breaks are used, functioning the same as LINE_BREAK_WORD_STYLE_PHRASE, as shown in the following image:

For short lines of text, LINE_BREAK_WORD_STYLE_AUTO applies phrase-based line breaks to improve the readability of the text. This is the same as applying LINE_BREAK_WORD_STYLE_PHRASE.

For longer lines of text, LINE_BREAK_WORD_STYLE_AUTO uses a no line-break word style, functioning the same as LINE_BREAK_WORD_STYLE_NONE, as shown in the following image:

For long lines of text, LINE_BREAK_WORD_STYLE_AUTO applies no line-break word style to improve the readability of the text. This is the same as applying 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.