Android App Development | Hello World - Passionate Geekz

Breaking

Where you can unleash your inner geek.

Saturday, 22 June 2019

Android App Development | Hello World

This little guide will help you to built your first android app using android Studio , it will hardly takes up to 10-15min or may be  less

in this guide or upcoming i will not show you how to setup and all stuff . i am pretending that you have downloaded the android studio and ready to start with your first android app.

  • Create android project and named it as  Hello world .
  • Choose target android versions  and add an activity
  • Always Generate layout file This habit will help  you in  future

by default your layout file will be named as MainActivity.java and Activity_main.xml

Your MainActivity.java 

Your Activity_Main

I have Added Some Text Attributes to gave my hello world app to unique looks

android:fontFamily=”monospace”
android:text=”Hello World!”
android:textColor=”#ff0000″
android:textSize=”44dp”

Now “Run Your app”

 

Output

 

ALL DONE!

No comments:

Post a Comment