Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Saturday, March 2, 2013

First Android App

Are you ready to start creating your own App?

If you are not familiar with android application development environment, click here.

Let's Start.

In this example, I have just given the multi-line text in the screen. The main intention of this app, is just make yourself feel proud that you have created Your own app and get familiarized with the Eclipse ADT. Later we can see how can we build sophisticated app.

First, Create the Android Application project,

click on the img for original size

You will get the option to give the application name, project name and package name. And also, select the SDK version and theme.

click on the img for original size


Click Next, Configure Project option screen will appear, -> Click Next. Configure Launcher Icon -> Click Next. Create Activity -> Select FullScreenActivity -> Click Next. New FullScreen Activity -> Give the name for your Activity and Layout. Click Finish. You will see the IDE, just like below, if you choose the perspective as "Java Browsing"(Menu->Windows->Open Perspective->Java Browsing).

click on the img for original size




If you execute your project, It will ask you to choose the Android Virtual Device. Click the Manager and configure it as like

click on the img for original size

Click Ok and execute, your first app is ready. 

click on the img for original size


Soon, I'll update this post for the following questions, that I assume already popped up in your mind.... Keep following the post.


What is FrameLayout?

What is Activity class and Does all the class should inherit the Activity class?

What the members of activity class? which is most frequently used members?

What are auto-generated java files? Can we modify the auto-generate java files?

What are the required JAR files?

How can we test the Android app locally and in App Store?

How can we upload our App in PlayStore and reachable to everyone?

What is the best way to define the configuration for AVD(Andriod Virtual device)?




Thursday, February 28, 2013

Android Application Development Ennvironment Set up


There are two ways to set the eclipse for Android development.

a. Directly download the ADT bundle(Eclipse + Android SDk + SDK update Manager), which is very easy and simple way
b. Install Eclipse separately and set up the Android SDK for existing eclipse, which involves little more configuration.

We can see both ways of setting up the Android development environment.

(a) Easy Way, Steps

1. Download the ADT(Android Development Tools) Bundle, which has both eclipse and APK setup. advantage of using this is you no need to setup the Eclipse IDE for android development  Its all set up already. Click <a href= "http://developer.android.com/sdk/index.html">here</a> to download the ADT Bundle.

2. Unzip the downloaded adt-bundle-<os_platform>.zip and save it in your own convenient directory, instead of download.

3. Run the adt-bundle-<os_platform>/eclipse/eclipse.exe, it will launch the eclipse. That's it. Start the development.

(b)ADK Configuration for exiting Eclipse

I'll update this section quickly, with proper screen shots...