SlideShare a Scribd company logo
Android L and So Much More 
James Montemagno 
Developer Evangelist, Xamarin 
@JamesMontemagno
New in Android 
– Android L Developer Preview 
– Android Wear 
– Android TV
Android L Developer Preview
Android L Major Features 
 ART Runtime 
 Material Design 
 Widgets, Views, and Shadows 
 Animations 
 Notifications 
 Compatibility
Android L Major Features 
ART 
Runtime 
 Ahead-of-Time compilation 
 Improved Garbage Collection 
 Improved Debugging Support
Android L Major Features 
Material 
Design 
Material metaphor Bold, graphic, intentional Motion provides meaning 
google.com/design/spec/material-design/introduction.html
 Brand new style for 
applications. 
• Theme.Material 
• Theme.Material.Light 
• Theme.Material.Light. 
DarkActionBar 
Material Design
 colorPrimary – App 
Branding Color 
 colorPrimaryDark – Status 
bar & contextual bars 
 colorAccent – Theme UI 
Controls (ie. checkbox) 
Material Design – Color Palette
Material Design – Color Palette
 Extract Prominent 
Colors from Image 
 6 Palettes Generated 
Material Design –Palettes 
Generate a color pallet from an image 
https://www.nuget.org/packages/Xamarin.Android.Support.v7.Palette/
Material Design – Drawable Tint 
 Bitmaps as alpha maps 
 android:tint=“@color/blue”
Demo
Android L Major Features 
View and 
Shadows 
 CardView 
 RecyclerView 
 Elevation
CardView 
Wrap any view in a CardView 
https://www.nuget.org/packages Xamarin.Android.Support.v7.CardView/
RecyclerView 
 High speed efficient ListView 
 Includes layout manager for positioning items 
 Default animations for common item operations 
https://www.nuget.org/packages/Xamarin.Android.Support.v7.RecyclerView/
Elevation 
 android:elevation=“2dp” 
 View.SetTranslationZ method 
 Z = elevation + translationZ
Demo
Android L Major Features 
Animations 
 Touch Feedback 
 Reveal 
 Activity Transitions
Animation 
Surface reaction
Animation 
Surface reaction 
Material response
Animation 
Surface reaction 
Material response Radial action
 Default Touch Feedback Animation: 
RippleDrawable 
 Set Background to: 
• ?android:attr/selectableItemBackgro 
und 
• ?android:attr/selectableItemBackgro 
undBorderless 
 Create custom RippleDrawable using 
the ripple element 
Animation – Touch Feedback
Animation – Reveal 
 Easily create 
clipping circles
Animation – Activity Transitions 
 Custom animations for enter and exit transitions 
of activities 
• Enter: How views in the activity enter 
• Exit: How view in activity exit 
• Shared Elements: How views that are shared 
between 2 activities animate
Android L Major Features 
Notifications 
 Lock Screen Notifications 
 Notifications Metadata 
 Unified Notifications
New APIs – Lock Screen Notifications (Android L) 
 Android.App.Notification.Builder.SetVisibility() 
• Private: Shows basic information such as icon, but 
hides full content 
• Public: Show the notification's full content 
• Secret: Show nothing, excluding even the 
notification’s icon
New APIs – Notifications Metadata (Android L) 
 SetCategory(): Tells the system how to handle 
notifications when the device is in Do not Disturb 
 SetPriority(): Set to Max or High to appear in a 
small floating window if the sound also has a vibration 
or sound. 
 AddPerson(): Add a list of people to notification.
Unified Notifications – Standard and Extended
Demo
Android L Major Features 
Compatibility 
& More 
 New APIs 
 Android L Small Features 
 Google Play Services via NuGet
New APIs – Compatibility 
 Material Theme 
• Only available in Android L 
Developer Preview 
o Define theme that inherits from 
older theme (like Holo) in 
res/values/styles.xml 
o Define them with same name that 
inherits from Material in res/values-v21/ 
styles.xml 
o Set theme as your app’s theme in 
manifest file 
 Layouts 
• Do not use any of the new XML attributes from 
Android L Developer Preview, they will not work 
with previous versions of Android. 
• You must provide alternative layouts if you wish 
to use them 
o L Preview Layouts: res/layout-v21/ 
o Alternative Layouts: res/layout/ 
o Do avoid duplication of code, define styles in 
res/values/ 
o Modify the style in res/values-v21/ for new APIs
New APIs – Compatibility 
 UI Widgets 
