This document summarizes a presentation about developing Android Wear applications. It discusses extending notifications on Wear, creating native Wear apps, and using the Android Wear API and Courier library to share data and send messages between mobile and Wear apps. Topics covered include adding pages and actions to notifications, running and debugging Wear apps, and using Gradle to embed a Wear module within a mobile app. Code examples demonstrate extending notifications, receiving data changes and messages, and simplifying data delivery with Courier's annotations and serialization.
Android Wearable Technology is booming.. In Last Google I/O we have seen new SDK made available by google for android wear. Here is our presentation on Android Wearable App Development.
See Androids Fighting: Connect Salesforce with Your Android Wear WatchSalesforce Developers
Bring the App Cloud to your Android Wear watch. The App Cloud provides a rich set of APIs and everything required to create stunning apps, even for your smart watch. Android Wear is a version of Google's Android operating system designed for smartwatches and other wearables. Leveraging the Salesforce Mobile SDK for Android, you just need a few lines of code to extend your business process to your smart watch. With speach recognition, you can even talk to Salesforce. Join us to learn about the architectural principles to connect Android Wear devices with Salesforce in a session that will be packed with tips about what works and what you should avoid.
This document provides an overview of developing for Android Wear. It discusses using notifications as the primary way to extend functionality from handheld apps to wearables. Notifications can be customized with actions, voice input, and multiple pages of content. For more complex experiences, custom wearable apps can be built that run directly on the device. These apps have activity-based interfaces but require simpler designs optimized for small screens and brief interactions.
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 discusses Android Wear development. It provides an overview of Android Wear's features and capabilities including notifications, sending and syncing data between a handheld device and wearable. It describes using notifications to receive messages and react to them on the wearable. It also discusses developing a case study app called Draw Watch for Android Wear which allows drawing on the wearable. The document reviews various Android Wear APIs like the Message API and Data API and provides code samples for sending notifications, opening activities, and syncing data between devices.
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.
This document provides an overview of Android Wear and how to develop apps for it. Some key points include:
- Android Wear allows developers to extend existing Android notifications and apps to smartwatches.
- Notifications on Android Wear can include additional content, voice input, and actions.
- Apps need to be designed for quick interactions with minimal taps or swipes on small screens.
- The Android Wear SDK allows communicating between phone and watch apps using APIs for nodes, messages, and shared data.
Android Wearable Technology is booming.. In Last Google I/O we have seen new SDK made available by google for android wear. Here is our presentation on Android Wearable App Development.
See Androids Fighting: Connect Salesforce with Your Android Wear WatchSalesforce Developers
Bring the App Cloud to your Android Wear watch. The App Cloud provides a rich set of APIs and everything required to create stunning apps, even for your smart watch. Android Wear is a version of Google's Android operating system designed for smartwatches and other wearables. Leveraging the Salesforce Mobile SDK for Android, you just need a few lines of code to extend your business process to your smart watch. With speach recognition, you can even talk to Salesforce. Join us to learn about the architectural principles to connect Android Wear devices with Salesforce in a session that will be packed with tips about what works and what you should avoid.
This document provides an overview of developing for Android Wear. It discusses using notifications as the primary way to extend functionality from handheld apps to wearables. Notifications can be customized with actions, voice input, and multiple pages of content. For more complex experiences, custom wearable apps can be built that run directly on the device. These apps have activity-based interfaces but require simpler designs optimized for small screens and brief interactions.
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 discusses Android Wear development. It provides an overview of Android Wear's features and capabilities including notifications, sending and syncing data between a handheld device and wearable. It describes using notifications to receive messages and react to them on the wearable. It also discusses developing a case study app called Draw Watch for Android Wear which allows drawing on the wearable. The document reviews various Android Wear APIs like the Message API and Data API and provides code samples for sending notifications, opening activities, and syncing data between devices.
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.
This document provides an overview of Android Wear and how to develop apps for it. Some key points include:
- Android Wear allows developers to extend existing Android notifications and apps to smartwatches.
- Notifications on Android Wear can include additional content, voice input, and actions.
- Apps need to be designed for quick interactions with minimal taps or swipes on small screens.
- The Android Wear SDK allows communicating between phone and watch apps using APIs for nodes, messages, and shared data.
Pairing computer vision technologies with emerging wearable devices enables exciting new mobile experiences. Learn about new types of vision-enabled wearables and the creative, new applications that will drive them.
Watch this presentation on YouTube: https://www.youtube.com/watch?v=O-w_5yduaZ4
Learn more about Vuforia mobile vision platform: https://www.qualcomm.com/vuforia
This document is a tutorial on how to set up an Android development environment to build Android Wear apps. It discusses downloading and installing the Java Development Kit (JDK), Android Studio IDE, Android SDK, and creating an Android Virtual Device (AVD) emulator. It then demonstrates creating a new Android Wear project from a sample app provided by Google and running the app on the AVD emulator. The tutorial is intended for beginners and covers the basic setup and running of a simple Android Wear app.
Break Timer: Android-wear introduction and application case-studyUmair Vatao
Break Timer: An android-wear application that sits silently on your wrist and remind you to take a break if you keep typing for long duration (Facebook counts!). Help you avoid RSI problem.
Android Wearable are apps run directly on the device, giving one access to hardware such as sensors and the GPU.This presentation is for anyone who has idea
about android app development and would be interested to know about android wearable app development running Android Wear OS.
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
The document provides an overview and agenda for an Android development tutorial being given in Tokyo, Japan in October 2009. It introduces key Android concepts like Activities, Views, Intents, Services, and Notifications. It also outlines the development environment and tools needed, including Ubuntu, Eclipse, and the Android SDK. The document guides attendees through creating their first basic Android map application, including designing the UI, adding elements to the layout, and running the application.
The Canadian International Development Agency (CIDA) was an organization that administered foreign aid programs in developing countries, and operated in partnership with other Canadian organizations in the public and private sectors as well as other international organizations.
It was formed in 1968 by the Canadian government under Pierre Trudeau. In March 2013, the Conservative government announced that CIDA would be folded into the Department of Foreign Affairs, and the organizations renamed as the Department of Foreign Affairs, Trade and Development.[1]
CIDA reported to the Parliament of Canada through the minister for International Cooperation. Its mandate was to "support sustainable development in developing countries in order to reduce poverty and contribute to a more secure, equitable, and prosperous world."[2] CIDA had its headquarters at 200 Promenade du Portage in Gatineau, Quebec.[3]
Folk high schools (Danish: Folkehøjskole; Dutch: Volkshogeschool; Finnish: kansanopisto and työväenopisto or kansalaisopisto; German: Volkshochschule and (uncommon) Heimvolkshochschule; Norwegian: Folkehøgskole; Swedish: Folkhögskola; Hungarian: népfőiskola) are institutions for adult education that generally do not grant academic degrees, though certain courses might exist leading to that goal. They are most commonly found in Nordic countries and in Germany and Austria. The concept originally came from the Danish writer, poet, philosopher and pastor N. F. S. Grundtvig (1783–1872). Grundtvig was inspired by the Marquis de Condorcet's Report on the General Organization of Public Instruction which was written in 1792 during the French Revolution. The Revolution had a direct influence on popular education in France. In the United States, a Danish folk school called Danebod was founded in Tyler, Minnesota.
Darshana Singh has 19 years of experience as a secretary. She is currently working as an office coordinator for M/s. Ashok Praveen & Co., a chartered accountant firm and educational publisher. Previously, she held secretarial roles for companies in timber protection chemicals and milk products. She has a bachelor's degree in arts and a diploma in stenography. Her responsibilities have included managing files, ordering supplies, greeting visitors, distributing mail, and more. She is proficient in MS Office and has typing and shorthand speeds of 30-35 wpm and 80 wpm respectively.
An international model of world class educationProtik Roy
The International Baccalaureate (IB) offers four educational programs that develop skills for living and working in a globalized world. The IB was originated in 1962 to provide an internationally recognized curriculum emphasizing critical thinking. It includes the Diploma Programme for ages 16-19, the Middle Years Programme for ages 11-16, and the Primary Years Programme for ages 3-12. The IB aims to develop learners who are inquirers, knowledgeable, thinkers, and principled with international perspectives.
Individual interest promotion programme-: ATLP-CEProtik Roy
Elementary Education
Individual Interest Promotion Programme
Individual Interest Promotion Programme provides opportunity for learners to participate and learn about their individuality.
Efforts are being made to inculcate the feeling of social and national integration through various activities. Most of the books available at CECs have content related to the social and national issues like health hygiene, nutrition, superstitions, science in daily life, agriculture, etc.
Literacy facilitators actively and effectively participate in mobilization of various campaigns launched by other departments such as family welfare, pulse polio, save girl child, water conservation, total sanitation programme, save humanity and save wildlife. In Order to inculcate the attitude towards information technology, computer literacy programmes have also been initiated in some districts at CECs.
In Banswara district, Chairman of Zila Saksharta Samiti has planned to provide literacy classes for the illiterate labourers engaged in the National Rural Employment Guarantee Scheme, at their work site, with the help of preraks of CECs. From Ist April, 2008 the scheme will be taken up in all districts of Rajasthan.
The 21st Century Community Learning Centers (21st CCLC) initiative is the only federal funding source dedicated exclusively to afterschool programs. The No Child Left Behind Act (NCLB) reauthorized 21st CCLC in 2002, transferring the administration of the grants from the U.S. Department of Education to the state education agencies. Each state receives funds based on its share of Title I funding for low-income students. Funds are also allotted to outlying areas and the Bureau of Indian Affairs.The No Child Left Behind Act narrowed the focus of 21st CCLC from a community learning center model, where all members of the community benefited from access to school resources such as teachers, computer labs, gymnasiums and classrooms, to an afterschool program model that provides services only to students attending high-poverty, low-performing schools. The services they provide include Academic enrichment activities that can help students meet state and local achievement standards. They also provide additional services designed to reinforce and complement the regular academic program, such as: drug and violence prevention programs, counseling programs, art, music, and recreation programs, technology education programs, and character education programs. Programs also may provide literacy and related educational development services to the families of children who are served in the program. [1]
BRAC, an international development organisation based in Bangladesh, is the largest non-governmental development organisation in the world, in terms of number of employees as of June 2015.[3][4][5][6] Established by Sir Fazle Hasan Abed in 1972 after the independence of Bangladesh, BRAC is present in all 64 districts of Bangladesh as well as other countries in Asia, Africa, and the Americas.
BRAC employs over 100,000 people, roughly 70 percent of whom are women, reaching more than 126 million people[citation needed]. The organisation is 70-80% self-funded through a number of commercial enterprises that include a dairy and food project and a chain of retail handicraft stores called Aarong. BRAC maintains offices in 14 countries throughout the world, including BRAC USA and BRAC UK
This document provides information about ActionAid, an international non-governmental organization founded in London in 1972. It details ActionAid's vision of a world without poverty and injustice, its mission to eradicate poverty and injustice by working with excluded people, and its objectives, values, themes, areas of work, and campaigns. The document also summarizes ActionAid's work in Bangladesh since 1983, including its educational activities, impact, and future plans to promote quality education and women's empowerment.
Este documento resume la evolución del concepto de canibalismo en América Latina desde su uso en los relatos coloniales hasta su apropiación en narrativas y cultura posteriores. Explica que el canibalismo se refiere más al pensamiento y la imaginación que a la práctica real, y ha servido para entender a los Otros y las propias identidades. También analiza cómo el mito del caníbal justificó el colonialismo europeo y cómo pensadores posteriores han criticado y reapropiado este concepto.
The document discusses Bangladesh's Equivalency Programme, which provides an alternative educational path equivalent to formal secondary education. It aims to enable students who left formal schooling to continue their education.
The key points are:
1) The programme was developed based on UNESCO's APPEAL initiative to expand continuing education opportunities. It exists at primary and secondary levels and can include both formal and non-formal options.
2) The curriculum is designed to be equivalent to general or vocational secondary curriculums while serving target groups' needs. It prepares students for further education or work through various delivery methods.
3) The secondary curriculum has two levels, with compulsory courses in language, math,
Global Footprint and Long-Term Engagement;
Community Engagement and Local Partnerships;
Scale and Sustainability;
Diversified and Engaged Funding Base;
TIME Asia's Heroes Award
Library of Congress Literacy Award, Rubenstein Prize: 2014
Great Nonprofits Top-Rated Award: 2013, 2014
The Global Journal's “Top 100 NGOs”: 2012 & 2013.
(UNESCO) Confucius Prize for Literacy: 2011.
To transform the lives of millions of children in Asia & Africa (developning country);
To establish gender equality in education;
To develop literacy skill;
To create a habit of reading among primary school children;
To ensure girls have the skills & support needed to complete their secondary education;
Education in Australia is primarily the responsibility of the states and territories. Each state or territory government provides funding and regulates the public and private schools within its governing area.
Pairing computer vision technologies with emerging wearable devices enables exciting new mobile experiences. Learn about new types of vision-enabled wearables and the creative, new applications that will drive them.
Watch this presentation on YouTube: https://www.youtube.com/watch?v=O-w_5yduaZ4
Learn more about Vuforia mobile vision platform: https://www.qualcomm.com/vuforia
This document is a tutorial on how to set up an Android development environment to build Android Wear apps. It discusses downloading and installing the Java Development Kit (JDK), Android Studio IDE, Android SDK, and creating an Android Virtual Device (AVD) emulator. It then demonstrates creating a new Android Wear project from a sample app provided by Google and running the app on the AVD emulator. The tutorial is intended for beginners and covers the basic setup and running of a simple Android Wear app.
Break Timer: Android-wear introduction and application case-studyUmair Vatao
Break Timer: An android-wear application that sits silently on your wrist and remind you to take a break if you keep typing for long duration (Facebook counts!). Help you avoid RSI problem.
Android Wearable are apps run directly on the device, giving one access to hardware such as sensors and the GPU.This presentation is for anyone who has idea
about android app development and would be interested to know about android wearable app development running Android Wear OS.
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
The document provides an overview and agenda for an Android development tutorial being given in Tokyo, Japan in October 2009. It introduces key Android concepts like Activities, Views, Intents, Services, and Notifications. It also outlines the development environment and tools needed, including Ubuntu, Eclipse, and the Android SDK. The document guides attendees through creating their first basic Android map application, including designing the UI, adding elements to the layout, and running the application.
The Canadian International Development Agency (CIDA) was an organization that administered foreign aid programs in developing countries, and operated in partnership with other Canadian organizations in the public and private sectors as well as other international organizations.
It was formed in 1968 by the Canadian government under Pierre Trudeau. In March 2013, the Conservative government announced that CIDA would be folded into the Department of Foreign Affairs, and the organizations renamed as the Department of Foreign Affairs, Trade and Development.[1]
CIDA reported to the Parliament of Canada through the minister for International Cooperation. Its mandate was to "support sustainable development in developing countries in order to reduce poverty and contribute to a more secure, equitable, and prosperous world."[2] CIDA had its headquarters at 200 Promenade du Portage in Gatineau, Quebec.[3]
Folk high schools (Danish: Folkehøjskole; Dutch: Volkshogeschool; Finnish: kansanopisto and työväenopisto or kansalaisopisto; German: Volkshochschule and (uncommon) Heimvolkshochschule; Norwegian: Folkehøgskole; Swedish: Folkhögskola; Hungarian: népfőiskola) are institutions for adult education that generally do not grant academic degrees, though certain courses might exist leading to that goal. They are most commonly found in Nordic countries and in Germany and Austria. The concept originally came from the Danish writer, poet, philosopher and pastor N. F. S. Grundtvig (1783–1872). Grundtvig was inspired by the Marquis de Condorcet's Report on the General Organization of Public Instruction which was written in 1792 during the French Revolution. The Revolution had a direct influence on popular education in France. In the United States, a Danish folk school called Danebod was founded in Tyler, Minnesota.
Darshana Singh has 19 years of experience as a secretary. She is currently working as an office coordinator for M/s. Ashok Praveen & Co., a chartered accountant firm and educational publisher. Previously, she held secretarial roles for companies in timber protection chemicals and milk products. She has a bachelor's degree in arts and a diploma in stenography. Her responsibilities have included managing files, ordering supplies, greeting visitors, distributing mail, and more. She is proficient in MS Office and has typing and shorthand speeds of 30-35 wpm and 80 wpm respectively.
An international model of world class educationProtik Roy
The International Baccalaureate (IB) offers four educational programs that develop skills for living and working in a globalized world. The IB was originated in 1962 to provide an internationally recognized curriculum emphasizing critical thinking. It includes the Diploma Programme for ages 16-19, the Middle Years Programme for ages 11-16, and the Primary Years Programme for ages 3-12. The IB aims to develop learners who are inquirers, knowledgeable, thinkers, and principled with international perspectives.
Individual interest promotion programme-: ATLP-CEProtik Roy
Elementary Education
Individual Interest Promotion Programme
Individual Interest Promotion Programme provides opportunity for learners to participate and learn about their individuality.
Efforts are being made to inculcate the feeling of social and national integration through various activities. Most of the books available at CECs have content related to the social and national issues like health hygiene, nutrition, superstitions, science in daily life, agriculture, etc.
Literacy facilitators actively and effectively participate in mobilization of various campaigns launched by other departments such as family welfare, pulse polio, save girl child, water conservation, total sanitation programme, save humanity and save wildlife. In Order to inculcate the attitude towards information technology, computer literacy programmes have also been initiated in some districts at CECs.
In Banswara district, Chairman of Zila Saksharta Samiti has planned to provide literacy classes for the illiterate labourers engaged in the National Rural Employment Guarantee Scheme, at their work site, with the help of preraks of CECs. From Ist April, 2008 the scheme will be taken up in all districts of Rajasthan.
The 21st Century Community Learning Centers (21st CCLC) initiative is the only federal funding source dedicated exclusively to afterschool programs. The No Child Left Behind Act (NCLB) reauthorized 21st CCLC in 2002, transferring the administration of the grants from the U.S. Department of Education to the state education agencies. Each state receives funds based on its share of Title I funding for low-income students. Funds are also allotted to outlying areas and the Bureau of Indian Affairs.The No Child Left Behind Act narrowed the focus of 21st CCLC from a community learning center model, where all members of the community benefited from access to school resources such as teachers, computer labs, gymnasiums and classrooms, to an afterschool program model that provides services only to students attending high-poverty, low-performing schools. The services they provide include Academic enrichment activities that can help students meet state and local achievement standards. They also provide additional services designed to reinforce and complement the regular academic program, such as: drug and violence prevention programs, counseling programs, art, music, and recreation programs, technology education programs, and character education programs. Programs also may provide literacy and related educational development services to the families of children who are served in the program. [1]
BRAC, an international development organisation based in Bangladesh, is the largest non-governmental development organisation in the world, in terms of number of employees as of June 2015.[3][4][5][6] Established by Sir Fazle Hasan Abed in 1972 after the independence of Bangladesh, BRAC is present in all 64 districts of Bangladesh as well as other countries in Asia, Africa, and the Americas.
BRAC employs over 100,000 people, roughly 70 percent of whom are women, reaching more than 126 million people[citation needed]. The organisation is 70-80% self-funded through a number of commercial enterprises that include a dairy and food project and a chain of retail handicraft stores called Aarong. BRAC maintains offices in 14 countries throughout the world, including BRAC USA and BRAC UK
This document provides information about ActionAid, an international non-governmental organization founded in London in 1972. It details ActionAid's vision of a world without poverty and injustice, its mission to eradicate poverty and injustice by working with excluded people, and its objectives, values, themes, areas of work, and campaigns. The document also summarizes ActionAid's work in Bangladesh since 1983, including its educational activities, impact, and future plans to promote quality education and women's empowerment.
Este documento resume la evolución del concepto de canibalismo en América Latina desde su uso en los relatos coloniales hasta su apropiación en narrativas y cultura posteriores. Explica que el canibalismo se refiere más al pensamiento y la imaginación que a la práctica real, y ha servido para entender a los Otros y las propias identidades. También analiza cómo el mito del caníbal justificó el colonialismo europeo y cómo pensadores posteriores han criticado y reapropiado este concepto.
The document discusses Bangladesh's Equivalency Programme, which provides an alternative educational path equivalent to formal secondary education. It aims to enable students who left formal schooling to continue their education.
The key points are:
1) The programme was developed based on UNESCO's APPEAL initiative to expand continuing education opportunities. It exists at primary and secondary levels and can include both formal and non-formal options.
2) The curriculum is designed to be equivalent to general or vocational secondary curriculums while serving target groups' needs. It prepares students for further education or work through various delivery methods.
3) The secondary curriculum has two levels, with compulsory courses in language, math,
Global Footprint and Long-Term Engagement;
Community Engagement and Local Partnerships;
Scale and Sustainability;
Diversified and Engaged Funding Base;
TIME Asia's Heroes Award
Library of Congress Literacy Award, Rubenstein Prize: 2014
Great Nonprofits Top-Rated Award: 2013, 2014
The Global Journal's “Top 100 NGOs”: 2012 & 2013.
(UNESCO) Confucius Prize for Literacy: 2011.
To transform the lives of millions of children in Asia & Africa (developning country);
To establish gender equality in education;
To develop literacy skill;
To create a habit of reading among primary school children;
To ensure girls have the skills & support needed to complete their secondary education;
Education in Australia is primarily the responsibility of the states and territories. Each state or territory government provides funding and regulates the public and private schools within its governing area.
OlaCabs is a popular mobile app for transportation in India. Founded in 2010, it started as an online cab aggregator in Mumbai and is now headquartered in Bangalore. Ola connects users to over 200,000 cabs across 85 cities in India and provides services ranging from economical to luxury transportation options through their mobile app or website. It has received over $600 million in total funding. In 2015, Ola acquired TaxiForSure, expanding its network further.
El documento define el diseño gráfico como una disciplina que surgió a mediados del siglo XX para traducir ideas en imágenes visuales. Explica que el diseño es un proceso para resolver problemas basados en necesidades, requiriendo un motivo. Además, señala que el diseñador es un artista creativo que aplica métodos científicos para lograr soluciones estéticas a problemas de comunicación. Por último, menciona que las tecnologías usadas en el diseño gráfico incluyen computadoras Mac y Pro, iMac de 27 pulg
This document provides an introduction to Manuel Vicente Vivo and discusses Android Wear. It outlines why Android Wear came to existence, its design principles and structure, notifications and applications, technical considerations, new features from Google I/O 2015, and the 1.3 update. It also briefly mentions other wearable platforms like Apple WatchOS and Tizen. The document aims to educate about Android Wear development and opportunities in the wearables market.
The document summarizes new features in Android L and Google Play services, including improvements to webviews, notifications, job scheduling, and App Indexing. Webviews now allow remote debugging. The new Job Scheduler allows deferring of background tasks. Notifications are evolving with lock screen notifications and heads up banners. App Indexing in Google Play services enables deep linking between websites and apps.
Google has been in the press a lot in the past few days since announcing Android Wear, their upcoming line of Android branded smart watches. Wearables are the next big frontier for smart technology. And on March 18, 2014, Google announced its part in it — Android Wear. As the name implies, Android Wear is an Android-based initiative, using Google's mobile operating system and a dedicated software development kit to kick-start the wearables space.
Build your own remote control. Droidcon greece 2016Jesus Gumiel
Build your own remote control. This talk explains how to turn your smartwatch into a remote control to can handle pretty much everything connected to the Internet.
It includes an easy example of a wearable app and its integration with the phone
Android Classes In Mumbai
best android classes in mumbai with job assistance.
our features are:
expert guidance by it industry professionals
lowest fees of 5000
practical exposure to handle projects
well equiped lab
after course resume writing guidance
The document describes creating an Android Wear app to control a Now TV box from a Moto 360 smartwatch. It provides context that the app was created for a Now TV hackday and must be simple, interesting, useful and developed within 4 hours. It then outlines the architecture and code for building a basic Wear app that communicates with a mobile app using messages. The mobile app acts as a listener and uses the messages to send commands to control the Now TV box remotely.
Introduction to Android - Mobile Fest Singapore 2009sullis
The document introduces Android, an open source software stack for mobile devices. It provides a brief history of Android's development including Google's acquisition in 2005, the launch of the Open Handset Alliance in 2007, and the release of the first Android phone, the HTC Dream, in 2008. The document also summarizes Android's system architecture, development tools, and how to create basic Android applications using activities and views.
Android is an open source software stack for mobile devices that includes an operating system, middleware and key applications. It allows applications to run in their own process using the Dalvik Virtual Machine. The Android software development kit includes tools for application development, debugging, and deployment. While Android offers flexibility and customization, the user interface is not as polished as the iPhone and media syncing requires third party tools rather than a centralized application like iTunes.
Android is an open source operating system for mobile devices that allows developers to create innovative applications. It provides access to core APIs as well as bindings to Android's native APIs. The Android software stack includes applications, application framework, libraries and services, and the Linux kernel. Unlike proprietary platforms, Android is open source and allows customization by device makers and developers.
This document is a tutorial on how to develop Android Wear apps for beginners. It discusses setting up the development environment, creating an Android Wear virtual device, and connecting the virtual device to a handheld device. Specifically, it instructs the user to download necessary software like Android Studio, SDK tools, and the Android Wear companion app. It then provides step-by-step instructions on creating an Android virtual device, connecting it to the handheld device using ADB, and testing basic notifications. The tutorial is part of a multi-part series on Android Wear app development for beginners.
Android is an open-source operating system developed by Google and the Open Handset Alliance. It allows developers to write managed code in Java and includes features like multi-tasking, a rich development platform, and support for a variety of media formats. The Android architecture consists of four main layers - applications, application framework, libraries and runtime, and the Linux kernel. Some key advantages of Android include customization options, better notifications, choice of hardware, and a large app market. Disadvantages can include less control over malware in the app market and inconsistent updates from device manufacturers.
The document provides an overview of Android including:
1) Android is an open source software stack that includes an operating system, middleware and key apps for mobile devices.
2) It was developed by Google and the Open Handset Alliance and the first Android phone was the HTC Dream released in 2008.
3) Android applications are developed using Java and run on the Dalvik virtual machine. The Android SDK provides tools for application development.
The document provides an overview of the key phases in the mobile application development lifecycle:
1. Planning and research to define the app concept and target audience.
2. Assessing technical feasibility to determine the appropriate platform and backend requirements.
3. Creating wireframes and prototypes to design the user interface and flows.
4. Designing the visual aspects and user experience of the application.
5. Developing the app by coding features, integrating the backend, and testing functionality.
6. Thoroughly testing the app and fixing any bugs before deployment.
7. Deploying the app to appropriate app stores or servers.
8. Launching the app and promoting
Native vs Hybrid - Options to develop your mobile applicationLoic Ortola
Developing a mobile application is always a challenge, as it usually implies multi-platform developments (android, iOS, windows phone).
The question of native vs hybrid makes sense.
This presentation lays out the differences, the concepts of existing solutions, and proposes a matrix of decisions, and elements to make up your mind.
The document is a presentation about managing mobile security incidents. It discusses the growth of the mobile industry and mobile app markets. It then covers some mobile security challenges for incident responders, such as needing to test on specific hardware models. The presentation also compares mobile and PC security approaches. It recommends using Android emulators and tools like Burp Suite to test for vulnerabilities like SSL validation and hostname issues. The overall message is that mobile security needs to be taken seriously given industry growth, and incident responders need creative approaches to effectively triage mobile incidents.
This document provides instructions for turning a smartphone into both a sensor and actuator using the IBM Watson IoT Platform. It explains how to register a smartphone on the platform, install an app to read accelerometer data and send it to the platform. It then shows how to build an app on Bluemix that processes the sensor data, such as triggering an alert if the phone falls. This transforms the phone into both a sensor and actuator that can receive commands.
Real-Time Applications with SignalR and Vue by Girish Sonewane.docx.pdfPolyxer Systems
Real-time applications have become essential for organizations and developers in today's frantic digital world.
Whether it's for social media, online gaming, or corporate communication, users want real-time information, interactive features, and teamwork. But to create such applications, you need the necessary technology and tools.
In this blog, we will look at the powerful SignalR and Vue.js combination to build real-time apps.
The document provides an overview of the history and development of the Android operating system. It discusses how Android was founded in 2003 and later developed by Google. It describes the various versions of Android from 1.0 to the upcoming versions. It also outlines the key aspects of the Android architecture including its open source nature, use of Java and Linux kernel, and its layered design. Finally, it covers the features, advantages, disadvantages and security aspects of the Android platform.
Similar to Android On Your Sleeve - DroidCon Montreal 2015 (20)
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
SOCRadar's Aviation Industry Q1 Incident Report is out now!
The aviation industry has always been a prime target for cybercriminals due to its critical infrastructure and high stakes. In the first quarter of 2024, the sector faced an alarming surge in cybersecurity threats, revealing its vulnerabilities and the relentless sophistication of cyber attackers.
SOCRadar’s Aviation Industry, Quarterly Incident Report, provides an in-depth analysis of these threats, detected and examined through our extensive monitoring of hacker forums, Telegram channels, and dark web platforms.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
WhatsApp offers simple, reliable, and private messaging and calling services for free worldwide. With end-to-end encryption, your personal messages and calls are secure, ensuring only you and the recipient can access them. Enjoy voice and video calls to stay connected with loved ones or colleagues. Express yourself using stickers, GIFs, or by sharing moments on Status. WhatsApp Business enables global customer outreach, facilitating sales growth and relationship building through showcasing products and services. Stay connected effortlessly with group chats for planning outings with friends or staying updated on family conversations.
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeAftab Hussain
Understanding variable roles in code has been found to be helpful by students
in learning programming -- could variable roles help deep neural models in
performing coding tasks? We do an exploratory study.
- These are slides of the talk given at InteNSE'23: The 1st International Workshop on Interpretability and Robustness in Neural Software Engineering, co-located with the 45th International Conference on Software Engineering, ICSE 2023, Melbourne Australia
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsPeter Muessig
The UI5 tooling is the development and build tooling of UI5. It is built in a modular and extensible way so that it can be easily extended by your needs. This session will showcase various tooling extensions which can boost your development experience by far so that you can really work offline, transpile your code in your project to use even newer versions of EcmaScript (than 2022 which is supported right now by the UI5 tooling), consume any npm package of your choice in your project, using different kind of proxies, and even stitching UI5 projects during development together to mimic your target environment.
Artificia Intellicence and XPath Extension FunctionsOctavian Nadolu
The purpose of this presentation is to provide an overview of how you can use AI from XSLT, XQuery, Schematron, or XML Refactoring operations, the potential benefits of using AI, and some of the challenges we face.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Flutter is a popular open source, cross-platform framework developed by Google. In this webinar we'll explore Flutter and its architecture, delve into the Flutter Embedder and Flutter’s Dart language, discover how to leverage Flutter for embedded device development, learn about Automotive Grade Linux (AGL) and its consortium and understand the rationale behind AGL's choice of Flutter for next-gen IVI systems. Don’t miss this opportunity to discover whether Flutter is right for your project.
OpenMetadata Community Meeting - 5th June 2024OpenMetadata
The OpenMetadata Community Meeting was held on June 5th, 2024. In this meeting, we discussed about the data quality capabilities that are integrated with the Incident Manager, providing a complete solution to handle your data observability needs. Watch the end-to-end demo of the data quality features.
* How to run your own data quality framework
* What is the performance impact of running data quality frameworks
* How to run the test cases in your own ETL pipelines
* How the Incident Manager is integrated
* Get notified with alerts when test cases fail
Watch the meeting recording here - https://www.youtube.com/watch?v=UbNOje0kf6E
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppGoogle
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-fusion-buddy-review
AI Fusion Buddy Review: Key Features
✅Create Stunning AI App Suite Fully Powered By Google's Latest AI technology, Gemini
✅Use Gemini to Build high-converting Converting Sales Video Scripts, ad copies, Trending Articles, blogs, etc.100% unique!
✅Create Ultra-HD graphics with a single keyword or phrase that commands 10x eyeballs!
✅Fully automated AI articles bulk generation!
✅Auto-post or schedule stunning AI content across all your accounts at once—WordPress, Facebook, LinkedIn, Blogger, and more.
✅With one keyword or URL, generate complete websites, landing pages, and more…
✅Automatically create & sell AI content, graphics, websites, landing pages, & all that gets you paid non-stop 24*7.
✅Pre-built High-Converting 100+ website Templates and 2000+ graphic templates logos, banners, and thumbnail images in Trending Niches.
✅Say goodbye to wasting time logging into multiple Chat GPT & AI Apps once & for all!
✅Save over $5000 per year and kick out dependency on third parties completely!
✅Brand New App: Not available anywhere else!
✅ Beginner-friendly!
✅ZERO upfront cost or any extra expenses
✅Risk-Free: 30-Day Money-Back Guarantee!
✅Commercial License included!
See My Other Reviews Article:
(1) AI Genie Review: https://sumonreview.com/ai-genie-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIFusionBuddyReview,
#AIFusionBuddyFeatures,
#AIFusionBuddyPricing,
#AIFusionBuddyProsandCons,
#AIFusionBuddyTutorial,
#AIFusionBuddyUserExperience
#AIFusionBuddyforBeginners,
#AIFusionBuddyBenefits,
#AIFusionBuddyComparison,
#AIFusionBuddyInstallation,
#AIFusionBuddyRefundPolicy,
#AIFusionBuddyDemo,
#AIFusionBuddyMaintenanceFees,
#AIFusionBuddyNewbieFriendly,
#WhatIsAIFusionBuddy?,
#HowDoesAIFusionBuddyWorks
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j
Dr. Jesús Barrasa, Head of Solutions Architecture for EMEA, Neo4j
Découvrez les dernières innovations de Neo4j, et notamment les dernières intégrations cloud et les améliorations produits qui font de Neo4j un choix essentiel pour les développeurs qui créent des applications avec des données interconnectées et de l’IA générative.
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
2. DroidCon Montréal
2015
2
Building your Super Wearable App
• You've got an idea for the next super app?
• But don't know where to start with Android Wear
development?
• Let's spend some time stretching those Android Wear
development muscles.
3. DroidCon Montréal
2015
3
What is Android Wear?
• An Android platform for your wrist that can run native apps.
• A stream of cards that you can swipe through and interact with.
• These are notifications delivered from your phone, or displayed directly by
apps on the watch.
• Sensors like step counters, barometer, heart-rate sensor, and accelerometer.
• Customizable watch faces, and the ability to design your own faces.
• A communication channel between your watch and your phone.
• A set of custom components to make application development for the watch
easier.
4. DroidCon Montréal
2015
4
Types of Android Wear Applications
• Extended Notifications in Phone Apps
• Notifications appear in the watch stream and can be customized with
background images, pages, and layout modifications.
• Phone App with Embedded Wear App
• More powerful and flexible: a full, native,Android app is delivered to the Wear
device which can take full advantage of the platform.
5. DroidCon Montréal
2015
5
First Wear Wonder: Enhanced Notifications
• Notifications can be extended for wear using the
Android Support Library and the
NotificationCompat.Builder class.
• The NotificationCompat.WearableExtender class provides
properties that Android Wear uses to change the
appearance and behaviour of the notifications on the
watch.
6. DroidCon Montréal
2015
6
Extending Notifications: Step One
dependencies {
compile 'com.android.support:support-v4:22.0.0'
}
Add the Android Support library to your dependencies in your
App's build.gradle file.
7. DroidCon Montréal
2015
7
Extending Notifications: Step Two
NotificationCompat.Builder mBuilder =
new NotificationCompat.Builder(this)
.setSmallIcon(R.mipmap.ic_launcher)
.setContentTitle("My notification")
.setContentText("When in danger,nWhen in doubt,nRun in circles,nScream and shout!");
int mNotificationId = 1;
NotificationManager mNotifyMgr =
(NotificationManager) getSystemService(NOTIFICATION_SERVICE);
mNotifyMgr.notify(mNotificationId, mBuilder.build());
Modify your notification building code to extend it for Android
Wear.
8. DroidCon Montréal
2015
int mNotificationId = 1;
NotificationManager mNotifyMgr =
(NotificationManager) getSystemService(NOTIFICATION_SERVICE);
mNotifyMgr.notify(mNotificationId, mBuilder.build());
8
Extending Notifications: Step Two
NotificationCompat.Builder mBuilder =
new NotificationCompat.Builder(this)
.setSmallIcon(R.mipmap.ic_launcher)
.setContentTitle("My notification")
.setContentText("When in danger,nWhen in doubt,nRun in circles,nScream and shout!");
9. DroidCon Montréal
2015
int mNotificationId = 1;
NotificationManager mNotifyMgr =
(NotificationManager) getSystemService(NOTIFICATION_SERVICE);
mNotifyMgr.notify(mNotificationId, mBuilder.build());
8
Extending Notifications: Step Two
NotificationCompat.Builder mBuilder =
new NotificationCompat.Builder(this)
.setSmallIcon(R.mipmap.ic_launcher)
.setContentTitle("My notification")
.setContentText("When in danger,nWhen in doubt,nRun in circles,nScream and shout!");
NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender()
.setGravity(Gravity.TOP)
.setHintScreenTimeout(NotificationCompat.WearableExtender.SCREEN_TIMEOUT_LONG);
mBuilder.extend(wearableExtender);
10. DroidCon Montréal
2015
9
Extending Notifications:Wearable Only Actions
• Adding wearable-only actions can be done by adding one or more actions
to the wearable extender.
// Create an intent for the action
Intent actionIntent = new Intent(this, LoveItActivity.class);
PendingIntent actionPendingIntent =
PendingIntent.getActivity(this, 0, actionIntent,
PendingIntent.FLAG_UPDATE_CURRENT);
// Create the action
NotificationCompat.Action action =
new NotificationCompat.Action.Builder(R.drawable.ic_love,
getString(R.string.ic_love_label), actionPendingIntent)
.build();
NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender()
.setGravity(Gravity.TOP)
.setHintScreenTimeout(NotificationCompat.WearableExtender.SCREEN_TIMEOUT_LONG);
.addAction(action)
11. DroidCon Montréal
2015
10
Extending Notifications: Adding Pages
• The WearableExtender provides the ability to add pages to a
notification that can be swiped through.
wearableExtender.addPage(
new NotificationCompat.Builder(this)
.extend(new NotificationCompat.WearableExtender()
.setBackground(BitmapFactory.decodeResource(getResources(), R.drawable.punk))
.setHintAvoidBackgroundClipping(true)
.setHintShowBackgroundOnly(true))
.build());
Source code for this sample app can be found at: http://goo.gl/Kxucib
12. DroidCon Montréal
2015
11
Extending Notifications: Fake Demo
• In lieu of super demo hardware, you instead receive a fake demo.
• The notification is sent, and on the Watch, the following pages are displayed.
13. DroidCon Montréal
2015
12
Native App Development
• A native Android Wear app will always be bundled
with an app that's installed from Google Play on the
Phone.
• Android Studio has templates to get you started.
• The Google Play Services Wearable library bridges the
gap between the phone and the watch.
14. DroidCon Montréal
2015
13
Wear Development Ideas
• Wear Apps can fire their own Notifications.Those notifications will not
be shown on the phone.
• It can be very helpful to share a bit of code between a Wear app and it's
Mobile App counterpart through a shared Android Library.
• The Google Play Services Wearable library provides data synchronization and
message passing, but only passes byte arrays. Libraries can make this much
easier, such as the Courier library by Denley Bihari, which will be discussed later.
• A watch isn't just for watch faces although you can make those as well.
15. DroidCon Montréal
2015
14
Getting Started With Wear Development
• Android Studio provides a Wear module template.This can be added into your
app, and with a little Gradle Glue, you've added a wear extension to your app.
16. DroidCon Montréal
2015
15
Finishing the Template Wizard
• Choosing the Display Notification activity leads to some customization.
• Hitting finish, creates a project with
two modules: mobile, and wear.
• The wear module contains two activities
and a broadcast receiver.
MyStub
BroadcastActivity
MyPostNotification
Receiver
MyDisplay
Activity
Creates NotificationBroadcasts Intent
17. DroidCon Montréal
2015
16
Running the Wear App During Development
• You're going to want to run the app, and debug it, during development.
• If you have a device with a charging dock that doubles as a USB bridge,
you can develop rapidly with the device on the dock.
• Otherwise you'll need to use Debugging over Bluetooth or make your own
cable.
18. DroidCon Montréal
2015
17
Enabling Debugging over Bluetooth
• First, on your Wear device you'll have to
enable developer settings by tapping on
the Settings > About > Build Number a few
times.
• Then in Settings > Developer Settings enable
ADB debugging and Debug over Bluetooth.
19. DroidCon Montréal
2015
18
Enabling Debugging over Bluetooth
• Next, in the Android Wear app on your
phone, open settings and turn on the
Debugging over Bluetooth
• Initially you will likely see host is
disconnected, so you will need to run
some ADB commands:
• adb forward tcp:4444 localabstract:/adb-hub
• adb connect localhost:4444
20. DroidCon Montréal
2015
19
The RestYou Already Know
• Your Android Wear device will show up
in Android Studio as another Android
device you can deploy to, and debug on.
• Transfer to the device over Bluetooth
takes quite a while, but it is conveniently
devoid of wires.
• Choose the wear module from the
configurations chooser, hit the run
button, and the app will run on your
watch.
21. DroidCon Montréal
2015
19
The RestYou Already Know
• Your Android Wear device will show up
in Android Studio as another Android
device you can deploy to, and debug on.
• Transfer to the device over Bluetooth
takes quite a while, but it is conveniently
devoid of wires.
• Choose the wear module from the
configurations chooser, hit the run
button, and the app will run on your
watch.
22. DroidCon Montréal
2015
20
Gradle Glue and Matryoshka Apps
• The Wear app's dependencies in
build.gradle look like this:
dependencies {
compile 'com.google.android.support:wearable:1.1.0'
compile 'com.google.android.gms:play-services-wearable:6.5.87'
}
• The Mobile app's dependencies
look like this:
dependencies {
wearApp project(':wear')
compile 'com.google.android.gms:play-services:+'
}
• Notice the special wearApp project statement.This is how the wear app
is embedded into the mobile app.Apps inside apps. Like Russian Dolls.
• Only a signed, release build, will automatically deploy the wear app to a
watch. Debug builds do not auto deploy their wear apps.
23. DroidCon Montréal
2015
21
Mobile and Wear app Symbiosis
• A Wear app is not very interesting without a Mobile app partnered with it.
• The Mobile app and Wear app share data, and can send messages to each
other.
• Let's quickly go through the Android Wear API for sharing data and sending
messages.
24. DroidCon Montréal
2015
22
Sharing Data and Sending Messages
• It all starts with the GoogleApiClient and the Wearable.API.
// In onCreate
GoogleApiClient mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(new GoogleApiClient.ConnectionCallbacks() {
@Override
public void onConnected(Bundle connectionHint) {
Log.d(TAG, "onConnected: " + connectionHint);
// Now you can use the Data Layer API
}
@Override
public void onConnectionSuspended(int cause) {
Log.d(TAG, "onConnectionSuspended: " + cause);
}
})
.addOnConnectionFailedListener(new GoogleApiClient.OnConnectionFailedListener() {
@Override
public void onConnectionFailed(ConnectionResult result) {
Log.d(TAG, "onConnectionFailed: " + result);
}
})
// Request access only to the Wearable API
.addApi(Wearable.API)
.build();
// In onResume
mGoogleApiClient.connect();
25. DroidCon Montréal
2015
23
Syncing Data Items
• A Data Item has a Path and a Payload
• A Path is a unique string that starts with a forward slash. Don't use
underscores.
• A Payload is a byte array limited to 100kb.You must serialize the data
yourself. Flexible, but requires some assembly.
26. DroidCon Montréal
2015
24
Syncing Data Items
• Google recommends using the DataMap class instead. It allows data to
be accessed as key-value pairs. It's used as follows:
27. DroidCon Montréal
2015
25
Receiving Data Changes and Messages
• For background receipt of Data Item changes, implement a subclass of
WearableListenerService and override some of the methods.
• onMessageReceived - for listening for messages.
• onDataChanged - for detecting Data Item changes.
• onPeerConnected
• onPeerDisconnected
• For Foreground receipt of messages and Data Item changes, you can
implement the DataListener and MessageListener interfaces and register with either
the DataApi, or the MessageApi.
28. DroidCon Montréal
2015
26
An Even Better Way
• Use the Courier library written by Denley Bihari!
• It wraps up Wearable.DataApi and Wearable.MessageApi into a simple and clean
delivery service for Android Wear.
• Provides an Annotation processor that simplifies serializing objects, and sending
them as either Data Items or Messages.
29. DroidCon Montréal
2015
27
Courier
• Imagine you want to deliver a message from your phone to a Wear Device
public class Message {
public String mSender;
public String mMessageText;
public long mTimeStamp;
public Message() {
}
public Message(String sender, String messageText, long timeStamp) {
mSender = sender;
mMessageText = messageText;
mTimeStamp = timeStamp;
}
}
import me.denley.courier.Deliverable;
@Deliverable
30. DroidCon Montréal
2015
28
Courier
• Then in the Activity you want to send from, register with Courier to do the
work:
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Courier.startReceiving(this);
}
@Override
protected void onDestroy() {
Courier.stopReceiving(this);
super.onDestroy();
}
public void onSaySomethingButtonClicked(View button) {
Courier.deliverMessage(this, "/message", "From Mobile!");
Message message = new Message("Me", getRandomPhrase(), System.currentTimeMillis());
Courier.deliverData(this, "/message/data", message);
}
}
31. DroidCon Montréal
2015
29
Receiving Is Just as Easy
• To Receive data, the code is remarkably similar:
public class ContentActivity extends Activity {
Message mMessage;
@Override
protected void onCreate(Bundle savedInstanceState) {
Courier.startReceiving(this);
}
@Override
protected void onDestroy() {
Courier.stopReceiving(this);
super.onDestroy();
}
private void updateMessage() {
mTextView.setText(mMessage.mMessageText);
}
@ReceiveData("/message/data")
void onMessageChanged(Message message) {
mMessage = message;
updateMessage();
}
}
32. DroidCon Montréal
2015
30
Courier's Packager
• Receiving messages using a WearableListenerService is possible with Courier's
Packager class doing the deserialization. Handles Serializable and classes marked
with Deliverable annotations.
public class ListenerService extends WearableListenerService {
@Override
public void onMessageReceived(MessageEvent messageEvent) {
if (messageEvent.getPath().equals("/message")) {
String message = Packager.unpack(messageEvent.getData(), String.class);
Intent i = new Intent();
i.setAction("org.nsdev.wearableapp.SHOW_NOTIFICATION");
i.putExtra(MyPostNotificationReceiver.CONTENT_KEY, message);
sendBroadcast(i);
}
super.onMessageReceived(messageEvent);
}
}
33. DroidCon Montréal
2015
31
Take a Look At Some Code
• While developing this section of the talk, I wrote some code that demonstrates
the details, and the steps of arriving at the final result can be seen in the
commits.
• Check it out at http://goo.gl/mQsFA1
• Check out the Courier library at: http://goo.gl/qAI4wu
• Thanks to Denley Bihari for permission to talk about his project.
34. DroidCon Montréal
2015
32
Wear UI Classes forYour Toolbelt
• You have a bit of an idea of the mechanics of writing
wear applications, and how to get data to and from
your wear device now, let's look at the UIToolkit.
• Wear UI classes are designed to be easy to use
without a lot of fine touch control.
• The use of cards and swipe gestures is encouraged.
• Applications should be composed of the following
simple building blocks.
42. DroidCon Montréal
2015
34
Round, Square and Butterknife
• You will be needing to use the WatchViewStub to make layouts that work both in
square and round devices.
• The appropriate layout will be chosen automatically.
• Let's go through the layout files and show an example of binding a WatchViewStub
to layouts.
48. DroidCon Montréal
2015
40
Round, Square and Butterknife
ContentActivity.java
@Override
public boolean onTouchEvent(MotionEvent event) {
return mDetector.onTouchEvent(event) || super.onTouchEvent(event);
}
• Let's do something a little interesting with all of this...
• We'll detect a couple more gestures.
49. DroidCon Montréal
2015
41
Adding Interesting Gestures
ContentActivity.java
mDetector = new GestureDetector(ContentActivity.this, new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
mDismissOverlayView.show();
}X
});
50. DroidCon Montréal
2015
42
Adding Interesting Gestures
ContentActivity.java
mDetector = new GestureDetector(ContentActivity.this, new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
mDismissOverlayView.show();
}X
});
51. DroidCon Montréal
2015
43
Adding Interesting Gestures
ContentActivity.java
mDetector = new GestureDetector(ContentActivity.this, new GestureDetector.SimpleOnGestureListener() {
@Override
public void onLongPress(MotionEvent e) {
mDismissOverlayView.show();
}X
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
Courier.deliverMessage(ContentActivity.this, "/keynote/command", "next");
return true;
}
@Override
public boolean onDoubleTap(MotionEvent e) {
Courier.deliverMessage(ContentActivity.this, "/keynote/command", "previous");
return true;
}
});
52. DroidCon Montréal
2015
44
Mobile App Modifications
MainActivity.java
@ReceiveMessages("/keynote/command")
public void onKeynoteMessage(String message) {
try {
runCommand(message);
} catch (Exception e) {
e.printStackTrace();
}
}
private final OkHttpClient client = new OkHttpClient();
public void runCommand(final String command) throws Exception {
Request request = new Request.Builder()
.get()
.url(String.format("http://%s/json/%s", mServerHost.getText().toString(), command))
.build();
client.newCall(request).enqueue(new Callback() {
@Override
public void onFailure(Request request, IOException e) {
e.printStackTrace();
}