Unveiling Android 12 | Updates and Enhancements

The developer preview of Android 12 is now available and Google has placed heavy emphasis on app compatibility, privacy, and accessibility of all users. As always, Pixel phones will be the first to receive the update probably around September 2021, followed by billions of other android phones.

In this preview, the UI receives some tweaks and features enhancements in Android 12 (Code-named Snowcone). Let’s see what they are-

Change in Accent Color

The white background color in the drop-down menu and settings menu is now being changed with a pale light-blue tint. It can be seen in both light and dark themes.

Nearby Share for Wi-Fi passwords

Connecting to a new Wi-Fi is now easier with the help of ‘Nearby Share’ for sharing Wi-Fi passwords. The QR code scanner option is present; if you scroll down, you will spot this new option which will look for devices near you for sharing the details.

Changes in Notifications

There are changes seen in the layout of text and visuals along with tweaks in transparency and background. The overlay is lighter in shade and the background is more translucent.

Also, the new notifications snooze now comes with three different time-durations – 30 mins, 1 hour, or 2 hours. Although this option is disabled by default, you can enable it from settings by going on the ‘allow notification snoozing’ under the notification head.

Editing Screenshots 

One can add text in varying fonts and colors on the screenshots. The markup menu will also feature emojis just in case your screenshots need extra flair.

Along with edits for screenshots, you can edit any outgoing image file via a share sheet. When you share an image file, there will be an ‘Edit’ option that enables you to make edits to your selected file.

Media Player Interface 

In the drop-down menu, you will notice a change in the media player. The widget now occupies more space, expanding till the screen edges and takes more space on the lock screen as well when in use.

You can select which apps are shown in the media control and which are restricted. This can be done via Settings > Sound and vibration > Media.

Changes in Accessibility Settings   

Accessibility settings are also reorganized. Font size, display size are grouped under ‘Text and Display’. There was a horizontal line that used to divide different menu options which are now removed.

Privacy Settings

Privacy toggles can be used to block the usage of the camera and microphone. Users will be notified when an app uses either of these functions. In the Privacy Settings, the preview also features an option to disable the phone camera and mute the microphone completely.

Some rumored changes are also creating buzz, like:

  • OS updates could be done directly from Play Store. If this is implemented, it will lead to more frequent updates.
  • Audio-coupled haptic feedback/effects could be seen in Pixel phones. As of now, only the Pixel 4 is believed to have the hardware to implement this feature. This signifies that there can be vibrations in the haptic motors to match the rhythms of the music played.
  • Double-tap gesture for Pixel phones on the back of the phone. This can be done by activating Google Assistant. It can be used for other options as well like taking a screenshot or pausing/ playing media, etc
  • ‘One-handed’ mode is believed to have a feature called, ‘Silky Home’ which will push features further down, making them more accessible. Apart from this, one expects more blank space to be left on the top of the display.

We are eager to see how this update pans out and what effects it will have on app design and development. If all goes well, it will give a lot more control to users’ hands.

About us We, at Galaxy Weblinks, are all for new ideas and experiments. We believe that being up-to-date in this fast-paced world gives us adequate time to explore and implement new changes. Our analytics team is proficient in building apps that are well aligned to our client’s and platform requirements. Contact us for a free consultation!

Android 11 | The update we didn’t know we needed

Google with its Pixel event and launch of two new phones, started rolling out the latest Android 11 OS. Like always, the Pixel phones are the first ones in getting an update and the rest of the devices will get the updates based on their OEMs and how they optimize the new OS for their respective devices.

The update does not have many head-turning features like Android 10 but it sure does an amazing job in elevating the overall user experience. Like the message bubbles, new notification categories, limiting app permissions, among others.

So let’s explore these and the other new features of this update.

Categorized Notifications

A video showing user interface of Android 11

Android 11 will make your life easier by categorizing notifications into Conversations, Alerts, and Silent. This enables you to prioritize your ongoing conversations, be it on WhatsApp, Instagram, or similar messaging apps.

