HelloWorld in Android

1. double-click on eclipse shortcut

2. create new project; File > New > Project > Android 

3. select Android Project and click Next button to continue

4. Project Name field; HelloWorld

5. choose your Build Target (refer previous tutorial) and click Next button

6. define your Package Name; com.mohdfaizal.HelloWorld

7. HelloWorld project successfully created

8. expand /res/layout and double click on main.xml file

9. add textview and button

– original file –

– edited file –

10. save (ctrl + s) and run the application

11. android emulator will be displayed

12. unlock and double-click on HelloWorld launcher

13. finish. yeay!

Advertisements

2 thoughts on “HelloWorld in Android

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s