• Support v7: RecyclerView & CardView 
o Limitations (pre-L Preview): 
o CardView falls back to 
programmatic shadows 
implementation using additional 
padding 
o CardView does not clip its children 
that intersect with rounded corners 
 Animations 
• Following are Android L Developer Preview ONLY: 
o Activity Transitions 
o Touch feedback 
o Reveal animations 
o Path-based animations
Android L Small Features 
 Camera 
• Enhanced image and 
video capturing. Capture 
Raw sensor data. 
 Multi-networking 
• Dynamically scan for 
available network with 
specific capability and 
automatically connect. 
 BLE Peripheral Mode 
• Apps that connect to devices 
such as pedometer or health 
monitor and transfer data to 
another BLE device. 
 Document-Centric Recents 
 Job Scheduler
Google Play Services via NuGet 
 Play Game Services: event –based challenges, saved 
games, and game profiles 
 App Indexing API 
 Google Cast: Media tracks for closed captioning 
 Wallet: Save to Wallet, geo-fenced in-store notifications, 
split tender between wallet & card 
 Analytics: Measure product impressions/product clicks 
 Mobile Ads: in-app purchase ads 
 Dynamic Security Provider
Android Wear
Android Wear – Extending Apps 
 Enhance Existing Apps 
• Support v4 Notification API 
o WearableExtender 
 Inbox Style Cards 
 Voice Input
Android Wear Notifications + Expanded
Android Wear Notifications - Actions
Android Wear – Building Apps 
 Companion App 
• Android app that runs on a wearable 
 New Themes 
 New UI Widgets 
• BoxInsetLayout 
• CircledImageView 
• WearableListView 
• More… 
http://www.nuget.org/packages/Xamarin.Android.Wear/
Android Wear – Sync Data 
 Exposed via Google Play Services 
• Data API 
o Sync datastore between phone and wearable 
 Message API 
o Send small payloads and simple 
o communication 
http://www.nuget.org/packages/Xamarin.GooglePlayServicesJellyBean/
Android Wear – Templates + NuGet 
http://www.nuget.org/packages/Xamarin.Android.Wear/
Demo
Android TV
Android TV Features 
 Made for TV 
• Pre-built fragments for browsing & interacting 
with media catalogs 
 In-App Searching 
• Voice input for searching content 
 Recommendations 
• Suggest content from your app 
 Chromecast Built-in
Android TV ADT-1 Development Kit 
http://developer.android.com/tv/index.html
Android TV + Xamarin 
 Available via NuGet 
• https://www.nuget.org/packages/Xamarin.Android.Support.v17.Leanback 
 Samples: 
• https://github.com/xamarin/monodroid-samples
Android Recap 
• Android L Developer Preview 
• Material Design 
• Views & Animations 
• Notifications 
• Android Wear 
• Notifications & Companion Apps 
• Android TV
Resources 
 Tips for Your First Wear App 
 http://blog.xamarin.com/tips-for-your-first-android-wear-app/ 
 Android L Documentation 
 http://developer.xamarin.com/guides/android/platform_features/android_l/introduc 
tion_to_android_l/ 
 Samples 
 http://developer.xamarin.com/samples/android/
Dive Deep into Mobile Development with the Experts! 
xamarin.com/evolve
Q & A 
James Montemagno 
Developer Evangelist, Xamarin 
@JamesMontemagno

More Related Content

What's hot (20)

PPT
Native App Development for iOS, Android, and Windows with Visual Studio
Xamarin
 
PPTX
Cross Platform Mobile Development with Xamarin
Joe Koletar
 
PDF
Powering your Apps with Cloud Services
Xpand IT
 
PDF
Native i os, android, and windows development in c# with xamarin 4
Xamarin
 
PDF
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
Nick Landry
 
PPT
Developing Cross-platform Native Apps with Xamarin
danhermes
 
PPTX
Introduction to Xamarin
Vinicius Quaiato
 
PDF
Mobile Cross-Platform App Development in C# with Xamarin
Nick Landry
 
KEY
Cross-platform Mobile Development
Xamarin
 
PDF
Cross Platform Mobile Development
Software Infrastructure
 
PPTX
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Mark Arteaga
 
PDF
Developing and Designing Native Mobile Apps in Visual Studio
Xamarin
 
PPTX
Hybrid Mobile Development
Shai Raiten
 
