[TUT] Making a HelloWorld App Step by Step w/pictures (OUTDATED) Updated Comming Soon

Search This thread

rezo609

Senior Member
May 17, 2012
363
523
Dallas
Hey guys, yet again im back with another tutuorial on how to make a Hello Android Application.

This is a step by step w/pictures tutorial which may take almost half an hour if your kinda slow. So I suggest you get a full cup of coffee. :D

WINDOWS​

Installing Eclispe and Android SDK

Step 1: Download Eclispe and Android SDK below from the following sites:
*Android SDK
http://developer.android.com/sdk/index.html
*Eclispe
http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2
14udhmo.png


Step 2: Extract both zip files
2bb229.png


Step 3: Double Click on eclispe and what for it to load up
352mzh5.png


Step 4: Select a workspace
15729ur.png


Step 5: Lets Install the ADT Plugin
Go to Help > Install New Software
2lv23go.png


Step 6: Click Add, in the top-right coner
fnbxpi.png


Step 7: Fill in the information as follows and click OK
Code:
Name: ADT Plugin
Location: https://dl-ssl.google.com/android/eclipse/
ztzynp.png


Step 8: Tick the Checkmark box for Developer Toolsand select Next
2hdsmmv.png


Step 9: Select Next again.

Step 10: Read and Accept License and hit Finish
rvhgm1.png


Step 11: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

Step 12: Select Restart Now
15hibtj.png


Step 13: As you can see we have avd and sdk in eclispe! :D
68ec6q.png


Step 14: Select Android SDK Manager
Window > Android SDK Manager

Step 15: Tick the Tools and Android 2.3.3 Checkmark boxes and hit Install
34il3r4.png




Creating a Android Project

Step 16: In Eclipse, select File > New > Project
317k5e8.png


Step 17: Open the Android Tab and Select Android Project then hit Next
9a7914.png


Step 18: Name the Project Name: HelloWorld and hit Next
2dua1dl.png


Step 19: Select Android 2.3.3 and hit Next. I have different Android versions because I installed more than 1.
14jxlzc.png


Step 20: Change the Package Name to:
Code:
com.example.helloworld
and select Finish
jhpqw7.png




Editing the Application

Step 21: Open the tab HelloWorld > res > layout > main.xml . So once you open main.mxl, you will see the layout of the app.
2empnja.png


Step 22: Start chugging on your coffee, I forgot I had coffee with me. :D

Step 23: Choose Screen Size, in this case I have an hvga device. Chose which fit your phone.
kbax00.png


Step 24: Select main.xml tab and change verticle to horizontal
2djdhcl.png


Step 25: Connect your phone to computer. Make sure USB Debugging is checked.

Step 26: Press Ctrl+F11 and select Android Application then hit Ok

Step 27: Congrats! You now created a HelloWorld Application! :D


LINUX

Just watch this badass video, much easier :D

http://www.youtube.com/watch?v=31cxmLN09ss

If you like this, please thank :D
 
Last edited:

varun.chitre15

Inactive Recognized Developer
Oct 23, 2011
3,153
15,403
Sangli
No you are in correct section
Thanks for this :)
Hands itching for app development(bored of ROM Development :p )

Burned from my laser torch using pencil cells
 
  • Like
Reactions: rezo609

mDroidd

Senior Member
Aug 27, 2011
1,844
1,362
mappz-development.com
Maybe you could also post a note this instructions are from the Android website only with some screenshots in it?

Anyway, nicely done.

Sent from my Galaxy Nexus using Tapatalk 2
 

sandervanzijl

Senior Member
Jan 14, 2008
571
6
I would like to suggest that you checkout Motorola motodev.
it is an eclipse based development tool aimed at developing for android.
it is not Motorola specific, but it does give you some nice extra options like code snippets.
 

shantusingh

Senior Member
Mar 15, 2009
658
165
New Delhi, IN


Just watch this badass video, much easier :D

http://www.youtube.com/watch?v=31cxmLN09ss

If you like this, please thank :D

thank you for the amazing guide, appreciate the same but this is just for hello world app.. how to be able to make even normal apps like cache cleaner, file manager, any game, installer, un-installer, etc . Can i get to know on that with this guide what more i would need to add, etc?!

Regards
 

rezo609

Senior Member
May 17, 2012
363
523
Dallas
thank you for the amazing guide, appreciate the same but this is just for hello world app.. how to be able to make even normal apps like cache cleaner, file manager, any game, installer, un-installer, etc . Can i get to know on that with this guide what more i would need to add, etc?!

Regards

I'm not sure how to make those apps srry, I'm basically learning right now and since I successfuly made a hello world app, I decided to share it.

BTW, I'm not the maker of that video :D

-rezo609
 
Last edited:

oo03sjw

Senior Member
Oct 7, 2007
214
24
Nice work but not for me

Many thanks for all of your efforts and hard work on this.

I was really up for giving it a try, but having spent and hour and a half of my life trying to get Java to install and play on my laptop, I have given up.

When i tried to install Eclipse it said needed Java etc. and it all fell apart at that point, thanks anyway.
 

devilzeye793

Senior Member
Jan 18, 2011
156
11
Lahore
I'm fairly new to Android development !! I've already gone thorugh these Hello World examples !

can any of you plzz provide the easiest guide on how to implement Google Play Store like Swipe View in an app of my own !! ??

Kindly help me with that !! haven't really come across any guide thats relevant to me ..... or is Noob level stuff !!!!!

Thx !
 
Last edited:

rezo609

Senior Member
May 17, 2012
363
523
Dallas
Many thanks for all of your efforts and hard work on this.

I was really up for giving it a try, but having spent and hour and a half of my life trying to get Java to install and play on my laptop, I have given up.

