STERFIELD

2014/02/18

Android Hello World

Android Hello World

Starting Android Studio

Path: /home /mon /android-studio

$ pwd (Print working directory)

/Home/mon

$ cd android-studio/bin (Change directory)

$ ./studio.sh

Creating New Project

(1) New Project

createnewproject

(2) Setting up application, module and package names

settingappname

(3) App logo image

chooseapplogo

(4) Setting up activity and layout names

settingactivityname

(5) Building app

buildingapp

Developing

(1) activity_mail.xml

devapp

(2) MainActivity.java

devapp1

(3) fragment_main.xml

devapp2

Running the project

(1) Adding Android Virtual Device Manager(Emulator for testing app)

settingemulator

(2) App on Device

apponhome

(3) I’m now successfully running 🙂

runningapp

Enjoy!!!

Author Profile

著者近影

スターフィールド編集部

SHARE

合わせて読みたい