PDF
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin
 
PDF
Azure mobile services
Nicolò Carandini
 
PDF
Xamarin DevOps
Nicolò Carandini
 
PPTX
Introducing mono & xamarin
Techizzaa
 
PPTX
Cross-Platform Mobile App Development
Josue Bustos
 
PPTX
Introduction to Xamarin
Brian Anderson
 
Native App Development for iOS, Android, and Windows with Visual Studio
Xamarin
 
Cross Platform Mobile Development with Xamarin
Joe Koletar
 
Powering your Apps with Cloud Services
Xpand IT
 
Native i os, android, and windows development in c# with xamarin 4
Xamarin
 
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
Nick Landry
 
Developing Cross-platform Native Apps with Xamarin
danhermes
 
Introduction to Xamarin
Vinicius Quaiato
 
Mobile Cross-Platform App Development in C# with Xamarin
Nick Landry
 
Cross-platform Mobile Development
Xamarin
 
Cross Platform Mobile Development
Software Infrastructure
 
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Mark Arteaga
 
Developing and Designing Native Mobile Apps in Visual Studio
Xamarin
 
Hybrid Mobile Development
Shai Raiten
 
Xamarin University Presents: Building Your First Intelligent App with Xamarin...
Xamarin
 
Azure mobile services
Nicolò Carandini
 
Xamarin DevOps
Nicolò Carandini
 
Introducing mono & xamarin
Techizzaa
 
Cross-Platform Mobile App Development
Josue Bustos
 
Introduction to Xamarin
Brian Anderson
 

Viewers also liked (9)

PDF
Accelerate Mobile Success with a Mobile Center of Excellence
Xamarin
 
PDF
Building Your First Xamarin.Forms App
Xamarin
 
PDF
Building Your First Android App with Xamarin
Xamarin
 
PDF
Building Your First iOS App with Xamarin for Visual Studio
Xamarin
 
PDF
Xamarin: Introduction to iOS 8
Xamarin
 
PDF
Xamarin Mobile Leaders Summit: Business at the Point of Inspiration: Producti...
Xamarin
 
PPTX
Xamarin Mobile Leaders Summit: The Mobile Mind Shift: Opportunities, Challeng...
Xamarin
 
PDF
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Xamarin
 
PDF
Introduction to Xamarin for Visual Studio 2017
Xamarin
 
Accelerate Mobile Success with a Mobile Center of Excellence
Xamarin
 
Building Your First Xamarin.Forms App
Xamarin
 
Building Your First Android App with Xamarin
Xamarin
 
Building Your First iOS App with Xamarin for Visual Studio
Xamarin
 
Xamarin: Introduction to iOS 8
Xamarin
 
Xamarin Mobile Leaders Summit: Business at the Point of Inspiration: Producti...
Xamarin
 
Xamarin Mobile Leaders Summit: The Mobile Mind Shift: Opportunities, Challeng...
Xamarin
 
Intro to Xamarin for Visual Studio: Native iOS, Android, and Windows Apps in C#
Xamarin
 
Introduction to Xamarin for Visual Studio 2017
Xamarin
 
Ad

Similar to Android L and So Much More Webinar Slides (20)

PPTX
Android L and Wear overview
James Montemagno
 
PDF
Android Lollipop and Material Design
James Montemagno
 
PPTX
Android Lollipop: The developer's perspective
Sebastian Vieira
 
PPTX
Google IO 2014 overview
Bin Yang
 
PDF
Google I/O 2014 Recap
Trey Robinson
 
PPTX
Material design
Jackson F. de A. Mafra
 
PPTX
Google I/O 2019 - what's new in Android Q and Jetpack
Sunita Singh
 
PPTX
Android L
Winjit Technologies
 
PPTX
Material design Android L
uzair khan
 
PPTX
Android L
Nabil Kazi
 
PPTX
Material Design - Høgskolen Ringerike 2017
Konstantin Loginov
 
PDF
Android development first steps
christoforosnalmpantis
 
PPTX
Android Mobile App Development basics PPT
nithya697634
 
PDF
Google IO Mobility Review 2014
Manesh Lad
 
PDF
Android development - the basics, MFF UK, 2013
Tomáš Kypta
 
PPTX
TDC 2014 - Trilha Mobile - Material design
Jackson F. de A. Mafra
 
PDF
What's new in Android Lollipop
Abdellah SELASSI
 