When i tried to install Eclipse it said needed Java etc. and it all fell apart at that point, thanks anyway.

just install this and it should work :) http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
 
  • Like
Reactions: Pruikki

Kermagod

Senior Member
Feb 11, 2008
198
65
Planet Earth....
For App development, I would strongly advise:

The New Boston - Android Tutorials

It would also help if you learnt some of the Java basics:

The New Boston - Java Tutorials

The tutorials are done by Bucky and Travis and these guys are very good. They take you through the learning step by step.

Also. When you come across problems, the main Android Developers site is very good, but I've also found Stack Overflow very helpful.

I started using the tutorials with no Android or Java knowledge at all and I've used what I have learned to make a couple of basic soundboards so far and other bits and pieces, but what they teach you gives you the potential for a lot more.

You can see the apps I've made Here (Android Market) and Here (My Rant Of The Day).

Good Luck.
 
  • Like
Reactions: yosup and rezo609

swordsx48

Senior Member
Aug 6, 2011
149
7
LA, California
ive achieved a hello world app a while back but how exactly can i go beyond that? i have a great idea for an app and it should be rather simple too, but im not sure how to carry it out.
 

gee one

Senior Member
Jul 29, 2010
1,979
866
linux command line
Awesome- I watched the first video and I feel smarterer already. It's nice to see people rocking the linux desktop, but how do I get the nyan cat to pop up when I'm downloading? :)

sent from my transformer
 

haieb

Senior Member
Mar 4, 2011
89
22
ive achieved a hello world app a while back but how exactly can i go beyond that? i have a great idea for an app and it should be rather simple too, but im not sure how to carry it out.

you need java skills :p do you have some? it really depends on the app how much java knowledge you need. you can find a lot of snippets in the internet for the most functions. i am searching for an app idea, so probably we can work together or something like that.so pm me if u want :D
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    Hey guys, yet again im back with another tutuorial on how to make a Hello Android Application.

    This is a step by step w/pictures tutorial which may take almost half an hour if your kinda slow. So I suggest you get a full cup of coffee. :D

    WINDOWS​

    Installing Eclispe and Android SDK

    Step 1: Download Eclispe and Android SDK below from the following sites:
    *Android SDK
    http://developer.android.com/sdk/index.html
    *Eclispe
    http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2
    14udhmo.png


    Step 2: Extract both zip files
    2bb229.png


    Step 3: Double Click on eclispe and what for it to load up
    352mzh5.png


    Step 4: Select a workspace
    15729ur.png


    Step 5: Lets Install the ADT Plugin
    Go to Help > Install New Software
    2lv23go.png


    Step 6: Click Add, in the top-right coner
    fnbxpi.png


    Step 7: Fill in the information as follows and click OK
    Code:
    Name: ADT Plugin
    Location: https://dl-ssl.google.com/android/eclipse/
    ztzynp.png


    Step 8: Tick the Checkmark box for Developer Toolsand select Next
    2hdsmmv.png


    Step 9: Select Next again.

    Step 10: Read and Accept License and hit Finish
    rvhgm1.png


    Step 11: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

    Step 12: Select Restart Now
    15hibtj.png


    Step 13: As you can see we have avd and sdk in eclispe! :D
    68ec6q.png


    Step 14: Select Android SDK Manager
    Window > Android SDK Manager

    Step 15: Tick the Tools and Android 2.3.3 Checkmark boxes and hit Install
    34il3r4.png




    Creating a Android Project

    Step 16: In Eclipse, select File > New > Project
    317k5e8.png


    Step 17: Open the Android Tab and Select Android Project then hit Next
    9a7914.png


    Step 18: Name the Project Name: HelloWorld and hit Next
    2dua1dl.png


    Step 19: Select Android 2.3.3 and hit Next. I have different Android versions because I installed more than 1.
    14jxlzc.png


    Step 20: Change the Package Name to:
    Code:
    com.example.helloworld
    and select Finish
    jhpqw7.png




    Editing the Application

    Step 21: Open the tab HelloWorld > res > layout > main.xml . So once you open main.mxl, you will see the layout of the app.
    2empnja.png


    Step 22: Start chugging on your coffee, I forgot I had coffee with me. :D

    Step 23: Choose Screen Size, in this case I have an hvga device. Chose which fit your phone.
    kbax00.png


    Step 24: Select main.xml tab and change verticle to horizontal
    2djdhcl.png


    Step 25: Connect your phone to computer. Make sure USB Debugging is checked.

    Step 26: Press Ctrl+F11 and select Android Application then hit Ok

    Step 27: Congrats! You now created a HelloWorld Application! :D


    LINUX

    Just watch this badass video, much easier :D

    http://www.youtube.com/watch?v=31cxmLN09ss

    If you like this, please thank :D
    2
    Maybe you could also post a note this instructions are from the Android website only with some screenshots in it?

    Anyway, nicely done.

    Sent from my Galaxy Nexus using Tapatalk 2

    I didn't use from the android website.

    -rezo609
    2
    thank you for the amazing guide, appreciate the same but this is just for hello world app.. how to be able to make even normal apps like cache cleaner, file manager, any game, installer, un-installer, etc . Can i get to know on that with this guide what more i would need to add, etc?!

    Regards

    I'm not sure how to make those apps srry, I'm basically learning right now and since I successfuly made a hello world app, I decided to share it.

    BTW, I'm not the maker of that video :D

    -rezo609
    2
    I'm not sure how to make those apps try, I'm basically learning right now and since I successfuly made a hello world app, I decided to share it.

    BTW, I'm not the maker of that video :D

    -rezo609

    no issues thank you for this ...

    Cheers!