Tuesday, July 5, 2011

Java Basics

Hey guys now that we all have our android setup , now its time for us to step into the coding part and for that , we need some knowledge of java to learn android or else we will feel we are learning Greek and Latin ,

Dont worry a little basic knowledge of enough though , if you know it already its well and good or else im posting an PPT , please go through it once before the next meet.

Saturday, June 25, 2011

Readying ANDROID Setup

1.1 Installing the Tools

The Android software development kit (SDK) works on Windows, Linux,
and Mac OS X. The applications you create, of course, can be deployed
on any Android devices.

Before you start coding, you need to install Java, an IDE, and the
Android SDK.

Java 5.0+

First you need a copy of Java. All the Android development tools require
it, and programs you write will be using the Java language. JDK 5 or 6
is required.

It’s not enough to just have a runtime environment (JRE); you need the
full development kit. I recommend getting the latest Sun JDK SE 6.0

INSTALLING THE TOOLS 18
update from the Sun download site.1 The 32-bit version seems to work
best (see the “32-bit vs. 64-bit” sidebar). Mac OS X users should get the
latest version of Mac OS X and the JDK from the Apple website.

To verify you have the right version, run this command from your shell
window. Here’s what I get when I run it:

C:\> java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

You should see something similar, with version “1.6.something” or later.


Eclipse

Next, you should install a Java development environment if you don’t
have one already. I recommend Eclipse, because it’s free and because
it’s used and supported by the Google developers who created Android.

The minimum version of Eclipse is 3.3.1, but you should always use
whatever is the most up-to-date production version. Go to the Eclipse
downloads page,2 and pick “Eclipse IDE for Java Developers.” Note that
you need more than just the standard Eclipse SDK “classic” platform.
Download the package into a temporary directory, unpack it (usually
this is just a matter of double-clicking it), and move the entire unpacked
directory to a permanent location (like C:\Eclipse on Windows or /Applications/
Eclipse on Mac OS X).

If you don’t want to use Eclipse (there’s always one in every crowd),
support for other IDEs such as NetBeans and JetBrains IDEA is available
from their respective communities. Or if you’re really old-school,
you can forgo an IDE entirely and just use the command-line tools.3
The rest of the book will assume you’re using Eclipse, so if you’re not,
you’ll need to make adjustments as necessary.


Android SDK Starter Package

Starting with Android 2.0, the Android SDK has been broken into two
parts: the SDK Starter Package and the SDK Components. First, use
your web browser to get the starter package. The Android download
To make it go faster, you can accept or reject the individual components
separately instead of installing them all.








If you get an HTTPS SSL error, then cancel the window and select Settings
from the main SDK and AVD Manager window. Select the option
Force https:// sources to be fetched using http://, and then click Save
& Apply. Exit the Setup program and start it again.

The next step is to start Eclipse and configure it.


The Rest of the steps can be seen in the downloaded book form this link


Try coming up to speed from page 19 to 28 .

If this is done we can start up with programming .

This week aim is to have a working setup and that means ur setup should be updated till page 28



Saturday, June 4, 2011

An Idea !!!!

I was thinking of developing an app , leave manager ! This application is used to keep track of whatever leaves we are taking and how many leaves are left . i plannned on this base that the user has to enter the day and details he is taking leave and then at any point he can retrieve that details of all leaves with one click of a button , we can improve on this . but im looking forward to other ideas !!!

The Header Files

Hi Friends,

I have created this blog to start our android project , You might be confused by the name of the post "The Header files " :-) . Well this is the first thing we used to do in any program so this post is the first thing we should be armored with for our project.


I have created this blog and given all of you the permissions you can log in using your ID ,so you are all authors of this blog so please its your own blog post your own views . Lets make this as a hub to share information and links , I have put my idea of an app in another post , everyone please do post your ideas we will discuss on what to go ahead with , by that time we shall get to know basics of android

Here is the link where you can get hand on a good book to begin with Android , I prefer a Hard copy than a pdf , but its on you own choice .



First of all Download SDK from the HERE .


For the Android, "Eclipse" is the best IDE, comes with Android IDT.

The following sites i referred to at my initial stage to learn ANDROID, this will also helpful to you:

* The best site to learn Android is http://www.androidpeople.com *****

Other sites which you can refers for having Idea and examples of Android:

  1. For Android Architecture, Installation of it and Code for the First Project , You must refer this for the understanding of Androind.
  2. Android Developer Site
  3. Folllow this example to create First Android Application.
  4. For learning Android by having example: anddev.org (Note: This site is very useful to have answer of any question(problem).)
  5. For understanding about Android in different parts... such as Layouts, Views, etc. -> refer this site
  6. Android Different Layouts
  7. I found one more site for Android code snippets , which i found really helpful for coding as well as for Video Training.
  8. I found one more site for Android For Beginners .

You can also refer the following books:

  1. android-A Programmers-guide
  2. professional android application development (wrox-programmer-to-programmer)
  3. Andr0id_Essentials

You can Find Books overhere .

You can have

JavaDoc for Android

Enjoy!!!