PDF
Android development - the basics, MFF UK, 2014
Tomáš Kypta
 
PDF
Android development - the basics, MFF UK, 2012
Tomáš Kypta
 
PPTX
Mobile Application Development
AbelRobel
 
Android L and Wear overview
James Montemagno
 
Android Lollipop and Material Design
James Montemagno
 
Android Lollipop: The developer's perspective
Sebastian Vieira
 
Google IO 2014 overview
Bin Yang
 
Google I/O 2014 Recap
Trey Robinson
 
Material design
Jackson F. de A. Mafra
 
Google I/O 2019 - what's new in Android Q and Jetpack
Sunita Singh
 
Material design Android L
uzair khan
 
Android L
Nabil Kazi
 
Material Design - Høgskolen Ringerike 2017
Konstantin Loginov
 
Android development first steps
christoforosnalmpantis
 
Android Mobile App Development basics PPT
nithya697634
 
Google IO Mobility Review 2014
Manesh Lad
 
Android development - the basics, MFF UK, 2013
Tomáš Kypta
 
TDC 2014 - Trilha Mobile - Material design
Jackson F. de A. Mafra
 
What's new in Android Lollipop
Abdellah SELASSI
 
Android development - the basics, MFF UK, 2014
Tomáš Kypta
 
Android development - the basics, MFF UK, 2012
Tomáš Kypta
 
Mobile Application Development
AbelRobel
 
Ad

More from Xamarin (17)

PDF
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin
 
PDF
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Xamarin
 
PDF
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Xamarin
 
PDF
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
Xamarin
 
PDF
Build Better Games with Unity and Microsoft Azure
Xamarin
 
PDF
Exploring UrhoSharp 3D with Xamarin Workbooks
Xamarin
 
PDF
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Xamarin
 
PDF
Developer’s Intro to Azure Machine Learning
Xamarin
 
PDF
Customizing Xamarin.Forms UI
Xamarin
 
PDF
Session 4 - Xamarin Partner Program, Events and Resources
Xamarin
 
PDF
Session 3 - Driving Mobile Growth and Profitability
Xamarin
 
PDF
Session 2 - Emerging Technologies in your Mobile Practice
Xamarin
 
PDF
Session 1 - Transformative Opportunities in Mobile and Cloud
Xamarin
 
PDF
SkiaSharp Graphics for Xamarin.Forms
Xamarin
 
PDF
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
Xamarin
 
PDF
Intro to Xamarin.Forms for Visual Studio 2017
Xamarin
 
PDF
Connected Mobile Apps with Microsoft Azure
Xamarin
 
Xamarin University Presents: Ship Better Apps with Visual Studio App Center
Xamarin
 
Get the Most Out of iOS 11 with Visual Studio Tools for Xamarin
Xamarin
 
Get the Most out of Android 8 Oreo with Visual Studio Tools for Xamarin
Xamarin
 
Creative Hacking: Delivering React Native App A/B Testing Using CodePush
Xamarin
 
Build Better Games with Unity and Microsoft Azure
Xamarin
 
Exploring UrhoSharp 3D with Xamarin Workbooks
Xamarin
 
Desktop Developer’s Guide to Mobile with Visual Studio Tools for Xamarin
Xamarin
 
Developer’s Intro to Azure Machine Learning
Xamarin
 
Customizing Xamarin.Forms UI
Xamarin
 
Session 4 - Xamarin Partner Program, Events and Resources
Xamarin
 
Session 3 - Driving Mobile Growth and Profitability
Xamarin
 
Session 2 - Emerging Technologies in your Mobile Practice
Xamarin
 
Session 1 - Transformative Opportunities in Mobile and Cloud
Xamarin
 
SkiaSharp Graphics for Xamarin.Forms
Xamarin
 
Building Games for iOS, macOS, and tvOS with Visual Studio and Azure
Xamarin
 
Intro to Xamarin.Forms for Visual Studio 2017
Xamarin
 
Connected Mobile Apps with Microsoft Azure
Xamarin
 

Recently uploaded (20)

PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 

