Search This Blog

Showing posts with label Android Nougat. Show all posts
Showing posts with label Android Nougat. Show all posts

Sunday, 17 July 2016

Android Nougat Developer Preview Multi Window Support in application

Android didn't have support for running multiple activities and application in a single screen. Android phone screen was used only by single App. Even though some OEM like Samsung was supporting this on their level by customising android source code.

But now android officially supported multi window features. On handheld devices, two apps can run side-by-side or one-above-the-other in split-screen mode. On TV devices, apps can use picture-in-picture mode to continue video playback while users are interacting with another app.Lets discuss how developer has to cope with new changes

Types of  Multi-window Support 

  • Split screen Mode - In this mode, the system fills the screen with two apps, showing them either side-by-side or one-above-the-other. The user can drag the dividing line separating the two to make one app larger and the other smaller.
  • Picture in Picture Mode - On Nexus Player running Android N, apps can put themselves in picture-in-picture mode, allowing them to continue showing content while the user browses or interacts with other apps.
  • FreeForm Mode - Manufacturers of larger devices can choose to enable freeform mode, in which the user can freely resize each activity. If the manufacturer enables this feature, the device offers freeform mode in addition to split-screen mode.

Configuring Your App for Multi-Window Mode  Android Multi-window support provide attributes to customise your application 


  • android:resizeableActivity - True or False decide either you want your app to support Multi-Window
  • android:supportsPictureInPicture - Boolean value decide this feature is supported or not. This attribute is ignored ifandroid:resizeableActivity is false.
  • Layout attributes - Layout width, height can  decide how much minimum space your app required to run.You can query either your application  running in picture in picture mode or running in Mult-Window support

Thursday, 14 July 2016

Google Assistance Android Nougat, Ambitious project of google in 2016


Allo, a smart messaging app
 


Allo is a smart messaging app that makes your conversations easier and more expressive. It’s based on your phone number, so you can get in touch with anyone in your phonebook. And with deeply integrated machine learning, Allo has smart features to keep your conversations flowing and help you get things done.

 

 Duo, a video calling app for everyone
 



Duo is a simple, fast one-to-one video calling app for everyone—whether you’re on Android or iOS, a fast or slow connection, in New York or New Delhi. Like Allo, Duo is based on your phone number, allowing you to reach anyone in your phonebook. And its simple interface fades away when you’re in a call, so it’s just the two of you.



Google Home Always on call.

Google Home is a voice-activated home product that allows you and your family to get answers from Google, stream music, and manage everyday tasks.


Note – Image shown in this article are taken from google so we don’t have any right over these image.

Android News and source code