Home
Videos uploaded by user “Android Developers”
Introducing Galaxy Nexus. Simple, beautiful, beyond smart
 
01:56
Galaxy Nexus is the next generation of Nexus devices co-developed by Samsung and Google. Nexus combines innovative hardware with the newest version of Android, 4.0, Ice Cream Sandwich, and the latest Google mobile services.
Views: 5221900 Android Developers
Getting Started with Kotlin
 
01:40
We have never added a new programming language to Android... until now! With Android Studio 3.0 we are officially supporting Kotlin for creating Android apps. Learn how to start a new project with the Kotlin language enabled or how to convert your existing classes using the Convert Java file to Kotlin refactoring. For more information about the language syntax and idioms, refer to our blog post: https://android-developers.googleblog.com/2017/05/android-announces-support-for-kotlin.html #tools #kotlin
Views: 147785 Android Developers
Tabs and ViewPager (Android Development Patterns Ep 9)
 
03:15
Showing multiple screens or pages of content is easy with the help of ViewPager and a PagerAdapter. Combining that with tabs make for an effective top level navigation strategy (https://www.google.com/design/spec/patterns/app-structure.html#app-structure-top-level-navigation-strategies) for your app or for moving between content at the same level of hierarchy within your app. TabLayout ensures that your tabs matches the material design guidelines (https://www.google.com/design/spec/components/tabs.html) and integrate easily with ViewPager to make jumping between pages and getting an overview of all pages much easier. Add the Android Design Library to your app today: http://android-developers.blogspot.com/2015/05/android-design-support-library.html #ui #ux Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 112398 Android Developers
Threading and Loaders. (Android Performance Patterns Season 5, Ep. 8)
 
02:46
Let’s say you’ve got some 20 bitmaps being decoded on a worker thread. Well, what happens if your activity is destroyed before that work completes? In this video Doug Stevenson explains Loaders. A super-helpful class that can give you insight into how the activity lifecycle is changing, so that you can better understand how to address threaded work that might be in flight. See Android Architecture sample code here: https://goo.gl/MWXVav Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 45530 Android Developers
Android Developer Story: Made for India
 
03:03
Sign up for Made for India: g.co/play/madeforindia Made for India is an initiative by Google Play to discover and showcase developers who are building high quality apps for Indian users. If you have optimized your mobile application for the Indian market in a unique or innovative way, then let us know by visiting: g.co/play/madeforindia To learn more about how you can optimize your app, check out our Build for Billions guide here: developer.android.com/billions Check out more Android Developer Stories here: https://goo.gl/snnWNf Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #Billions #story #app
Views: 161192 Android Developers
Android Testing Support - Android Testing Patterns #1
 
03:08
In this introductory episode of Android Testing Patterns, Wojtek Kalicinski introduces the two main types of tests that you will write for your app. Running Unit Tests and Instrumented Tests is both supported by Android Studio and we offer some great tools for testing in the Android Testing Support Library. One of them is Espresso, a UI testing framework that we'll concentrate on in Season 1 of ATP. Learn more at http://developer.android.com/training/testing/start/index.html Codelabs - code-labs.io/codelabs/android-testing Testing samples - github.com/googlesamples/android-testing Android Testing Blueprint - github.com/googlesamples/android-testing-templates Android Testing Support Library - google.github.io/android-testing-support-library #testing Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 46388 Android Developers
DesignBytes: Density-independent Pixels
 
09:53
This introductory video explains how Android app designers can easily work across different screen pixel densities by using the density-independent pixel (abbreviated dp or dip), a virtual pixel unit that keeps things the same physical size across device. Understanding dp units is critical to a successful Android app design workflow.
Views: 62303 Android Developers
Building interfaces with ConstraintLayout in Android Studio
 
04:00
The new Layout Editor in Android Studio 2.2 has some surprises, including a new blueprint mode, revamped properties inspector and support for ConstraintLayout, a new way to define layouts for your apps. In this Android Tool Time episode Wojtek Kaliciński shows you the basics of working with ConstraintLayouts in the visual editor. If you want to try it out yourself, you can find our codelab here: https://codelabs.developers.google.com/codelabs/constraint-layout When you’re familiar with the layout editor interface, read the rest of our Medium article where you’ll find some more advanced tips and tricks for ConstraintLayout: https://goo.gl/a5orYw #tools #layouts #ui
Views: 167117 Android Developers
The Zen of IntentService. (Android Performance Patterns Season 5 ep7)
 
03:28
Dealing with Intent responses is a backbone concept to Android development. But in situations where an Intent results in long-running work, you need to find an efficient way to offload that to a different thread. In this video +Colt McAnlis discusses where IntentServices fit into the big picture of threading on Android, alongside noting some nuances that come along with using this class. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS #background
Views: 28690 Android Developers
DO NOT LEAK VIEWS (Android Performance Patterns Season 3 ep6)
 
04:22
As much as we complain about leaking memory, it’s important to know that there some “small” leaks, and some huge, problematic, city-destroying leaks. And in that category sits the ever-so-humble “VIEW” object in your application. As Colt McAnlis describes, leaking VIEW objects can have massive ramifications to the memory and stability of your application… so.. please.. PLEASE don’t do it… Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI Subscribe to Android Developers: https://goo.gl/88dzea #PERFMATTERS
Views: 30006 Android Developers
Android Developer Story: Open Sesame - Innovating with Android and Google Play
 
03:44
Every single day, all over the world, apps are unlocking and changing our lives in millions of positive ways. They give people superpowers by addressing some of the most important needs - getting healthier, improving communication, or learning a language. Watch the story of Oded and Giora, co-founders of Open Sesame, and Alex, whose life has been positively impacted by the app. Get the Open Sesame app on the Play Store: https://goo.gl/GDTJBu Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #app #story #userreviews
Views: 2567836 Android Developers
Create UI tests with Espresso Test Recorder
 
03:28
Read more about Espresso: https://goo.gl/7PDMH5 IdlingResource: https://goo.gl/e8UYHq Download Android Studio 2.3 here: https://goo.gl/W4PcoC Learn how to use the Espresso Test Recorder in Android Studio 2.3 to add UI test to your app. Whether you’re just learning the Espresso framework or you want to create a base for your UI test suite quickly, the Test Recorder is a great tool that will make the job faster and easier by creating most of the code for you! Additional Resources: Read more about Espresso: https://goo.gl/7PDMH5 IdlingResource: https://goo.gl/e8UYHq Download Android Studio 2.3 here: https://goo.gl/W4PcoC #tools #testing
Views: 39381 Android Developers
Swimming in Threadpools. (Android Performance Patterns Season 5, Ep. 6)
 
04:23
We know that you’re an awesome engineer, and you’re using threading to the MAX. But over time, it gets harder and harder to handle how work is distributed across all those AsyncTasks and HandlerThreads. It gets especially tricky when you try to break up large blocks of work, like image processing, and find a threaded solution for it. In this video Colt McAnlis introduces the ThreadPoolExecuter class, and shows how it can fill the gap for all of your scalable threading computation needs. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here: https://goo.gl/6ccETk #PERFMATTERS
Views: 28846 Android Developers
Toolbars for a flexible Action Bar & more (Android Development Patterns Ep 5)
 
02:22
Toolbars are a flexible View you can add to your Android app which provides many of the same APIs as the system provided Action Bar, but can also do so much more such as reacting to scrolling or being integrated directly into your layouts. Check out the documentation: https://developer.android.com/reference/android/support/v7/widget/Toolbar.html #ui #layouts Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 42859 Android Developers
Serialization performance (Android Performance Patterns Season 4 ep14)
 
04:18
Data Serialization is an important aspect of every android application; but when it comes to performance, there's a right, and a wrong way to do it. For years now, developers have been leveraging JSON (and a few still use XML) for their needs. But in this video Colt McAnlis gives you the skinny on why these human-readable formats are bad for your app. In fact your choice of serialization provider and format, can have a huge impact on your app's' performance. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI Subscribe to the Android Developers channel at http://goo.gl/GEh1ds #PERFMATTERS
Views: 24853 Android Developers
Getting a HandlerThread. (Android Performance Patterns Season 5, Ep. 5)
 
03:34
While AsyncTask is the most useful threading class you can use, there’s some situations where it just doesn’t make sense. For example, AsyncTasks aren’t good for long-running work, or for threaded callbacks. In this video Colt McAnlis shows how HandlerThread can be used to pick up the slack. This dedicated, long-running thread resource is ideal for situations where you have to process big workloads, or if you need a place to get an API result back, in a threaded manner. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : https://goo.gl/6ccETk #PERFMATTERS Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 36961 Android Developers
Android Developer Story: Robinhood uses Android Studio to quickly build and test new features
 
01:47
Robinhood allows users to buy and sell stocks in the US. It is designed to make financial investment easy for all users, even if you’ve never traded before. With a team of two Android developers, having fast tools like Android Studio is essential to helping them build rich new features, making them the the highest rated stock brokerage app on Google Play. Watch Robinhood's Joe Binney, VP of Product Engineering, and Dan Hill, Android Developer, talk about how Android Studio is helping them achieve strong growth on Android. Learn more about Android Studio: https://g.co/AndroidStudio Get the Playbook for Developers app to stay up-to-date with more features and best practices: http://g.co/play/getplaybookapp #androidstudio #story #app
Views: 120423 Android Developers
Tasks and the Back Stack (Android Development Patterns)
 
04:11
Check out the blog post: https://goo.gl/nm5yjz If every Activity in your app is part of a task, it makes sense to know what a task is (a stack of activities) and how the default behavior of the back button affects your Activity and Fragments you’ve added with FragmentTransaction’s addToBackStack() method. Ian Lake also explains why SINGLE_TOP is a useful launchMode for your Activity and how to work with notifications that deep link into your app by using TaskStackBuilder: http://goo.gl/rWFOwT Read through all the documentation at http://goo.gl/KEBnbO #BuildBetterApps #AndroidN #lifecycle Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 50591 Android Developers
Introducing Android Jetpack
 
02:37
Android Jetpack is a set of components, tools and architectural guidance that make it quick and easy to build great Android apps. Components are individually adoptable but built to work together while taking advantage of Kotlin language features that make you more productive. Jetpack manages tedious activities like background tasks, navigation, and lifecycle management, so you can eliminate boilerplate code and focus on your what makes your app great. Built around modern design practices, Jetpack components enable fewer crashes and less memory leaked with backwards-compatibility baked in. This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish Read more here: Android Jetpack → https://d.android.com/jetpack Getting Started with Jetpack → https://goo.gl/bGnL7N Subscribe to the Android Developers channel here → https://goo.gl/vLYDU
Views: 53541 Android Developers
Introducing Android Jetpack for Developers
 
02:50
Android Jetpack is here to accelerate Android development by facilitating a modern app architecture, eliminating boilerplate code, simplifying complex tasks, and providing robust backwards compatibility. Get started here → https://developer.android.com/jetpack Watch more Android Jetpack videos here → https://goo.gl/kw8LPv Subscribe to the Android Developers channel here → https://goo.gl/vLYDU
Views: 25819 Android Developers
Android Developer Story: GinLemon - Breaking through with Google Play
 
03:09
Meet Vincenzo Colucci, developer and founder of GinLemon, which started as a summer holiday joke and has now become a successful global app business on Google Play based in Manfredonia, southern Italy. To learn about creating apps for Google Play and building your own app business, be sure to check out The Secrets to App Success on Google Play [ebook] (http://goo.gl/63LtjD) #android #googleplay #developerstory #featured #apps #story #app
Views: 473450 Android Developers
Good AsyncTask Hunting. (Android Performance Patterns Season 5, Ep. 4)
 
04:34
AsyncTask is awesome. It helps you get packets of work OFF the main thread, onto a worker thread, and then helps you get the results BACK to the main thread later. It’s almost one of the most useful tools you have when writing performant Android Apps. But as Colt McAnlis shows, AsyncTask is far from a silver bullet; there’s a few nuances and tricks that come alongside this handy helper, which if you don’t pay attention to, can lead to memory leaks, headaches, and other sorts of craziness. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : https://goo.gl/6ccETk #PERFMATTERS Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 46475 Android Developers
Service Performance Patterns (Android Performance Patterns Season 4 ep6)
 
04:12
Services are an integral component of almost every android application. But the functionality they provide comes with a drain on battery and system resources. And if you’re not paying attention, services can easily stick around longer than they should which wastes system resources, and can often cause performance problems for your rendering thread. But Colt McAnlis has the answer : using services in the most efficient way possible means killing them off the right way, and sometimes, not even using them. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI Subscribe to the Android Developers channel at http://goo.gl/GEh1ds #PERFMATTERS #background
Views: 29737 Android Developers
Building a Responsive UI in Android (Android Development Patterns)
 
02:33
Read the blog post: https://goo.gl/oL0P8w Mike Denny, a Design Advocate on the Google Design team, explains how to build a responsive UI on Android using width breakpoints, how to work with a constrained height, and the importance of being consistent across rotation with the help of the smallest width resource qualifier. Learn about common patterns in building a responsive UI including revealing, transforming, dividing, reflowing, expanding or positioning your UI differently based on the available space. Check out the full material design specs on responsive UI: https://goo.gl/EYtr0A #BuildBetterApps #AndroidN #ui #compatibility Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 65348 Android Developers
Android Developer Story: Kotlin + Android increasing developer happiness and productivity
 
02:59
Kotlin for Android is production-ready. It's an expressive, concise, and powerful language. From startups to Fortune 500 companies, tens of thousands of developers are already using Kotlin to build their apps. Developers from Pinterest, to Expedia, to Basecamp -- and many others -- are finding their use of Kotlin is increasing productivity and their overall developer happiness levels. Check out more Android Developer Stories here: https://goo.gl/snnWNf Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 33770 Android Developers
Keyframe Animations with ConstraintLayout and ConstraintSet
 
03:14
Sean McQuillan (@objcode) covers building complex animations using ConstraintLayout and ConstraintSet. By specifying your animations via keyframes, it is easy to fluidly animate complex scenes without a lot of code. Animations make your app look polished, improve engagement, and are fun to build. With ConstraintLayout it’s easy to build complex animations involving several views at once. Codelab: https://goo.gl/ruyVop ConstraintLayout DevByte: https://goo.gl/mjUm1h ConstraintLayout: https://goo.gl/zw76sX Check out the rest of the playlist here: https://goo.gl/WiDD2p Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 35197 Android Developers
Understanding Android Threading. (Android Performance Patterns Season 5, Ep. 2)
 
04:12
To become a zen-ninja of writing threaded code, you need to understand how the Android platform uses threading at the system level, and how that influences design choices & decisions in your app. In this video, Colt McAnlis will walk through how Android is using threading under the hood, and talk about why specific classes were created to help you work in that environment more efficiently. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 64694 Android Developers
VectorDrawable for smaller APKs (Android Performance Patterns Season 6 Ep. 6)
 
04:06
One of the interesting parts about building an Android application is all the awesome configurations of screen sizes and form factors. And if you’re a developer who prides themselves on being available on the most devices possible, then chances are you’ve got lots of your images and icons at each specific resolution you need to support. But be warned, this might be causing a large issue with the size of your APKs. If you’re trying to squeeze every last byte out of your APK file size, then Vector Drawables are a handy solution. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS #performance #vectordrawable #apksize #compatibility #ui #bitmaps #graphics #drawables
Views: 12902 Android Developers
What’s new in Android Studio 3.1
 
03:56
Android Studio 3.1 release introduces highly requested improvements to the Android Profilers, including C++ profiling, class and method filtering in CPU and memory profilers, as well as request data and threads view in the network profiler. Enhanced Room support means you now get autocompletion and can now refactor across SQL and Java/Kotlin code. On the tools side, D8 is the new default dexer, replacing dx. It produces smaller and more optimized bytecode and offers a better debugging experience. For Kotlin, running lint checks is now supported from the command line. Finally, the Android Emulator now lets you resume saved emulator sessions in seconds thanks to Quick Boot and offers system images for APIs 25 and 26 with full Play Store. Read more in the release notes: Android Studio - https://goo.gl/J7zb57 Android Plugin for Gradle - https://goo.gl/CYffmK Android Emulator - https://goo.gl/Lnq8Sn Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 76744 Android Developers
What's New in Android Studio 3.0
 
05:45
Read more in the release notes here: https://goo.gl/7yo9SM Android Studio 3.0 brings a ton of new features and improvements, including Kotlin support, Android O APIs, Java 8 language features support, external APK debugging, Instant Apps modules and refactoring, an integrated Android Profiler and more. Migrating to Android Gradle Plugin 3.0.0: https://goo.gl/y3JEet Android Studio 3.0: Android Profiler: https://goo.gl/xZXP9q Android Studio 3.0: Java 8 Language Features Support: https://goo.gl/rTZfCi Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #tools
Views: 115129 Android Developers
Threading Performance 101. (Android Performance Patterns Season 5,  Ep. 1)
 
03:53
When it comes to building great Android apps, there are very few things as important to performance as threading. Being able to move work off of the main thread, in the right way, is core to your ability to stabilize your app, and make happier users. In this video Colt McAnlis offers a high-level view to why threading is so important in Android, as well as offers some insight into what classes are provided to help you make the most of your threaded code in the shortest time possible. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 91189 Android Developers
Android Developer Story: Shifty Jelly — Building a No. 1 Podcasting App
 
03:07
Shifty Jelly is an Adelaide based mobile development company that has seen great success building Pocket Casts, a premium podcast manager app. The team has focused heavily on building a best-in-class user experience and on Android they offer a beautiful and fluid Material influenced design plus support for a multitude of device types spanning smartphones, tablets, Android Wear, Android Auto and Chromecast. Learn more about the Google products that Pocket Casts integrates with: Material Design - http://www.google.com/design/spec/ Android Wear - http://developer.android.com/wear/ Android Auto - http://developer.android.com/auto/ Google Cast - https://developers.google.com/cast/ Find out more about Shifty Jelly and Pocket Casts: http://www.shiftyjelly.com/ http://www.shiftyjelly.com/pocketcasts https://play.google.com/store/apps/details?id=au.com.shiftyjelly.pocketcasts #android #googleplay #developerstory #featured #apps #auto #story #app
Views: 367127 Android Developers
Android Jetpack: ViewModel
 
05:13
ViewModel is part of the Lifecycle library which was designed to help you solve common Android Lifecycle challenges and to make your apps more maintainable and testable. A ViewModel holds your app's UI data in a lifecycle conscious way that survives configuration changes. Separating your app's UI data from your Activity and Fragment classes lets you better follow the single responsibility principle: Your Activities and Fragments are responsible for drawing data to the screen, while your ViewModel can take care of holding and processing all the data needed for the UI. Making a ViewModel is simple: * Adding the Lifecycle library to your build.gradle file * Extending the ViewModel class * Use ViewModelProviders to associate your ViewModel with your UI controller Then you can move all of your UI related data into your new ViewModel. If you need to customize ViewModel construction, you can create a ViewModelProvider.NewInstanceFactory. ViewModels also work great with the LiveData class to create reactive UIs! A few words of warning: don't store Contexts in ViewModels and don't confuse ViewModels with the onSaveInstanceState method. For more information, check out the video and links below! Gradle dependencies → https://goo.gl/nnrvKT ViewModels - A Simple Example (Good place to start for very basic usage) → https://goo.gl/pa2F1C ViewModel Documentation → https://goo.gl/T3Jrzt ViewModels - Persistence, onSaveInstanceState(), Restoring UI State and Loaders → https://goo.gl/LC1hXV Architecture Blueprint sample with Lifecycle library * Java → https://goo.gl/tPsEdh * Kotlin → https://goo.gl/L3NWQH Architecture Components samples → https://goo.gl/KCztpb ViewModels and LiveData Patterns and Antipatterns → https://goo.gl/1t3tmL Example of ViewModel factory in sample app → https://goo.gl/s7R86g Architecture Components landing page → https://d.android.com/arch Guide to app architecture → https://goo.gl/Vqtt34 Watch more Android Jetpack videos here → https://goo.gl/kw8LPv Subscribe to the Android Developers channel here → https://goo.gl/vLYDU
Views: 17384 Android Developers
Android Developer Story: Hello English - Changing lives with Android and Google Play
 
03:12
Every single day, all over the world, apps are unlocking and changing our lives in millions of positive ways. They give people superpowers by addressing some of the most important needs - getting healthier, improving communication, or learning a language. Watch the story of Pranshu, co-founder of Hello English, and Siddique, whose life has been positively impacted by the app. Get the Hello English app on the Play Store: https://goo.gl/szGeZ5 Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #app #story
Views: 2089868 Android Developers
Background work with JobScheduler (Android Development Patterns S3 Ep 12)
 
03:57
Read the blog post (https://goo.gl/rGH4uJ) for all the details on scheduling background work with JobScheduler, available on Android Lollipop (API 21) and higher. JobScheduler batches jobs together across all apps making it a great choice for conserving battery, reducing overall memory pressure on API 24 and higher, and using JobScheduler means you are automatically aware of Doze and App Standby. Jobs can be persisted across reboots, scheduled to repeat at a set interval, automatically backoff in response to failures, or scheduled with set requirements such as network connectivity or only when the device is idle. Learn about all of the mechanisms available for scheduling jobs in the documentation: https://goo.gl/PKg7u3 #BuildBetterApps #androidn #jobscheduler #battery #adp #background
Views: 35872 Android Developers
Android Developer Story: Reigns - Winner of the Google Play Indie Games Contest
 
03:10
Watch François Alliot, Game Developer and the winner of the Google Play Indie Games Contest in Europe discuss his experience of being an indie game developer and the story behind his hit game Reigns. Get the game from the Google Play store: https://goo.gl/mvQFnt Find out more about last year’s contest and stay tuned for news about this year’s edition: https://goo.gl/mT2exo Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #story #game
Views: 29578 Android Developers
Snackbar: The _appropriate_ interruption (Android Development Patterns S2 Ep 1)
 
02:17
Read the blog post: https://medium.com/google-developers/snackbar-the-appropriate-interruption-ceb54d9be583 Alerts are pretty critical for communicating with your user. But it helps to know what is appropriate so that your users don’t hate you. Fortunately, there’s a simple answer: use a Snackbar! (https://developer.android.com/reference/android/support/design/widget/Snackbar.html) But, for those nuanced cases where you want to choose between a Toast and a Snackbar, the design docs have pretty much every detail you could need. (https://material.google.com/components/snackbars-toasts.html) And if you really like being wrong, there’s always a Dialog! (https://material.google.com/components/dialogs.html) But you’re better than that. So be a better developer and use the better choice: Snackbar. #BuildBetterApps #ui Watch more episodes of Android Development Patterns here: https://goo.gl/SYo07w Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 37045 Android Developers
UI testing with Espresso - Android Testing Patterns #2
 
05:34
Espresso is a testing framework that makes writing UI tests for Android applications easy. Learn the basic structure of an Espresso test and how to run and execute instrumentation tests in Android Studio. Learn more about Espresso basics at https://google.github.io/android-testing-support-library/docs/espresso/ Codelabs - code-labs.io/codelabs/android-testing Testing samples - github.com/googlesamples/android-testing Android Testing Blueprint - github.com/googlesamples/android-testing-templates Android Testing Support Library - google.github.io/android-testing-support-library #testing #tools Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 51405 Android Developers
Introduction to Android Things
 
04:32
Dave Smith (https://google.com/+DaveSmithDev) introduces the Android Things platform, the first version of Android supported by Google that enables developers to build their own production devices and maintain them at scale. Learn more about the Android Things SDK at https://developer.android.com/things and join our community at https://g.co/iotdev. Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #AndroidThings
Views: 37626 Android Developers
Java 8 Language Features on Android (Android Development Patterns S3 Ep 9)
 
03:08
With the help of the Jack toolchain, you’ll be able to cut out boilerplate code with the help of some Java 8 language features. Lambda expressions provide a compact way to express functional interfaces (interfaces with a single method) and method references allow you to use existing methods as lambda expressions - both features available back to API 9 (Gingerbread) devices! Newly added in API 24 is the Stream API, default method implementations and static methods for interfaces, and repeatable annotations - you’ll have to be on an API 24 devices to take advantage of those features! Check out the documentation for all the details: https://goo.gl/h3KUPP #BuildBetterApps #AndroidN #lambdas
Views: 32857 Android Developers
Android Adaptive Icons
 
02:37
Adaptive icons, introduced in Android-O, are a new way to deliver your application’s icon which will be masked by user’s devices; making all of the icons on it more coherent. Developers supply separate foreground and background layers allowing devices to perform interesting visual presentations and animation. Providing an adaptive icon is straightforward and will help your app to fit in on Android-O user’s devices and benefit from the new ways they can be displayed. Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 31383 Android Developers
Idling Resource - Android Testing Patterns #4
 
04:35
Espresso does most of the heavy lifting for you when it comes to detecting when the UI is idle. But if you're using any custom background threads or scheduling for long running jobs, you might need to add and manage an IdlingResource to tell Espresso when your app is busy and when it's idle. Watch more episodes of Android Testing Patterns here: https://goo.gl/g1bLh4 #testing Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 20134 Android Developers
Android Developer Story: Southeast Asian indie game developers find success on Google Play
 
03:57
Indie game developers bring high quality, artistic, and innovative content to Google Play and raise the bar for all developers in the process and Southeast Asia, in particular, has a vibrant indie game developer ecosystem. Learn how three Indie developers, Inzen Studio based in Singapore, VGames in Vietnam, and Niji Games in Indonesia, used store listing experiments and other Google Play features to grow their businesses. Find out more about store listing experiments: https://developer.android.com/distribute/users/experiments.html #developerstory #games #GPGS #storelistingexperiments #IAP #story #game
Views: 153689 Android Developers
Android 2.2 Official Video
 
03:20
Highlights from the latest Android platform release
Views: 4461471 Android Developers
AdapterViews and Espresso - Android Testing Patterns #3
 
03:03
Testing lists, grids and spinners with Espresso needs a different approach than the standard View matching with onView(). Learn how to use onData() to look for data in the Adapters backing your AdapterViews to easily bring the required row on screen. Further reading: AdapterViews and Espresso on Medium: https://goo.gl/PYBsOq Espresso onData documentation: https://goo.gl/sMBXJY Espresso DataAdapter Sample: https://goo.gl/1EwQs2 Watch more episodes of Android Testing Patterns here: https://goo.gl/g1bLh4 #testing Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Views: 25342 Android Developers
Android Studio 3.0: Android Profiler
 
04:58
Android Profiler in Android Studio 3.0: https://goo.gl/Avshc6 Android Studio 3.0 brings a new Android Profiler view, integrating CPU, memory and network profiling on a single timeline. Advanced profiling instrumentation lets you track more data such as network payloads and app events, so you can debug performance and requests made by your app without changing your code. Subscribe to the Android Developers channel here: https://goo.gl/vLYDU #tools #perfmatters
Views: 25593 Android Developers
Enroll in Google Play App Signing to Secure Your App Keys
 
03:05
We’re now offering an app signing service on Google Play that can help you if you lose or compromise your key. For existing apps, it requires transferring your app signing key to Google Play. For new apps, we can generate your app signing key. Once enrolled in app signing, you sign your APK with an upload key, which we use to authenticate your identity. We’ll then strip that signature and re-sign your app with the app signing key. Your key will be fully protected by Google’s robust cloud security infrastructure and will benefit from the ongoing investment we’re making to our security systems. Get started: https://goo.gl/3aCBeC Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 35839 Android Developers
Android Developer Story: Your indie journey - Google Play
 
01:19
Enter your game to the 2nd edition of the Google Play Indie Games Contest in Europe for a chance to win prizes that will help you get your game noticed by industry experts and players worldwide. Submit your game by December 31st at g.co/play/indiecontest. Subscribe to the Android Developers channel here: https://goo.gl/vLYDU
Views: 228382 Android Developers
Honeycomb Buzzes on
 
00:35
Yesterday morning, a tasty treat arrived on our campus. And what better way to welcome Honeycomb to the Android family than with redecorating the lawn of Building 44 a bit?
Views: 164973 Android Developers
The Importance of Thread Priority (Android Performance Patterns Season 5, Ep. 9)
 
03:48
Fun fact : Modern CPUs can only handle a certain number of threads at one time. Once you get above that limit, they have to start scheduling which thread gets the next open block of CPU processing time. And even better : This can influence the performance of your Android app. In this video +Colt McAnlis introduces the concept of thread priority, why it’s important to work with, and how to set it for threads you create, in a very sane way. Watch more Android Performance Patterns here: http://goo.gl/4ZJkY1 Join the G+ Community here : http://goo.gl/g7mxmI #PERFMATTERS
Views: 18753 Android Developers