Android L and So Much More Webinar Slides

  • 1. Android L and So Much More James Montemagno Developer Evangelist, Xamarin @JamesMontemagno
  • 2. New in Android – Android L Developer Preview – Android Wear – Android TV
  • 4. Android L Major Features  ART Runtime  Material Design  Widgets, Views, and Shadows  Animations  Notifications  Compatibility
  • 5. Android L Major Features ART Runtime  Ahead-of-Time compilation  Improved Garbage Collection  Improved Debugging Support
  • 6. Android L Major Features Material Design Material metaphor Bold, graphic, intentional Motion provides meaning google.com/design/spec/material-design/introduction.html
  • 7.  Brand new style for applications. • Theme.Material • Theme.Material.Light • Theme.Material.Light. DarkActionBar Material Design
  • 8.  colorPrimary – App Branding Color  colorPrimaryDark – Status bar & contextual bars  colorAccent – Theme UI Controls (ie. checkbox) Material Design – Color Palette
  • 9. Material Design – Color Palette
  • 10.  Extract Prominent Colors from Image  6 Palettes Generated Material Design –Palettes Generate a color pallet from an image https://www.nuget.org/packages/Xamarin.Android.Support.v7.Palette/
  • 11. Material Design – Drawable Tint  Bitmaps as alpha maps  android:tint=“@color/blue”
  • 12. Demo
  • 13. Android L Major Features View and Shadows  CardView  RecyclerView  Elevation
  • 14. CardView Wrap any view in a CardView https://www.nuget.org/packages Xamarin.Android.Support.v7.CardView/
  • 15. RecyclerView  High speed efficient ListView  Includes layout manager for positioning items  Default animations for common item operations https://www.nuget.org/packages/Xamarin.Android.Support.v7.RecyclerView/
  • 16. Elevation  android:elevation=“2dp”  View.SetTranslationZ method  Z = elevation + translationZ
  • 17. Demo
  • 18. Android L Major Features Animations  Touch Feedback  Reveal  Activity Transitions
  • 20. Animation Surface reaction Material response
  • 21. Animation Surface reaction Material response Radial action
  • 22.  Default Touch Feedback Animation: RippleDrawable  Set Background to: • ?android:attr/selectableItemBackgro und • ?android:attr/selectableItemBackgro undBorderless  Create custom RippleDrawable using the ripple element Animation – Touch Feedback
  • 23. Animation – Reveal  Easily create clipping circles
  • 24. Animation – Activity Transitions  Custom animations for enter and exit transitions of activities • Enter: How views in the activity enter • Exit: How view in activity exit • Shared Elements: How views that are shared between 2 activities animate
  • 25. Android L Major Features Notifications  Lock Screen Notifications  Notifications Metadata  Unified Notifications
  • 26. New APIs – Lock Screen Notifications (Android L)  Android.App.Notification.Builder.SetVisibility() • Private: Shows basic information such as icon, but hides full content • Public: Show the notification's full content • Secret: Show nothing, excluding even the notification’s icon
  • 27. New APIs – Notifications Metadata (Android L)  SetCategory(): Tells the system how to handle notifications when the device is in Do not Disturb  SetPriority(): Set to Max or High to appear in a small floating window if the sound also has a vibration or sound.  AddPerson(): Add a list of people to notification.
  • 28. Unified Notifications – Standard and Extended
  • 29. Demo
  • 30. Android L Major Features Compatibility & More  New APIs  Android L Small Features  Google Play Services via NuGet
  • 31. New APIs – Compatibility  Material Theme • Only available in Android L Developer Preview o Define theme that inherits from older theme (like Holo) in res/values/styles.xml o Define them with same name that inherits from Material in res/values-v21/ styles.xml o Set theme as your app’s theme in manifest file  Layouts • Do not use any of the new XML attributes from Android L Developer Preview, they will not work with previous versions of Android. • You must provide alternative layouts if you wish to use them o L Preview Layouts: res/layout-v21/ o Alternative Layouts: res/layout/ o Do avoid duplication of code, define styles in res/values/ o Modify the style in res/values-v21/ for new APIs
  • 32. New APIs – Compatibility  UI Widgets • Support v7: RecyclerView & CardView o Limitations (pre-L Preview): o CardView falls back to programmatic shadows implementation using additional padding o CardView does not clip its children that intersect with rounded corners  Animations • Following are Android L Developer Preview ONLY: o Activity Transitions o Touch feedback o Reveal animations o Path-based animations
  • 33. Android L Small Features  Camera • Enhanced image and video capturing. Capture Raw sensor data.  Multi-networking • Dynamically scan for available network with specific capability and automatically connect.  BLE Peripheral Mode • Apps that connect to devices such as pedometer or health monitor and transfer data to another BLE device.  Document-Centric Recents  Job Scheduler
  • 34. Google Play Services via NuGet  Play Game Services: event –based challenges, saved games, and game profiles  App Indexing API  Google Cast: Media tracks for closed captioning  Wallet: Save to Wallet, geo-fenced in-store notifications, split tender between wallet & card  Analytics: Measure product impressions/product clicks  Mobile Ads: in-app purchase ads  Dynamic Security Provider
  • 36. Android Wear – Extending Apps  Enhance Existing Apps • Support v4 Notification API o WearableExtender  Inbox Style Cards  Voice Input
  • 39. Android Wear – Building Apps  Companion App • Android app that runs on a wearable  New Themes  New UI Widgets • BoxInsetLayout • CircledImageView • WearableListView • More… http://www.nuget.org/packages/Xamarin.Android.Wear/
  • 40. Android Wear – Sync Data  Exposed via Google Play Services • Data API o Sync datastore between phone and wearable  Message API o Send small payloads and simple o communication http://www.nuget.org/packages/Xamarin.GooglePlayServicesJellyBean/
  • 41. Android Wear – Templates + NuGet http://www.nuget.org/packages/Xamarin.Android.Wear/
  • 42. Demo
  • 44. Android TV Features  Made for TV • Pre-built fragments for browsing & interacting with media catalogs  In-App Searching • Voice input for searching content  Recommendations • Suggest content from your app  Chromecast Built-in
  • 45. Android TV ADT-1 Development Kit http://developer.android.com/tv/index.html
  • 46. Android TV + Xamarin  Available via NuGet • https://www.nuget.org/packages/Xamarin.Android.Support.v17.Leanback  Samples: • https://github.com/xamarin/monodroid-samples
  • 47. Android Recap • Android L Developer Preview • Material Design • Views & Animations • Notifications • Android Wear • Notifications & Companion Apps • Android TV
  • 48. Resources  Tips for Your First Wear App  http://blog.xamarin.com/tips-for-your-first-android-wear-app/  Android L Documentation  http://developer.xamarin.com/guides/android/platform_features/android_l/introduc tion_to_android_l/  Samples  http://developer.xamarin.com/samples/android/
  • 49. Dive Deep into Mobile Development with the Experts! xamarin.com/evolve
  • 50. Q & A James Montemagno Developer Evangelist, Xamarin @JamesMontemagno

