Home | About | Help Center | Privacy Policy

August 17th, 2008

How to build an Android applications in 5 min


http://code.google.com/android/images/logo_android.gifRecently i’m walking through the a demo video by Dan Morrill who builds a simple application on the Android platform.He is a member of google developer program and explain the following thing in the first cut of making applications for android

It is very easy to builds applications for android
Application are developed using android sdk (Download the SDK )

How to make a simple application for android ?

  1. Go to SDK under the menu of file>project>android project.
  2. Decide the details of application like Package name /Activity name / Application name.
  3. After filling the details just “Finish” it.
  4. This will create a source directory in right side with the name of “src” menu (java directory)

In the similar way you can create lots of applications from simple to advance for example if you want to develop an application to dial a phone.

How to create an application to dial a phone with xml base file (layout) ?

  • Go to the source file of you hello code (described above) you may change the hello word into any thing for example name.
  • Copy this source into the xml editor and create different class (e.g Class.Activity)
  • Now in order to get access to data follow these logic commands

>import android.app.ListActivity;
>import android.database.Cursor;
>import android.os.Bundle;
>import android.provider.Contacts.People;

  • Now you will create mapping which tell us “which column map to which user interface element)
  • Go and map the person name to row activity
  • Map the data from data source to user interface that will display things
  • Decide the methods like “when user click on interface then particular activity occurs” e.g start activity
  • Make the options if user need permission to access the database
  • Make the options to request for permission using commands READ_CONTACTS and CALL_PHONE


Note: The main benefit of developing application on android is the ease of coding and size of codes

The details video describing all the above facts and methods is here



You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackbackfrom your own site.

Subscribe to our FREE Rss Feed

Hot in Social Media


10 Best Social Media Case Studies

10 Tips To Become Social Without Using Social Media

Top 10 Tips To Enhance Personal Branding

Top 10 Expectations Of Social Media In 2010

What's Hot

Similar Interesting Posts

Tutorials On

8 Responses to “How to build an Android applications in 5 min”

  1. Live From Blog: How to build an Android applications in 5 min http://www.honeytechblog.com?p=1384

  2. Looking into the Android SDK http://tiny.cc/DAAt4

  3. well i am not a technical guy i want to build a android application is there any software which can helpme in making it without coding …
    Mobile ´s last blog ..USED MOBILES INDIA ?? WHERE DO I FIND THE USED MOBILES IN INDIA My ComLuv Profile

  4. Hey Honey,
    Great article man. I would like to ask you for a small guidance on which codes to grab from the library and how to use them (I’m no coder, but with some help I can find my way around).
    I just would like to develop a small RSS reader app pointing to my blogs’ feeds, but so far I’m having a hard time to understand anything…
    I also thought about using another app as a base, but the option seems unavailable since I cannot download the apps to my pc.
    Thanks in advance for your help, mate. Cheers,
    Diego
    http://www.secretia.com

  5. Hi Diego,
    Have you checked the “android-rss” Android RSS Feed Reader.
    Might be this can help you http://code.google.com/p/android-rss/

  6. Proofread much?

  7. How to build an Android app in 5 min: http://bit.ly/8YCNTk #fb

Trackbacks

  1. Android Demo after making applications | honeytech

Leave a Reply

CommentLuv Enabled

Additional comments powered by BackType

    Follow @honeytech On Twitter

    @chriscoyier "Internet Pollution" - Information Overflow !
  • Subscribe For Tips


  • Top Fans Of The Day

Hot Tags

Firefox iphone How to Internet Windows Designs WordPress Plugin tips Web design Social ubuntu Social media mistakes open source free browser mobile Linux google blogging