The other two categories keep all your notifications aligned with your needs. You are kept in the loop with the alerts you opt-in, such as news updates. You can mute the ones that nudge you a bit more than it needs to.

Furthermore, in line with keeping conversations more accessible, the ‘chat bubble’ makes a comeback this year. This works the same way as Facebook’s Messenger floating chat button and lets you reply quickly to your current conversations.

Built-in screen recorder

Photo of a phone lying down on table

A long awaited feature, in-built screen recording has finally found its way in this update. Screen recording was possible via third party apps, but there was always some restriction or modifications required for accessing the device’s internal audio settings.

What more, you get this functionality right in the Quick Settings menu. You are getting the option to record audio via microphone or use the device’s audio, record the screen taps or not, etc at last.

Changes in App Permissions

A screencap showing app permission dialogue in Android 11

The apps will now have one-time permission to your sensitive information like location, messages, contacts, etc with the help of the ‘While using the app’ option. Once you close an app, the permissions are revoked and need to be requested again.

Access to information all the time will not be present for a majority of the apps. And just in case you haven’t selected this option when you are not using an app for a longer duration, the permission gets ‘auto-reset’ and your data remains safe.

More options in Power Button Menu

Screenshot of Android 11 power button menu

The long press action on the power button now gives you smart device controls and GPay shortcut. One can add up to six devices for easier control. The need of opening separate apps for these devices gets eliminated here.

However, there is no compulsion put by Google on the device manufacturers to imply this feature. So we will have to wait to see how this plays out.

Media Controller Widget

Screenshot of Media controller Widget in Android 11 phone

The media controller is moved to the quick settings menu (from the notifications bar). This ensures that the ‘clear all’ action of notifications does not pause the song or podcast you are listening to. Plus you can go back to the media that you had paused earlier without opening the concerned app.

Other Notable Features

Apart from the ones we have already covered, here are a few more interesting features:

  • You can see notifications from the past 24 hours via history. So in case, you dismissed any notification accidentally, you can go through them again. However, this is not a default setting, so you would need to change that.
  • You can now resize the picture-in-picture window according to your convenience and avoid any obstruction with your work.
  • You can now schedule your dark mode. It can be set as per sunrise/ sunset or to your own time.
    ‘Dynamic Meterdness API’ will detect if you are on a 5G network and will then show you the best quality of videos, graphics, etc.
  • Google’s Voice Access will now be more conversational and simple for differently-abled users.
  • There are 117 new emojis from the Unicode Emoji 13.0 set.

Google has paid attention to many features that were long overdue in this update. Given that it will be rolled out a bit late for the majority of android users nonetheless we are excited about how it fares against the last version.

Our Android team is also excited about the possibilities that Android 11 brings to the eco-system and challenges that they can solve with the new functionalities. If you’re looking for Android development in Mobile, Wearables, TV, and other hardware, feel free to reach out us.

Is Android Picture-In-Picture Next Step to Innovation For The Edtech Industry?

When you look at it for the first time, the Android PIP feature looks pretty dope. It is a classic example of taking ‘ease of use’ into account in the design process. For me, the fact that you can play Youtube and still use everything else on phone was enough to rejoice. The feature alters your video watching experience and how. It lets you do so many things without obstructing with your audio/video experience. PIP is not like split screen where you work on two exclusive apps, it’s a special multi-window mode that allows video playback in a small screen on the edge while users can navigate between rest of the apps.

Hey, we were doing fine before this happened

So, around the same time, one of our clients in the Edtech industry came up with an unusual request. They wanted to provide their users with editable notes which can be accessed while watching the video lectures. Their current process required the users to switch frequently between the apps and, let’s just say, it was not as fancy as it sounds.

The course is too much and there’s an issue, it’s not okay

As much as reasonable the problem was, the solution was not easy. We knew the PIP feature was godsent for this, but it was used by a few popular apps only. We talked to the client about it and they were pretty excited. In fact, the client said that if this works out, they will scale it up and add notes for all the sessions. Their users have asked for the same quite often and PIP might just be the answer to everything. We researched around the feature and it was one of the projects where things looked easy from far. Excited and scared, we went ahead and planned the development process. It was about to be a fun ride, or so we hoped!

