Introducing with Android development — Hello World

André Guedes
Dev Cave
Published in
3 min readMar 6, 2017

Hello! How are you?

My name is André Guedes, I work whit Android development since 2011. So, I’m writing some stories to show you how to work with Android development. If you like or need to learn more about it, I think, we can work together. I’ll show some experiencies and you can improve it, if I write something wrong or forget some point. Ok?

Let’s go to develop Android apps? If your answer is ‘yes’, make sure it’s a one-way path, because you’re likely to fall in love with this great market of opportunities in IT area.

To create our apps, we need a machine with Windows, Linux or Mac OS. It’s important to have JDK installed. You can find it here.

We’ll use the Android Studio to create our apps. Download it here.

Ok! The Android Studio install process is so simple, and I know, you are a good developer and not will be a problem to do it. Hahahaha!

After install, open the Android Studio application and select the option to create a new project

Welcome screen of Android Studio

In this configuration step, we can see screens with options who exists in some apps, like maps, login, and others. Select the ‘Empty Activity’ option and click in ‘Next’ to continue.

We define the app name, a package name and the path where our project will be save. It’s interesting choose a package name using the name conventions for packages, like in Java applications. In my examples, I’ll use Kotlin as the development language and this is selected by default. In ‘Minimum API level’ we can change it to API level that we need work, but the API 15 is selected by default too, because its cover approximately 100% of devices. So, click in ‘Finish’.

Configuration screen with important options

This is the environment for develop our apps. The empty screen preview with a text is created.

We can run our app now!!! But, we need a real device connected or an emulator. You can find how to configure an emulator in the Android documentation, or in this post!

If everything is ok, click in the button ‘Run ‘app’’ or go the menu ‘Run’ and then ‘Run ’app’’.

The target screen will be appear. Select the option with the emulator name and click in ‘OK’.

In instants our app will be uploaded to emulator and it’ll show in device screen!

That’s all for now and see you in the next story!

Source: — https://developer.android.com/index.html

--

--

André Guedes
Dev Cave

Working with mobile app development, with greater focus on the Android platform using Kotlin