Notices



Android 13 will help developers test their apps with slower internet connec

Random Community Topics

Post New ThreadReply
 
Thread Tools
  #1  
Old 03-24-2022, 12:44 PM
phillynewsnow's Avatar
phillynewsnow phillynewsnow is offline   Thread Starter  
Site Moderator - Staff

 
Join Date: October 11th, 2009
Posts: 4,640
Thanks: 0
Thanked 668 Times in 568 Posts
Downloads: 0
Uploads: 0


View phillynewsnow's Profile   Edit Options Edit Profile Picture View phillynewsnow's Photo Album Add phillynewsnow's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Android 13 will help developers test their apps with slower internet connec

Android 13 will help developers test their apps with slower internet connections



It’s always important that Android apps work well on a wide variety of screen sizes, chipset types, mobile networks, and so on. Testing on slow network speeds is especially important, since not everyone has gigabit internet or unlimited 5G data connections, but it’s always been difficult to artificially throttle internet speeds on Android. Thankfully, Android 13 might finally change that.

Google is working on a new feature for the upcoming Android 13 update that will allow any network connection to be throttled, according to a blog post from Esper. The functionality isn’t actually working yet, but code from the Android Open Source Project (AOSP) indicates you’ll be able to set network speeds in bytes per second.

The only catch is that this feature requires kernel-level support, and since most devices don’t receive updates to the kernel after they are released, many existing phones and tablets probably won’t support network throttling. The kernel also has to be built with certain config options enabled, such as CONFIG_NET_SCHED.

It’s already possible to run the Android Studio Emulator with a throttled network connection, but there has never been an easy way to test slower network connections with a real physical device. Some developers have used microwave ovens (when they’re not running) or faraday cages to weaken wireless signals to a device for testing.

Google also supports throttling network connections in the Chrome web browser, which can be handy for testing how sites or web apps perform with slow networks. That setting is available in all Chromium-based web browsers, too. Apple’s iOS and iPadOS has allowed network throttling in the developer settings for a while, but reaching that menu requires using the Xcode development studio on a Mac.

Android 13 Developer Preview 2 also adds runtime permissions for app notifications, improved Japanese text wrapping, a new Text Conversion API for languages like Japanese, COLR fonts, MIDI 2.0, Bluetooth LE Audio, and other changes. Check out our main Android 13 Developer Preview 2 coverage for more information and the download links for Pixel devices.

Source: Esper


The post Android 13 will help developers test their apps with slower internet connections appeared first on xda-developers.



More...
Reply With Quote
Post New ThreadReply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
5 Android apps you shouldn?t miss this week ? Android Apps Weekly phillynewsnow AVN News Feed 0 11-13-2022 01:14 AM
5 Android apps you shouldn?t miss this week ? Android Apps Weekly phillynewsnow AVN News Feed 0 09-25-2022 08:48 AM
5 Android apps you shouldn?t miss this week ? Android Apps Weekly phillynewsnow AVN News Feed 0 09-05-2022 09:16 AM
Developers can now test apps on real Galaxy Z Fold 4 and Flip 4 using Samsu phillynewsnow AVN News Feed 0 08-13-2022 10:07 AM
Firebase App Distribution helps developers test their apps before launch phillynewsnow AVN News Feed 0 05-11-2022 05:01 PM


All times are GMT -5. The time now is 01:19 PM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top