MALE SPEAKER: Developing apps for Android
0:01is an exciting opportunity to change the world.
0:04I'm going to step you through the process of getting started
0:07with Android using Android Studio, while also sharing
0:10some pro tips based on the experiences of a real Android
0:13start-up.
0:14Before we even install Android Studio,
0:16you should start thinking about the app you plan to build.
0:20Start by looking at the challenges
0:21you, your friends, or family face.
0:23Could you build an app to solve one of those problems.
0:26Let's take a look at our start-up
0:28and see where their idea came from.
0:29[VIDEO PLAYBACK]
0:30-There's somebody in there. [INAUDIBLE] Open up.
0:32[DOOR KNOCKING] [INAUDIBLE]
0:34-Hurry.
0:34Get it open.
0:35-Get something in there.
0:36-Just kick it open.
0:37Come on.
0:38[INTERPOSING VOICES]
0:40[DOOR CRASHES]
0:41[MUSIC PLAYING]
0:43
0:50-Well that was unexpected.
0:53-What the hell was that?
0:54What's going on?
0:55-Zombies.
0:56Obviously those were zombies.
1:00I don't know how but, I bet the bald guy is somehow to blame.
1:03-Oh sure.
1:04Solve one problem with the Android [? D'nomicon ?]
1:06and suddenly this is my fault.
1:07-How are we going to survive a zombie apocalypse?
1:11We don't have any training.
1:12It's not like we can go to Google Play
1:14and download an App.
1:16[MUSIC PLAYING]
1:17
1:22[END PLAYBACK]
1:23MALE SPEAKER: Like our start-up team,
1:24you have a problem to solve.
1:25So it's time to start developing.
1:27First, check that you have version 7 or later of the Java
1:29Development Kit installed.
1:31Open a terminal window or a command prompt and type Java
1:34dash version.
1:35I'm doing this on a Mac but it should look very similar
1:37on Linux or Windows.
1:39The Java version number is showing after the one.
1:41So here you can see.
1:42I've got JDK version 8 installed.
1:45If you see an error or the version is less than 7,
1:47you'll need to download and install the JDK.
1:51From this download page, find the Java platform Standard
1:53Edition.
1:54Select download and then select the right bundle
1:57for your operating system.
1:58I'm on a Mac so I'll accept the license agreement
2:00and download the Mac OSX x64 installer from the Java SE
2:04development kit.
2:06Once that's downloaded, locate the file
2:08and double click it to begin the installation process.
2:11Once that's completed, go back to your terminal
2:13and confirm that it's installed correctly.
2:16Now you're ready install Android Studio.
2:19We'll start by navigating to the Android Studio home page
2:21on developer.android.com/sdk.
2:24There's a big button at the top that
2:25says download Android Studio.
2:27Click that.
2:29Now carefully read the terms and conditions.
2:31Select the check box confirming that you've read them
2:33and agree with them.
2:34And then press the download Android Studio button
2:36to begin the transfer.
2:38It's a pretty big file, so while you're
2:40waiting for that to complete, you've
2:41got a great opportunity to start thinking about the APIs
2:44you'll be using to build an app that solves your problem.
2:47This early in the product life cycle
2:49it's worth exploring some of the options made possible using
2:52new versions or even early access beta versions
2:54of the Android platform.
2:56Here we're looking at the new APIs
2:57available from the Marshmallow release of Android.
3:01Let's take a look at our start-up team exploring
3:03possibilities for their app.
3:04[VIDEO PLAYBACK]
3:05-Ian.
3:06What's our status?
3:06How are we doing?
3:08-Well I'm sure glad we got this Duel Booted
3:10Chromebook on the way out.
3:12Google's got APIs for location based services and mapping.
3:16-What about a fitness API.
3:17And we should make sure it works with Android Wear.
3:19-Hey.
3:20Hey.
3:20Hey.
3:20Focus.
3:21Zombies.
3:22Is there like a zombie killing or zombie protection
3:24API or something?
3:26-Well location apps are pretty hot right now.
3:29-I'm not finding anything in here.
3:31-Check the Android Zed preview release.
3:34-The what?
3:34-The Android Zed.
3:35The preview.
3:37-What?
3:38-Zee.
3:38Zee.
3:39Like zee as in zebra.
3:41-Oh.
3:42Australians.
3:43-Americans.
3:44-Oh, yeah.
3:45Here it is.
3:46There's even a method is user a zombie in the framework now.
3:49That would've been nice to have in the support library.
3:52[END PLAYBACK]
3:53MALE SPEAKER: Now that your download is finished,
3:55you're ready to install Android Studio.
3:57If you're on a Mac like me, double
3:59click the file to open it.
4:01Then drag the Android icon into applications.
4:03
4:07Now double click the icon to start Android Studio
4:10for the first time.
4:11
4:14If you're on Windows, double clicking the download
4:16will launch an installation similar to what
4:18I'm about to show you here for the Mac.
4:21We'll then select a standard installation
4:23for Android Studio.
4:24Hit finish to complete the installation.
4:26That's going to start downloading two
4:28to th