Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Authorize Google+ API in the Google API Console2:59 with Jamie Huson
Google Play Services are a suite of APIs that come on devices running Google Play Store and are updated every 6 weeks regardless of Android version. They give you access to Google’s extensive cloud services and access the user’s Google account signed in on their Android device. Services like Maps, Google+, Cast, and Ads are available to integrate with your app.
[MUSIC] 0:00 [SOUND] Hi, my name is Jamie Huson, and I'm an Android developer at Etsy. 0:03 By now you've built some apps, but you want to take them to the next level. 0:09 Integrating Google Play services is a great way to make your app 0:13 more personalized and feature rich for your users. 0:17 Google Play services are a suite of APIs that come on devices 0:21 running Google Play Store. 0:24 They're updated every six weeks regardless of Android version. 0:26 They give you access to Google's extensive cloud services and 0:30 access to the user's Google account already signed in on their Android device. 0:34 Services like Maps, Google Plus, Cast, and 0:38 Ads are all available to integrate into your app. 0:42 To learn how to integrate Google Play services, 0:45 we're going to built an app to browse and share listings you find on Etsy. 0:48 We'll be interacting with APIs, displaying images, and using recycler view. 0:52 If you're unfamiliar with any of those topics, 0:57 there's a link in the teacher's notes to courses you'll want to take first. 1:00 Okay, so let's begin by creating a project in Android Studio. 1:04 I'm going to use the wizard and 1:08 select all the defaults to get a project started quickly. 1:09 We're here in Android Studio, and 1:14 we're just going to create a new project using the new project wizard. 1:15 We just have a few fields we need to fill out. 1:20 The first one is the application name, and for this we're just gonna use 1:22 the name recommendations, and the company domain is the same as the package name. 1:27 And we're just gonna use 1:33 com.treehouse.android.samples.googleplays- ervices. 1:35 And I'm just going to go ahead and copy that and 1:43 use the same value as our package name. 1:45 The last is a project location. 1:50 This is where the project will reside on your computer. 1:52 Here I've just chosen to put it in Projects > Samples > Recommendations. 1:56 Just click next and we're gonna use all the defaults, so 2:00 we'll just continue by clicking next. 2:03 And you can go ahead and chose the default again, blank activity, hitting next. 2:06 And I'm just gonna stick with the defaults, main activity. 2:11 Hit finish and this will create our new project. 2:15 Our project's gonna initialize and when it's done, 2:18 you're gonna see here that it's given us a few sample files to start out with. 2:21 And I'm gonna make this full screen, so that we can see it better. 2:24 Okay, let's go ahead and just run this, and make sure that everything was built 2:28 correctly, and we have a starter project to work with. 2:32 You'll know your app is running, because after you hit run, at the bottom, 2:35 the Gradle build file will start to build and 2:39 there'll be a little indicator for you. 2:41 So let's go ahead and hit play, and we can see we have an emulator available for us, 2:43 so let's go ahead and choose this device to run. 2:47 Here we can see our app started up, and we know this is our app running, 2:52 cuz we called it recommendations, and it looks good to go. 2:55
You need to sign up for Treehouse in order to download course files.Sign up