Computer and Technology Information. Information for the latest technology news about computers, software, the Internet, electronics, mobile phones and wireless technology.

How To Build Android Application?

03.03.2011 · Posted in newspaper, technology

Android

Recently i’m upon foot by a a demo video by Dan Morrill who builds a elementary focus upon a Android platform.He is a part of of google developer module as well as insist a following thing in a initial cut of creation applications for android
It is really easy to builds applications for android
Application have been grown regulating android sdk (Download a SDK )
How to have a elementary focus for android ?
  1. Go to SDK underneath a menu of file>project>android project.
  2. Decide a sum of focus identical to Package name /Activity name / Application name.
  3. After stuffing a sum only “Finish” it.
  4. This will emanate a source office in right side with a name of “src” menu (java directory)
In a identical approach we can emanate lots of applications from elementary to allege for e.g. if we wish to rise an focus to dial a phone.
How to emanate an focus to dial a phone with xml bottom record (layout) ?
  • Go to a source record of we hello formula (described above) we might shift a hello word in to any thing for e.g. name.
  • Copy this source in to a xml editor as well as emanate opposite category (e.g Class.Activity)
  • Now in sequence to get entrance to interpretation follow these proof commands
>import android.app.ListActivity;
>import android.database.Cursor;
>import android.os.Bundle;
>import android.provider.Contacts.People;
  • Now we will emanate mapping which discuss it us “which mainstay map to which user interface element)
  • Go as well as map a chairman name to quarrel activity
  • Map a interpretation from interpretation source to user interface which will arrangement things
  • Decide a methods identical to “when user click upon interface afterwards sold wake up occurs” e.g begin activity
  • Make a options if user need accede to entrance a database
  • Make a options to ask for permission

Loading...