Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Android NOUGAT - Develop Hands-on Android Apps
Rating: 4.5 out of 5(16 ratings)
16,137 students

Android NOUGAT - Develop Hands-on Android Apps

Learn to set up Android Studio for building android N applications and develop amazing apps
Last updated 7/2023
English
English [Auto],

What you'll learn

  • Learn Multi-Window Support, Detecting Multi-Window Mode, Undesirable Activities
  • Learn about Direct Reply from Notifications, Direct Boot Notifications Enhancements
  • Learn about Multi-Window Support, Install and Settings
  • Learn about Picture Mode, Drag and Drop, Demo Scoped, Directory Access

Course content

1 section28 lectures3h 48m total length
  • Introduction to Android Nougat11:16

    Set up the latest Android Studio, install SDK tools and platform 24, then create and launch an Android emulator to test apps.

  • Multi Window Support5:46

    Explore Android's multi-window feature with split screen, picture-in-picture, and free form modes. Observe two activities side by side with a draggable divider, and small picture-in-picture or movable free-form windows.

  • Adjacent Activity10:21

    Learn to implement Android multi-window behavior by launching an adjacent activity in split screen, configuring intent flags and manifest attributes for two separate single-instance tasks.

  • Adjacent Activity Continues4:04

    Learn to launch an adjacent activity using a start activity method and intent flags, test on emulator or device, and explore split-screen behavior versus full-screen when not split.

  • Detecting Multi Window Mode9:35

    Learn to detect and respond to multi-window state using isInMultiWindowMode, display toasts for in or not in multi-window, and handle changes with onMultiWindowModeChanged during activity transitions.

  • Detecting Configuration Changes10:24

    Learn to handle android configuration changes by declaring android.configChanges for screen size and orientation, and handling onConfigurationChanged with the newConfig object.

  • Detecting Configuration Changes Continues5:03

    Deploy a window background fallback and window background in Android styles to prevent garbled screen space during split-screen resizing of activities.

  • Unresizable Activities7:16

    Learn to force an activity into full screen by setting android:resizeableActivity to false, overriding multi-window mode, and using minimum width/height (500 dpi) to prevent resizing.

  • Layout Attributes6:20

    Learn layout attributes by using minimum height and minimum weight, observing two views in split screen and multi-window, and noting status bar and orientation limitations.

  • Picture in Picture Mode9:49

    Enable picture in picture mode for an activity in the manifest. Test on Android TV emulator; trigger via a button and monitor with isInPictureInPictureMode and onPictureInPictureModeChanged.

  • Drag and Drop Demo10:13

    Explore drag and drop in multi-window mode on Android 10 by building a drag from app and a receiving app, using clip data, drag shadow, and permission flags.

  • Drag and Drop Demo Continues9:41

    Demonstrates implementing drag and drop in Android by setting a drag listener on an image view, requesting permissions, extracting clip data, and dropping into a second app in multi-window mode.

  • Storage Access Framework5:11

    Learn how the storage access framework (EPA) replaces broad external storage permissions with scoped directory access, letting apps access only the pictures directory via storage manager and storage volume classes.

  • Scoped Directory Access10:56

    Explore implementing scoped directory access in Android by listing directories, selecting one with a spinner, and requesting access through the system prompt, then displaying files with a recycler view.

  • Scoped Directory Access Continues10:34

    Learn scoped directory access by wiring a spinner to select directories, map selections to environment names, request access with a storage volume and create access intent, and handle results.

  • Building Demo Application9:03

    Access documents with the document contract class, query using a projection of display name and mime type, and display results in a RecyclerView with a custom adapter and view holder.

  • How to Acquire Scoped Directory Access9:43

    Acquire scoped directory access in Android Nougat by requesting directory permissions, displaying files in a recycler view, and persisting granted permissions to avoid repeated prompts.

  • Direct Reply Feature6:04

    Explore how the direct reply feature enables text input from Android notifications, enabling messaging or task updates from the lock screen via a service, receiver, and shared preferences.

  • Implementation of the Main Activity9:19

    Implement and wire the main activity in an Android Studio project. Create and connect the layout—edit text, text view, and a reply button—with on click listeners to handle user replies.

  • Screen and Connection to the Service9:15

    Bind a service with a messenger from the main activity to send notification text and handle replies, using onServiceConnected/onServiceDisconnected and shared preferences.

  • Implementation of the Service11:16

    Implement a service to build a system notification with direct reply using messenger, handler, binder, and remote input, including broadcast, pending intent, and update current flag.

  • Send Notifications with Direct Reply Feature10:42

    Build a direct reply notification in Android by creating a reply action with remote input. Register a broadcast receiver to handle the action and manage notification with the notification manager.

  • Implementation of the Receiver5:11

    Implement a broadcast receiver that listens for a system action, processes the user reply from a notification via remote input, and extracts the reply text from the intent.

  • Implementation of the Receiver Continues7:38

    Implement receiver logic to handle remote input and remote replay, read reply text from shared preferences, and update the notification to reflect a replied state using Android N direct reply.

  • Direct Boot2:16

    Learn direct boot mode in Android, which encrypts device data and starts essential components in data boot mode after reboot, before the user unlocks, so alarms and notifications aren’t missed.

  • Use cases of Direct Boot Mode3:23

    Explore use cases for direct boot mode, including alarm clocks, a messaging client, and accessibility features, and learn how to register notifications before unlock while using credential and device protected storage.

  • Implementation of Direct Boot7:48

    Develop a mood demo app and register a direct boot aware broadcast receiver for the boot completed action. Store a string with device protected storage to display a post-restart notification.

  • Implementation of Direct Boot Continue10:08

    Learn how to implement direct boot by saving to device protected storage with shared preferences, retrieving in a receiver, and posting a notification via the notification manager after device unlock.