Editor's Notes

  • #5: Only available in Android L Developer Preview
  • #6: You might run into issues with ART if you: -Use JNI to run C/C++ code -Generate non-standard code (like obfuscators) -Use compacting garbage collection techniques
  • #7: Only available in Android L Developer Preview
  • #9: Available in Android.Support.v7 library from NuGet
  • #10: Available in Android.Support.v7 library from NuGet
  • #11: Available in Android.Support.v7 library from NuGet
  • #12: Available in Android.Support.v7 library from NuGet
  • #14: Only available in Android L Developer Preview
  • #15: Available in Android.Support.v7 library from NuGet
  • #16: Available in Android.Support.v7 library from NuGet
  • #17: Available in Android.Support.v7 library from NuGet
  • #19: Only available in Android L Developer Preview
  • #23: Available in Android.Support.v7 library from NuGet
  • #24: Available in Android.Support.v7 library from NuGet
  • #25: Available in Android.Support.v7 library from NuGet
  • #26: Only available in Android L Developer Preview
  • #27: Available in Android.Support.v7 library from NuGet
  • #28: Available in Android.Support.v7 library from NuGet
  • #29: Available in Android.Support.v7 library from NuGet
  • #31: Only available in Android L Developer Preview
  • #32: Available in Android.Support.v7 library from NuGet
  • #33: Available in Android.Support.v7 library from NuGet
  • #34: Available in Android.Support.v7 library from NuGet
  • #35: Available in Android.Support.v7 library from NuGet
  • #37: Only available in Android L Developer Preview
  • #38: Only available in Android L Developer Preview
  • #39: Only available in Android L Developer Preview
  • #40: Only available in Android L Developer Preview
  • #41: Only available in Android L Developer Preview
  • #42: Only available in Android L Developer Preview
  • #45: Only available in Android L Developer Preview
  • #46: Only available in Android L Developer Preview
  • #47: Only available in Android L Developer Preview
  • #49: Only available in Android L Developer Preview