This document discusses bridged notifications in Android Wear. It explains that bridged notifications display existing phone and tablet notifications on Android Wear devices. The notifications are formatted differently for the wearable. Additional extensions allow wearable-specific features to be added. The document provides code examples for creating basic notifications and more advanced notifications with features like large icons, text styles, buttons, and multiple pages. It also demonstrates how to group stacked notifications that can be displayed on both the wearable and paired phone.
Its a complete description of android which includes its introduction,platform,development,versions,advantages,limitations,future possibilities and conclusion.
Android Nougat introduces several new features including improved notifications, picture-in-picture video playback, split-screen multitasking, Vulkan graphics support, Daydream VR integration, standalone Allo and Duo messaging and video calling apps, improved Doze battery management, and seamless background app updates. Key additions are tweaked quick settings, expanded notifications, quick reply functionality, and multi-window multitasking options.
Google released the first Android N developer preview two months earlier than expected in March 2016. The preview included features like a split-window mode allowing two apps to run side by side, a revamped notification panel allowing replies from notifications, and an upgraded Doze mode saving power. The final version of Android N, which may be named Nutella or Nougat, is expected to release with new Nexus devices in late September or October 2016.
Google Android 7.0 Nougat History Features and moreDevakumar Kp
Google released the first beta of Android "N" in March 2016 ahead of the Google I/O conference. This was the first time users could suggest the name of the next Android version, and it was later named Android Nougat. Nougat introduced features like multi-window view, Vulkan graphics API support, Doze battery optimizations, and improved notifications. The final version of Android Nougat was released in August 2016.
Android 6.0.1 "Marshmallow" Android 7.0-7.1 "Nougat" is the seventh major version of the Android operating system. Learning about it is essential to stay ahead of other developers And Google’s still finding ways to enhance and improve the OS.
Its a complete description of android which includes its introduction,platform,development,versions,advantages,limitations,future possibilities and conclusion.
Android Nougat introduces several new features including improved notifications, picture-in-picture video playback, split-screen multitasking, Vulkan graphics support, Daydream VR integration, standalone Allo and Duo messaging and video calling apps, improved Doze battery management, and seamless background app updates. Key additions are tweaked quick settings, expanded notifications, quick reply functionality, and multi-window multitasking options.
Google released the first Android N developer preview two months earlier than expected in March 2016. The preview included features like a split-window mode allowing two apps to run side by side, a revamped notification panel allowing replies from notifications, and an upgraded Doze mode saving power. The final version of Android N, which may be named Nutella or Nougat, is expected to release with new Nexus devices in late September or October 2016.
Google Android 7.0 Nougat History Features and moreDevakumar Kp
Google released the first beta of Android "N" in March 2016 ahead of the Google I/O conference. This was the first time users could suggest the name of the next Android version, and it was later named Android Nougat. Nougat introduced features like multi-window view, Vulkan graphics API support, Doze battery optimizations, and improved notifications. The final version of Android Nougat was released in August 2016.
Android 6.0.1 "Marshmallow" Android 7.0-7.1 "Nougat" is the seventh major version of the Android operating system. Learning about it is essential to stay ahead of other developers And Google’s still finding ways to enhance and improve the OS.
This document describes a "fad-free architecture" approach for developing mobile apps. It advocates separating user interface code from non-UI code and relying primarily on first-party Apple frameworks rather than third-party libraries. The key aspects are a DataController class that coordinates other controllers like NetworkController and PersistenceController, and view controllers that receive the DataController through dependency injection to access non-UI functionality. This architecture aims to produce stable, maintainable apps by avoiding transient technical trends in favor of tried-and-tested techniques.
This document discusses ways to improve the interface builder experience in iOS development. It introduces IBInspectable, which allows additional view properties to be configurable in interface builder's attributes inspector. It also introduces IBDesignable, which allows changes made to IBInspectable properties to be visible in interface builder in real time rather than requiring running the app. The document provides examples of how to implement these features to consolidate view configuration and get live previews of custom property changes in interface builder.
La Unión Europea ha acordado un paquete de sanciones contra Rusia por su invasión de Ucrania. Las sanciones incluyen restricciones a los bancos rusos, la prohibición de exportaciones de alta tecnología a Rusia y la congelación de activos de oligarcas rusos. Los líderes de la UE esperan que estas medidas disuadan a Rusia de continuar su agresión militar contra Ucrania.
Mehdi Varse presented on high performance databases. The presentation outlined performance metrics to monitor in enterprise applications including business transactions, query performance, user and query conflicts, capacity, configuration, and NoSQL databases. It also discussed database tuning, in-memory databases, parallel and distributed database systems, and high-performance database requirements. Examples of databases used at Facebook like MySQL, Memcached, Haystack, and Cassandra were reviewed.
El documento presenta una introducción al pensamiento sistémico para la ingeniería de sistemas. Brevemente describe que fue realizado por Tomas Agreda para la República Bolivariana de Venezuela en junio de 2016 como parte de sus estudios de pregrado en la especialidad de ingeniería de sistemas en el Instituto Universitario Politécnico Santiago Mariño.
1) This report summarizes the activities, objectives, and financial accounting of a grant awarded to Boise State University to implement a campus-wide financial awareness campaign called the Buckless Broncos Campaign.
2) Over the course of the fall semester, three student interns developed and implemented various activities to educate students about spending, borrowing, and financial goal setting which engaged over 394 students total.
3) An assessment found that the campaign was successful in increasing student awareness of personal finance and resources, and in establishing sustainable peer-led financial literacy initiatives led by the student interns.
This document summarizes a presentation about developing for Android Wear. It discusses wear-generated notifications, which are notifications created directly on the wearable device using context such as time and location. Notifications can include basic content, content actions that allow taking an action from the notification, and custom display intents. The presentation also covers building wearable apps using components designed for small screens like the WearableListView and CardFragment. It provides examples of how to implement dismissal overlays, confirmation activities, and components that adapt to different screen shapes.
El documento discute la segregación escolar y la discriminación entre estudiantes. Señala que la discriminación puede ser física o psicológica y que los estudiantes más vulnerables son aquellos con discapacidades, bajos recursos económicos u obesidad. Aunque los maestros a menudo no se dan cuenta de la discriminación, puede prevenirse mejorando las relaciones entre estudiantes y fomentando la inclusión. La discriminación tiene efectos negativos en el rendimiento y bienestar de los estudiantes.
О́стрый тонзилли́т (от лат. tonsillae — миндалины); в повседневной жизни анги́на (от лат. ango — «сжимаю, сдавливаю, душу») — инфекционное заболевание с местными проявлениями в виде острого воспаления компонентов лимфатического глоточного кольца, чаще всего нёбных миндалин, вызываемое стрептококками или стафилококками, реже другими микроорганизмами.
Диагностика товарного рынка Украины: макроэкономические показатели и тенденци...KNEU
Целью настоящего исследования является разработка методологии изучения глобализации бизнеса в целом, а также отдельных ее аспектов, связанных с информационно-коммуникативными проблемами отечественного бизнеса, на фоне усиления кризисных явлений в экономике страны. Формирование системы антикризисных мер, в качестве катализатора развития товарного рынка в условиях глобализации отечественного бизнеса.
Предметом исследования выступают методические и прикладные вопросы диагностики товарного рынка и анализа значимых макроэкономических показателей по масштабу влияния кризисных явлений на экономику Украины.
Объектом исследования является процесс уточнения стратегического направления маркетинговой деятельности субъектов хозяйствования работающих на отечественном и мировых товарных рынках, с учетом особенностей повышенного риска // О.В. Данніков "Діагностика товарного ринку України:
макроекономічні показники і тенденції розвитку" // O.V. Dannikov / "Diagnostics product market Ukraine:macroeconomic indicators and trends" /
Abstract. The aim of this study is to develop a methodology for studying the globalization of business as a whole, and its individual aspects related to information and communication problems of the domestic business amid increasing crisis in the economy. Formation of system of anti-crisis measures, as a catalyst for the commodity market development in the context of globalization of the domestic business.
The subject of the research are methodological and applied questions of the commodity market diagnosis and analysis of major macroeconomic indicators of the scale of the impact of the crisis on the Ukrainian economy.
The object of research is the process of clarifying the strategic direction of marketing activity of business entities operating in the domestic and world commodity markets, allowing for the increased risk.
At the beginning of 2016 can already state that is critical braking Ukraine's economic development and worsening of macroeconomic indicators. In mos
Path testing is a structural testing method that focuses on executing all paths through the code or algorithm based on its structure rather than specifications. It involves converting the program into a control flow graph by representing the code as nodes, regions, and edges to show the flow of execution. This allows testers to ensure all statements are executed by following each path in the graph from start to finish.
Android Wear is a version of the Android operating system designed for smartwatches and other wearable devices. It allows devices to interact with Android smartphones to display notifications, run companion apps, and respond to voice commands. Key features of Android Wear include displaying smartphone notifications on a paired wearable, running standalone apps designed for small screens, and controlling devices with voice via Google Assistant. Developers can build Android Wear apps using the Android Wear software development kit and target features like expanded notifications, inline replies, and ambient mode to optimize the user experience on wearables.
The document provides an introduction and overview of developing applications for Android Wear. It discusses various topics like notifications, standalone apps, voice commands, and interactions between handheld and wearable apps. Code snippets are provided to demonstrate how to create notifications, add custom actions, handle voice inputs, create paged and stacked notifications, and add voice commands to apps. Links are included to documentation and examples to help developers get started with the Android Wear SDK.
The document provides an introduction and overview of developing applications for Android Wear. It discusses various aspects of creating notifications, standalone apps, and utilizing voice commands on wearables. Key points covered include adding dependencies, creating basic notifications, customizing notifications for wearables, handling voice inputs, using activities as custom notifications, and adding support for built-in and custom voice commands. Code samples are provided throughout to demonstrate implementation. The document aims to help developers get started with the Android Wear SDK and understand best practices.
Android notifications allow apps to display messages in the notification bar even when the app is not open. Notifications can include actions that trigger intents when selected. Common scenarios for actions include accepting/rejecting meetings or liking/sharing social media posts. Notifications can be expanded to include additional details like images or multiple lines of text. Custom notifications allow more complex interfaces with elements like buttons or charts.
Getting started with android dev and test perspectiveGunjan Kumar
The presentation covers basic intro to Android, how to get started with development, including instructions on setup, common UI usages like menus, dialogs; details on services like Sensors, Location and Google Maps
It also covers ideas on how to test including details on shell and installation instructions without using Eclipse
Here are the answers to your checkpoint questions:
1. An event loop constantly checks for any interactions from the user, like button clicks, text input, etc. It listens for these "events" and allows the program to respond to user actions.
2. The 3 minimum lines of code to create a GUI App are:
- Import App class from guizero
- Create App object
- Call display() on the App object
3. Widgets are the individual components or elements that make up a GUI, like labels, buttons, text boxes, etc. They are used to display information and get input from the user.
Android is a mobile operating system based on Linux. It has gone through several versions with new features added over time. The core building blocks of Android are activities, views, intents, services, content providers, fragments, and the AndroidManifest.xml file. This document provides tutorials on how to set up Android in Eclipse, make simple Android apps, and describes some of Android's main UI widgets.
A complete Lab Manual with Aim, Procedure, Source Code, ... All the Experiments of Mobile Application Development Lab are developed using Android Studio.
The document provides guidance on creating notifications for Android Wear apps. It discusses using NotificationCompat.Builder to build notifications that are displayed properly on both handheld devices and wearables. It covers adding actions, remote voice input, multiple pages, and stacking notifications on wearables. The key aspects covered are using NotificationCompat.Builder to create standard notifications, and NotificationCompat.WearableExtender to add wearable-specific functionality like extra pages and background images.
This document describes a "fad-free architecture" approach for developing mobile apps. It advocates separating user interface code from non-UI code and relying primarily on first-party Apple frameworks rather than third-party libraries. The key aspects are a DataController class that coordinates other controllers like NetworkController and PersistenceController, and view controllers that receive the DataController through dependency injection to access non-UI functionality. This architecture aims to produce stable, maintainable apps by avoiding transient technical trends in favor of tried-and-tested techniques.
This document discusses ways to improve the interface builder experience in iOS development. It introduces IBInspectable, which allows additional view properties to be configurable in interface builder's attributes inspector. It also introduces IBDesignable, which allows changes made to IBInspectable properties to be visible in interface builder in real time rather than requiring running the app. The document provides examples of how to implement these features to consolidate view configuration and get live previews of custom property changes in interface builder.
La Unión Europea ha acordado un paquete de sanciones contra Rusia por su invasión de Ucrania. Las sanciones incluyen restricciones a los bancos rusos, la prohibición de exportaciones de alta tecnología a Rusia y la congelación de activos de oligarcas rusos. Los líderes de la UE esperan que estas medidas disuadan a Rusia de continuar su agresión militar contra Ucrania.
Mehdi Varse presented on high performance databases. The presentation outlined performance metrics to monitor in enterprise applications including business transactions, query performance, user and query conflicts, capacity, configuration, and NoSQL databases. It also discussed database tuning, in-memory databases, parallel and distributed database systems, and high-performance database requirements. Examples of databases used at Facebook like MySQL, Memcached, Haystack, and Cassandra were reviewed.
El documento presenta una introducción al pensamiento sistémico para la ingeniería de sistemas. Brevemente describe que fue realizado por Tomas Agreda para la República Bolivariana de Venezuela en junio de 2016 como parte de sus estudios de pregrado en la especialidad de ingeniería de sistemas en el Instituto Universitario Politécnico Santiago Mariño.
1) This report summarizes the activities, objectives, and financial accounting of a grant awarded to Boise State University to implement a campus-wide financial awareness campaign called the Buckless Broncos Campaign.
2) Over the course of the fall semester, three student interns developed and implemented various activities to educate students about spending, borrowing, and financial goal setting which engaged over 394 students total.
3) An assessment found that the campaign was successful in increasing student awareness of personal finance and resources, and in establishing sustainable peer-led financial literacy initiatives led by the student interns.
This document summarizes a presentation about developing for Android Wear. It discusses wear-generated notifications, which are notifications created directly on the wearable device using context such as time and location. Notifications can include basic content, content actions that allow taking an action from the notification, and custom display intents. The presentation also covers building wearable apps using components designed for small screens like the WearableListView and CardFragment. It provides examples of how to implement dismissal overlays, confirmation activities, and components that adapt to different screen shapes.
El documento discute la segregación escolar y la discriminación entre estudiantes. Señala que la discriminación puede ser física o psicológica y que los estudiantes más vulnerables son aquellos con discapacidades, bajos recursos económicos u obesidad. Aunque los maestros a menudo no se dan cuenta de la discriminación, puede prevenirse mejorando las relaciones entre estudiantes y fomentando la inclusión. La discriminación tiene efectos negativos en el rendimiento y bienestar de los estudiantes.
О́стрый тонзилли́т (от лат. tonsillae — миндалины); в повседневной жизни анги́на (от лат. ango — «сжимаю, сдавливаю, душу») — инфекционное заболевание с местными проявлениями в виде острого воспаления компонентов лимфатического глоточного кольца, чаще всего нёбных миндалин, вызываемое стрептококками или стафилококками, реже другими микроорганизмами.
Диагностика товарного рынка Украины: макроэкономические показатели и тенденци...KNEU
Целью настоящего исследования является разработка методологии изучения глобализации бизнеса в целом, а также отдельных ее аспектов, связанных с информационно-коммуникативными проблемами отечественного бизнеса, на фоне усиления кризисных явлений в экономике страны. Формирование системы антикризисных мер, в качестве катализатора развития товарного рынка в условиях глобализации отечественного бизнеса.
Предметом исследования выступают методические и прикладные вопросы диагностики товарного рынка и анализа значимых макроэкономических показателей по масштабу влияния кризисных явлений на экономику Украины.
Объектом исследования является процесс уточнения стратегического направления маркетинговой деятельности субъектов хозяйствования работающих на отечественном и мировых товарных рынках, с учетом особенностей повышенного риска // О.В. Данніков "Діагностика товарного ринку України:
макроекономічні показники і тенденції розвитку" // O.V. Dannikov / "Diagnostics product market Ukraine:macroeconomic indicators and trends" /
Abstract. The aim of this study is to develop a methodology for studying the globalization of business as a whole, and its individual aspects related to information and communication problems of the domestic business amid increasing crisis in the economy. Formation of system of anti-crisis measures, as a catalyst for the commodity market development in the context of globalization of the domestic business.
The subject of the research are methodological and applied questions of the commodity market diagnosis and analysis of major macroeconomic indicators of the scale of the impact of the crisis on the Ukrainian economy.
The object of research is the process of clarifying the strategic direction of marketing activity of business entities operating in the domestic and world commodity markets, allowing for the increased risk.
At the beginning of 2016 can already state that is critical braking Ukraine's economic development and worsening of macroeconomic indicators. In mos
Path testing is a structural testing method that focuses on executing all paths through the code or algorithm based on its structure rather than specifications. It involves converting the program into a control flow graph by representing the code as nodes, regions, and edges to show the flow of execution. This allows testers to ensure all statements are executed by following each path in the graph from start to finish.
Android Wear is a version of the Android operating system designed for smartwatches and other wearable devices. It allows devices to interact with Android smartphones to display notifications, run companion apps, and respond to voice commands. Key features of Android Wear include displaying smartphone notifications on a paired wearable, running standalone apps designed for small screens, and controlling devices with voice via Google Assistant. Developers can build Android Wear apps using the Android Wear software development kit and target features like expanded notifications, inline replies, and ambient mode to optimize the user experience on wearables.
The document provides an introduction and overview of developing applications for Android Wear. It discusses various topics like notifications, standalone apps, voice commands, and interactions between handheld and wearable apps. Code snippets are provided to demonstrate how to create notifications, add custom actions, handle voice inputs, create paged and stacked notifications, and add voice commands to apps. Links are included to documentation and examples to help developers get started with the Android Wear SDK.
The document provides an introduction and overview of developing applications for Android Wear. It discusses various aspects of creating notifications, standalone apps, and utilizing voice commands on wearables. Key points covered include adding dependencies, creating basic notifications, customizing notifications for wearables, handling voice inputs, using activities as custom notifications, and adding support for built-in and custom voice commands. Code samples are provided throughout to demonstrate implementation. The document aims to help developers get started with the Android Wear SDK and understand best practices.
Android notifications allow apps to display messages in the notification bar even when the app is not open. Notifications can include actions that trigger intents when selected. Common scenarios for actions include accepting/rejecting meetings or liking/sharing social media posts. Notifications can be expanded to include additional details like images or multiple lines of text. Custom notifications allow more complex interfaces with elements like buttons or charts.
Getting started with android dev and test perspectiveGunjan Kumar
The presentation covers basic intro to Android, how to get started with development, including instructions on setup, common UI usages like menus, dialogs; details on services like Sensors, Location and Google Maps
It also covers ideas on how to test including details on shell and installation instructions without using Eclipse
Here are the answers to your checkpoint questions:
1. An event loop constantly checks for any interactions from the user, like button clicks, text input, etc. It listens for these "events" and allows the program to respond to user actions.
2. The 3 minimum lines of code to create a GUI App are:
- Import App class from guizero
- Create App object
- Call display() on the App object
3. Widgets are the individual components or elements that make up a GUI, like labels, buttons, text boxes, etc. They are used to display information and get input from the user.
Android is a mobile operating system based on Linux. It has gone through several versions with new features added over time. The core building blocks of Android are activities, views, intents, services, content providers, fragments, and the AndroidManifest.xml file. This document provides tutorials on how to set up Android in Eclipse, make simple Android apps, and describes some of Android's main UI widgets.
A complete Lab Manual with Aim, Procedure, Source Code, ... All the Experiments of Mobile Application Development Lab are developed using Android Studio.
The document provides guidance on creating notifications for Android Wear apps. It discusses using NotificationCompat.Builder to build notifications that are displayed properly on both handheld devices and wearables. It covers adding actions, remote voice input, multiple pages, and stacking notifications on wearables. The key aspects covered are using NotificationCompat.Builder to create standard notifications, and NotificationCompat.WearableExtender to add wearable-specific functionality like extra pages and background images.
Android interview questions and answerskavinilavuG
Android uses Dalvik Virtual Machine (DVM) which requires a special bytecode format called .dex files. The DVM executes multiple virtual machines efficiently and runs Java bytecode, converting it to .dex format. Activities dictate the user interface and handle interactions, services handle background processes, broadcast receivers handle communication between apps and the OS, and content providers manage data storage. The Android SDK includes tools like the emulator, DDMS, and ADB for app development.
Mitsubishi graphic operation terminal got2000 series got mobile function quic...Dien Ha The
Khoa Học - Kỹ Thuật & Giải Trí: http://phongvan.org
Tài Liệu Khoa Học Kỹ Thuật: http://tailieukythuat.info
Thiết bị Điện Công Nghiệp - Điện Hạ Thế: http://dienhathe.vn
Mitsubishi graphic operation terminal got2000 series got mobile function quic...Dien Ha The
Mitsubishi ,
Catalog Thiết Bị Điện Mitsubishi , Catalog Thiết Bị Điện
Catalog Phụ Kiện Mitsubishi , Catalog Phụ Kiện,
Catalog Mitsubishi , Catalog,
https://www.dienhathe.com,
Chi tiết các sản phẩm khác của Mitsubishi tại https://dienhathe.com
Xem thêm các Catalog khác của Mitsubishi tại https://dienhathe.info
Để nhận báo giá sản phẩm Mitsubishi vui lòng gọi: 0907.764.966
Android Development: Build Android App from ScratchTaufan Erfiyanto
a month ago, i have a change to held a one day workshop about Android development at Phetchaburi Rajabhat University, Thailand. The workshop is attended by students and lecturers. it is a pleasure to me to see many people that excited to learn android development.
This is a presentation slide of my presentation. in this presentation you will learn about how to build create a simple to do list app from scratch.
content of the presentation slide:
- Introduction: what Android is?
- Android development tools
- Creating Android Project
- Understanding the Project Structure
- Creating Android Emulator
- Running Android Project on Emulator
- Running Android Project on Device
- Creating User Interface
- Manipulating Widget
- Creating To Do List App
- Integrating SQLite Database to Android Project
This document discusses various ways to create notifications in Android applications, including:
- Creating a basic notification with title, text, and icon
- Adding actions like buttons that trigger intents
- Styling notifications with big text, progress bars, or expanding views
- Handling compatibility on older Android versions
You'll find out about testing push notifications on Android. Here you'll see a little bit of code, a lot of Android features and bugs and advises how to handle them.
Lecture 01: Introduction into Android.pptxYousef Alamir
In your seeking to Learn Mobile Application Programming using an Android native Language like Java, These PPTs will be helpful and amazing for You. This is the First Lecture with The title of Introduction to Android.
Wireless home automation networks comprise wireless embedded sensors and actuators that enable monitoring and control
applications for home user comfort and efficient home management. This article surveys the main current and emerging solutions
that are suitable for WHANs , including ZigBee, Z-Wave, INSTEON, Wavenis, and IP-based technology. In the EXISTING
SYSTEM, Control of Door is achieved using ZigBee, IR (Infrared sensor), Wi-Fi or by GSM (GLOBAL SYSTEM MOBILE
MANAGEMENT). In the PROPOSED SYSTEM, Same is achieved using Easiest way without touching any sensors.
MODIFICATION of the Project is our implementation, Authenticated users will register to the House Server with set of Questions
and relevant Answer to it along with the Standard PIN Numbers for authentication. Android Application is deployed to verify all
these User will have sent a Voice command for PIN number. IR sensor is deployed to detect Human, If a new user enters to the
home IR is initiated and Camera picks a snap and emails to the all the members in the house. If anyone knows the person then he could share the PIN number and Session Key so that Door can be opened.
2. Whoa? What do you mean Part 1?
● Android Wear SDK officially announced and
launched at Google I/O two weeks ago
● Devices (for non-attendees) became
available yesterday
● There are a lot of new concepts/information
to digest and experience to be had
● Saving contextual notifications, apps and
syncing for Part 2 in August
3. What is Android Wear?
● Wearable computer in a watch form factor
● Runs Android OS 4.4W (API Level 20)
● Pairs to phone/tablet through Bluetooth
● Uses Android Wear app and Google Play
Services to sync between phone/tablet and
Wear device
● Current devices available (as of July 2014)
are LG G Watch and Samsung Gear Live
4. Why Android Wear?
● Removes the distractions caused by the
immersive nature of mobile devices
● Delivers only the essential information
needed in a timely manner
● Allows partial interaction with phones/tablets
to perform certain necessary actions
5. Creative Vision for Android Wear
● Launched automatically
● Glanceable
● Suggest and Demand
● Zero or Low Interaction
7. Suggest - The Context Stream
● Vertical list of cards
● Cards display contextually-relevant (time-
and/or location-based) information
● One card displayed at a time
● Optional background photos give additional
context
● Cards pushed to user by Android Wear
device and/or paired phone/tablet
8. Demand - The Cue Card
● Allows user to interact with Wear device
through voice or tapping suggested options
● Contains pre-defined voice commands that
applications can hook into
● Also allows for custom voice commands to
start functionality
● Similar to how a person interacts with
Google Glass and even phones/tablets
9. Notifications
● Part of the Suggest function of Android Wear
● Lives in the context stream
● Two types of notifications
○ Contextual notifications
○ Bridged notifications
10. Contextual Notifications
● Generated on the Android Wear device
● Uses current user context
(time/location/sensor input) to display
notifications to user
● Allows for more complex notification
interaction (such as taking action directly on
a card)
● More about this coming in Part 2!
11. Bridged Notifications
● Display of existing phone and tablet
notifications on Android Wear
● Notifications are formatted differently than
phone tablet
● Additional extensions to notifications allow
wearable-specific features to be added
● This will be the subject of this presentation
12. How to Get Notifications on Wear
● Create notifications the same way that you
would for phones and tablets
● Use NotificationCompat and
NotificationCompatManager to create and
post notifications
● Contain special add-ons for Wear
● Part of the Android Support Library (version
20.0.0 and above)
13. Code for Presentation
● Remainder of presentation demonstrates
notifications with code examples from
notification demo app
● Starts with basic notifications and builds
upon them
● Code is available on GitHub (link at the end
of presentation)
15. How to Create a Notification
● Get an instance of
NotificationCompatManager
● Create a Notification using
NotificationCompat.Builder()
● Call notify() on NotificationCompatManager,
passing in
○ Unique notification ID
○ Notification object
16. Bare-Bones Notification
● The minimum content required for a
notification is a small icon (24x24dp)
● Takes a drawable resource ID
● Centered on upper-right side of card
● Code:
Notification notification =
new NotificationCompat.Builder(getActivity())
.setSmallIcon(R.drawable.notification_icon)
.build();
17. Basic Notification
● Contains the basic elements that typical
notifications have:
○ Small icon
○ Content title
○ Context text
● Title and text are left aligned on the card
18. Notification with Large Icon
● Provides background image for notification
● Adds additional context to notification
● Takes a Bitmap image (use BitmapFactory.
decodeResource())
● Shown once card is swiped upwards from
peek state
19. Notification with BigTextStyle
● Allows display of long text (email messages)
in a notification
● Displays enough content to fill screen
● Tapping on card expands entire text content
● Create NotificationCompat.BigTextStyle and
use bigText() method to add text
● Call setStyle() on Notification to set text to
notification
20. Notification with Content Intent
● Allows user to start an intent on the
phone/tablet
● Same effect as user tapping notification on
phone/tablet
● Creating the Intent and wrap it in a
PendingIntent
● Adds page with “Open on phone” action
button to notification
21. Notification with Action Button
● Adds page to notification with button/text
● Icon image is placed inside of a blue circle
● Text is displayed under the button
● Intent (wrapped in PendingIntent) sets action
for the button to perform on phone/tablet
● Uses NotificationCompat.Action to define
action
● Added with addAction() to the Notification
22. Wear-Only Action Button
● Same as notification with action button but
action button only displays on Wear device
● Uses NotificationCompat.WearableExtender
to set Wear-specific features for notification
● WearableExtender is added to Notification
using extend()
23. Notification with Voice Reply
● Uses RemoteInput.Builder to construct a
voice reply input screen
● NotificationCompat.Action.Builder creates
the action button that starts the voice input
● Action is added to WearableExtender
● WearableExtender is added to Notification
24. Notification with Multiple Pages
● First notification is prepared using
NotificationCompat.Builder, but build() is not
called
● Subsequent notifications are created as
other previous notifications have been
● Final notification adds subsequent
notifications using addPage()
● First notification added to final using extend()
25. Stacked Notifications
● Create notifications as the previous
notifications have been
● Assign each notification to a group by calling
setGroup(GROUP_ID) where GROUP_ID is
a string identifier
● Display each notification individually and
they will be stacked together automatically
● Does not display on phone/tablet
26. Stacked Notifications (Inbox-style)
● Allows stacked notifications to appear on
phone/tablet
● Create stacked notifications as before
● Create NotificationCompat.InboxStyle and
populate with title, summary text and content
● Create new Notification and setStyle() with
InboxStyle, associate with group and
indicate notification is part of a group