Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android 9 Development Cookbook - Third Edition

You're reading from  Android 9 Development Cookbook - Third Edition

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781788991216
Pages 464 pages
Edition 3rd Edition
Languages
Author (1):
Rick Boyer Rick Boyer
Profile icon Rick Boyer

Table of Contents (24) Chapters

Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Activities Layouts Views, Widgets, and Styles Menus and Action Mode Fragments Home Screen Widgets, Search, and the System UI Data Storage Alerts and Notifications Using the Touchscreen and Sensors Graphics and Animation A First Look at OpenGL ES Multimedia Telephony, Networks, and the Web Location and Using Geofencing Getting Your App Ready for the Play Store Getting Started with Kotlin Other Books You May Enjoy Index

How to create an Android project with Kotlin


Developing in Kotlin couldn't be easier! As you'll see from the simple step here, full Kotlin support is already built into the Android Studio IDE.

Getting ready

Kotlin support requires Android Studio 3.0 or later, so there are no additional requirements needed for this recipe or any of the recipes in this chapter.

How to do it...

It's actually very simple to add Kotlin support to an Android project and you may have noticed the checkbox already. When creating a new project, Android Studio gives you an option. In fact, it's so obvious, you may not even notice it anymore so we'll start at the beginning and show a screenshot. To begin, launch Android Studio and click Start a new Android project:

  1. In the Create Android Project dialog, click the Include Kotlin support checkbox, as shown here:
  1. That's it! Click through the remaining dialogs and you'll have your first Kotlin project for Android.

How it works...

The IDE already handles everything you need to do...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}