The Android growth staff has simply introduced the discharge of the second developer preview for Android 15.
The satellite tv for pc communication performance has been up to date with new UI components to supply a greater person expertise. Apps may now use ServiceState.isUsingNonTerrestrialNetwork() to detect when a tool is related by way of satellite tv for pc, and there’s additionally now help for sending and receiving messages by way of SMS/MMS or RCS purposes over satellite tv for pc.
The NFC expertise was additionally up to date; Apps can now request a tool go right into a mode the place they take heed to NFC readers however don’t ship a response.
PdfRenderer APIs have additionally been up to date with superior options like rendering password-protected recordsdata, annotations, kind enhancing, looking, and choice. The APIs have additionally moved to a unique module the place they’ll now be up to date utilizing Google Play system updates, permitting updates to be separated from the platform launch.
Audio recognition was additionally improved, with extra fine-tuned capabilities for computerized switching between languages. The hope is that this may lower down on dropped phrases when switching, which has been a difficulty because the function was launched within the earlier model of Android. EXTRA_LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS retains switching to the start of an audio session, and EXTRA_LANGUAGE_SWITCH_MATCH_SWITCHES lets builders restrict the variety of occasions the language is switched in a session.
Different new developer options added on this preview launch embody:
- Granular line break controls with TextView
- Help for extra exact IntentFilter decision
- Expanded OpenJDK API help
- The power to indicate purposes on the duvet display of flippable gadgets
- Display file detection
- The power for apps to customise Do Not Disturb guidelines
For effectivity updates, the staff launched the ApplicationStartInfo API, which supplies particulars on whether or not an app had been began by a broadcast, content material supplier, job, backup, boot full, alarm, or exercise.
Different updates embody enhancements to the Stopped State operate of the PackageManager, extra detailed app dimension data, the introduction of the mediaProcessing Foreground Service kind, and new SQLite APIs.
This launch additionally introduces a number of media enhancements, similar to the power to regulate the HDR headroom for pictures, computerized changes to quantity to compensate for variations in quantity between media, and deprecation of the Virtualizer class.
“Android continues so as to add options enabling your apps to benefit from premium gadget {hardware}, together with the newest telecommunications options, high-end media capabilities, dazzling shows, foldable/flippable kind components, and AI processing,” Dave Burke, VP of engineering for Android, wrote in a weblog publish.