Hey, can you tell your friends we need it sooner

We began with the project and planned sprints. This was going to be one of those projects where things either worked or they tanked, no in-betweens. Even though Android launched a complete guide on how you can include the feature in your app, significant things had to be planned. The app’s primary service was to provide the lectures and under no circumstance, the efficiency of the same could be compromised.

And I hope it’s gonna be fine and working again

We started stepping up the ladder with basic functions including: Declaring PIP Support: The system does not automatically support PIP for apps. We had to register the video activity by setting android:supportsPictureInPicture and android:resizeableActivity to true. We had to also include room for layout changes in the code so that the activity doesn’t relaunch when layout changes happen in PIP transitions. Switching Activities: To enter the PIP mode we called a function enterPictureInPictureMode() and further added a logic that switches an activity into PIP mode instead of running in the background. UI during PIP Mode: When the function enters the PIP mode the system calls Activity.onPictureInPictureModeChanged() or Fragment.onPictureInPictureModeChanged(). We overrode these callbacks to redraw the UI elements in the activity. Adding these basic functions got the PIP mode running. The client was not completely sure and hence, went ahead with initial testing. The application worked fine, at least prima facie. But there was a small problem. When the users tapped the back button to switch to the app from the pinned video, the app unexpectedly closed. In short, the user couldn’t restore the app.

So can we pull over and get rid of this once and for ever

It took a while for us to figure this out. The thing is, when you switch to the PIP mode, Android moves only the PIP activity into a new task. This causes a problem if the user stays within the app after restoring the PIP window back to full screen and tapping back. The app must re-create the back-stack to accomplish this. We understood what was happening within the whole process and why the user can’t restore the app. Due to application’s current architecture, back-stack recreation was happening automatically. To resolve the problem we went through many tests to find out where we were losing the back-stack process. This was our gateway. We added a link after the notes which redirected the student to the video. Another problem popped up when we were at our final stages of testing. The video playback in the PIP mode was causing audio intervention for other apps. To manage the video playback and other apps, we called a function requestAudioFocus() and supplied a parameter AudioFocusRequest. Further, we used this parameter to request and abandon focus.
Within the span of five weeks we solved the problem and successfully implemented the software which helped the client get more students onboard.

Key Takeaways (feel free to use and learn):

> PIP is intended for applications and actions that play full-screen videos. So you should avoid anything except video content when switching your activity into PIP mode. > As the PIP window is a floating screen, make it a point to avoid showing critical information on the areas that can be obscured by the PIP Window. > When your app is in PIP mode, video playback in the PIP window can cause audio interference with another app, such as a music player app or voice search app. To avoid this, request audio focus when you start playing the video, and handle audio focus change notifications, as described in Managing Audio Focus. > PIP only works in Android Oreo 8.0 and versions above. Quickly make a move to upgrade your mobile applications. Get in touch with our development team and give your users an astonishing experience of learning.

Older Apps Might Become Useless After Android P

Google recently came up with a developers’ preview for Android P. The developers have now found a new class in the latest Android P Dev Preview. It sets a minimum API version apps on Play Store. So, in Android P, if an app is not meeting the minimum API requirements, the OS will pop up a warning message stating: Error message: “This app was built for an older version of Android and may not work properly. Try checking for updates, or contact the developer.” We all know how pumped up Google is in keeping PlayStore in sync with new developments. Setting up a minimum API support requirement for newly uploaded apps is a perfect move. The update now restricts the developers from having a specific mindset before building an app, enabling the newly submitted apps to work with all the latest Android versions. Hence, the already available apps that fail to update will be retired for good. The news comes after Apple did something similar recently. Apple cleaned up the App Store from old apps. And even if you try running a removed app from your iCloud backup, it will popup a warning message. We have to wait for Google’s next step towards a better user experience. No matter what Google’s intentions are, once Android P goes live, things are surely going to change! Galaxy Weblinks provides all kinds of design and development services for mobile and web apps.