Requirements

  • Each course has a pre-requisite and the same is kept ensuring a smooth learning curve for the students. Learning Android is not very difficult and hence the pre-requisites are not very hard to maintain. Someone who has working-level Java skills and has done some Android coding before should be fine to learn the concepts of this Android Nougat Tutorial. Detailed pre-requite is described below: Below are some of the pre-requisite for this course: – Before starting the course on Android, it is recommended that you must have sound knowledge on Java as most of the coding will be on Java. You need not be an expert programmer in Java but should at least know the concepts such as OOPs, multi-threading programming, exception handling, collections, etc. A computer or a laptop with an internet connection and basic software required for Android.

Description

Android N short for Android Nougat is the seventh major version and the 14th overall original version of the Android operating system. It was first released on March 9, 2016, as an alpha test version. The official release took place on August 22, 2016. Nexus smartphone devices from Google was the first to receive the update. The LG V20 was the first smartphone that was released with Nougat OS in the market. Nougat introduced many notable changes to the Android operating system space including the ability to split-screen and display multiple apps on-screen at once, support for quick inline replies to notifications, and an expanded power-saving mode to save power by restricting device functionality once the screen has been off for some time. Additionally, the OS platform also switched to an OpenJDK-based Java environment and got support for the Vulcan graphics rendering API.

Some important upgrades on Android Nougat are as below:

  • Split Screen Mode

  • Quick Switch

  • Secret UI tuner

  • Easy pull-down shade editing

  • Power notification

  • Easy notification editing

  • Set a separate wallpaper for lock and home screen

  • Display size

  • Easter Egg

The major learning outcome has been outlined in the section above. Still, we provide the details here to explain this more clearly. Nougat was released containing many important aspects of Android development and the same are the main skills that the student will obtain through this course. It is expected that the students are already aware of core Android OS and the basics of what was released in the earlier versions. In a nutshell, users will learn the following skills from this Android Nougat Tutorial : –

  • Multi-Window Support

  • Detecting Multi-Window Mode

  • Undesirable Activities

  • Picture Mode

  • Drag and Drop Demo

  • Scoped Directory Access

  • Direct Reply from Notifications

  • Direct Boot

  • Notifications Enhancements

  • Multi-Window Support

  • Install and Settings

Who this course is for:

  • The Java Nougat Tutorial is suitable for a wide range of people who finds themselves associated with the app development ecosystem or information technology in general. Students, working professionals, Consultants and startup evangelist all are welcome to take this Android Nougat Tutorial. Generally, people with BTech, BCA, BSc, MCA, MTech or MS degree enroll for this course. Both any particular educational qualification or certification is not mandatory for it and practically anyone who knows a little bit of coding and is enthusiastic about app development could take this course. Still, we provide a suitable target audience list for our readers.