ABSYZ ABSYZ

  • Home

    Home

  • About us

    Who We Are

  • Our Expertise

    What we Do

  • Our Approach

    How We Do It

  • Products

    What We Made

  • Industries

    Who We Do It For

  • Clients

    Whom We Did It For.

  • Article & Blogs

    What Experts Think

  • Careers

    Join The Team

  • Get In Touch

    Let’s Get Started

ABSYZ

Picture inside Picture (PiP)

Home / Article & Blogs / Mobility / Picture inside Picture (PiP)
By Mahalakshmi Sadhananthan inMobility

What isPiP and Why PiP is used?

            Picture-in-Picture (PiP) is a feature available on Android smartphones running Android 8.0 Oreo and later. It is one of Android Oreo’s big new features that lets you see two apps at once. It allows you to multitask. For instance, you can search for a restaurant while video chatting with a friend or watch a YouTube video while getting directions on Google Maps. You will be watching a YouTube video or Google Map Navigations on a pop-up window in our Home Screen.

When you open an app in multi-window and return to the home
screen, a visible sliver of the app remains up top, letting you see which app
you had opened. You can pull down on the black bar to preview the app’s
contents, or expand it to fill the screen. Apps need to be updated to support
the capability, but the necessary changes are relatively simple. Right now,
YouTube, VLC, and Chrome support PiP, but now that Oreo is rolling out to
devices, other major video or independent apps shouldn’t be far behind.

Where it is used?

It can be a
little tricky setting it up on your phone. Developers have to implement
picture-in-picture mode on a case-by-case basis.

We’ve compiled a list of popular
supported apps so far,

 

  • VLC for Android
  • Netflix
  • Google Maps
  • Telegram
  • Google Duo
  • WhatsApp (beta)
  • YouTube
  • Chrome

Each app may use a slightly different process to open a PIP
window. For example, Chrome requires you to watch a video in fullscreen mode,
while YouTube does it whenever any video is playing. VLC requires you to tap
the menu button during video playback and select the PIP option. But the
controls once you invoke the floating window are the same.

Where it can be used?

            It can be implemented on
only certain apps not on all apps. This is because PiP mode is for independent
apps. The content that is played should not have any major dependency on user
only on such apps it can be implemented.

Some apps types in which PiP mode can be implemented,

 

  • Any Video call feature
  • Any video player feature
  • Voice Recorder
  • Camera
  • Calender view or Calender task view
  • Location Tracking
  • Play music
  • Hotstar/ Jio/ Airtel or any Tv
  • Any live Telecasting
  • Crichuzz (Live score updation)
  • Playbooks

How to Launch PiP?

There isn’t a predictable way to launch
picture-in-picture mode. Most apps switch to a floating window view with a
tap of Android’s home button or back button but that’s not always the case. As
I already mentioned PiP mode can be customized in different ways.

To figure out how to launch an app’s
picture-in-picture mode, you’ll have to play around in the app or the app’s
settings.

Configure PiP on your Mobile

Pip mode should be enabled by
default, if not follow the steps give:

 

  1. Go to Settings on your smartphone or tablet.
  2. Tap
    Apps and Notifications
    > Advanced.
  3. Tap
    Special App Access > Picture-in-picture.

 Then you will get a
view list of apps that support PiP mode and which had  PiP enabled. To disable this feature on a
particular app, tab on an app and slide Allow picture-in-picture toggle to Off position.

Implementation of PiP on Maps(For Developers)

 

Map Displayed on a Fragment

 

  1. Add Dependencies (Google-play-service-Maps) into the
    Gradle app file.
  2. Generate Map API online.
  3. Add that API key to your Manifest file.
  4. Add Fragment to the xml to display Map.
  5. Add User permissions on Manifest file.

      Adding PiP mode Coding level

 

  1. Enable PiP to “True” in manifest under the respective Activity.

 

Adding API Key and Setting up PiP Permissions

 

Google Map displayed as a popup onclick of back button (PiP Mode)

 

  • In MainActivity create a function onBackPressed() to display the app in pip mode on
    click of the android back button.
  • Now call the PiP
    builder.
  • We can customize
    the PiP window size and controls.

How to use PiP Controls?

          Picture-in-picture
mode puts several simple and easy controls on the pop up window like playback
controls front and center. Tap on the PiP window and you’ll see play, fast
forward, and rewind buttons, and a center button that maximizes the app for
video player and Close, fullscreen, Settings for Permissions.. If you’re
watching a video from YouTube or VLC, you’ll get a headphone shortcut that
plays the video in the background. And if you’re watching a playlist, tapping
the fast forward button skips to the next video in the list. When you’re done
with the playback controls, tapping on the window again hides them.

The picture-in-picture window is
moveable. Tap, hold, and drag to move it to any part of your phone or tablet’s
screen, and lift your finger to release it. If you let go somewhere in the
middle, the window snaps to the closest valid location.

 

Map Controls Settings, Expand, Close controls

When you’re ready to dismiss it, a
simple tap, hold, and drag to the bottom of the screen does the trick.

Advantage :

 

  • Picture-in-picture mode might be useful for
    multitasking, but it can be annoyingly easy to trigger by mistake. Luckily, you
    can disable picture-in-picture mode on a per-app basis.
  • PiP is also convenient if you want
    to casually watch a video rather than pay full attention, such as a funny video
    that’s taking too long to get to the punchline.

Keep Updating Keep Growing!!

 

AndroidGoogle MapPIP
106
Like this post
2 Posts
Mahalakshmi Sadhananthan

Search Posts

Archives

Categories

Recent posts

Meet OmniStudio – Revolutionize Your Creative Work

Meet OmniStudio – Revolutionize Your Creative Work

BioAsia 2023 in Hyderabad: An Annual International Event

BioAsia 2023 in Hyderabad: An Annual International Event

The Role Of Marketing in Small & Medium Enterprises

The Role Of Marketing in Small & Medium Enterprises

Salesforce For Retail: How Salesforce CRM Can Help Retailers

Salesforce For Retail: How Salesforce CRM Can Help Retailers

What is ChatGPT & How Does It Work?

What is ChatGPT & How Does It Work?

  • Previous PostSwiftUI Framework
  • Next PostBuild Customized & Powerful Salesforce Mobile App's with React Native.

Related Posts

Leave a Reply (Cancel reply)

Your email address will not be published. Required fields are marked *

*
*

ABSYZ Logo

INDIA | USA | UAE

  • About us
  • Article & Blogs
  • Careers
  • Get In Touch
  • Our Expertise
  • Our Approach
  • Products
  • Industries
  • Clients
  • White Papers

Copyright ©2022 Absyz Inc. All Rights Reserved.

youngsoft
Copy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Privacy Policy
Cookie SettingsREJECT ALLACCEPT ALL
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT