Saturday, March 29, 2014

Android Project Directories



Before we run any app, we should be aware of few directories and files in the Android Project:

1. AndroidManifest.xml


The manifest file describes the fundamental characteristics of the app and defines each of its components.
One of the most important elements your manifest should include is the . This declares the application compatibility with different Android version using the android:minSdkVersion and android:targetSdkVersion attributes.

Tuesday, March 11, 2014

Getting Started with Android

First Download the ADT( Android Development Tool) from the given link http://developer.android.com/sdk/index.html

After Downloading the file extract the file and put in C: Drive. Then open folder and then open ellipse.exe (For Windows)

In this post i will show how to write hello world

step 1: Open ellipse.exe 
step 2: Then click on File-New -Android Application Project.



Step 3: So after clicking Android Application Project an new Dialog box will be opened with name New Android Application. Now In the Application name write the name of your application then press next.

Sunday, March 9, 2014

Introduction To ANDROID

HISTORY :-

Android Os is based on Linux-kernel. It was initially developed by Android Inc. and it was latter backed by Google and was bought in 2005.
It is a open source platform hence most of the code was released under open source Apache Licence.  So anyone who is interested to use Android can do so by downloading the full source code.
 The main advantage of Android is that it offer Unified approach towards Application Development. In a survey it has been found that 71% of the Mobile Developers Uses Android. Some companies that uses Android platform are Sony, Motorola, Samsung, Micromax  etc. and recently Nokia have also joined the group. 

Android Versions:-

Saturday, March 8, 2014

Two way communication between Arduino and Android

In last post i have showed you how to communicate two Arduino Uno using Bluetooth(RN-42). 
                                                             Now in this post i will show you how to connect Arduino Uno with Android phone using Bluetooth.


Before going further i will discuss some basic API's that we will be using in our android Programming. 

In this post we will show how to use Android Bluetooth classes and we will explore some of the Bluetooth API's that is used to develop this Android Bluetooth Application. These API's let your device to connect with other Bluetooth devices enabling point - to- point and Multipoint wireless features.



Using this Bluetooth API's an android application can scan other Bluetooth Devices present nearby, can pair with other Bluetooth devices, can establish RFCOMM, can transfer and receive data and can even manage multiple Bluetooth connections.



All these API's are available in android:bluetooth package. Now we will discuss some of the classes and Interfaces required for Bluetooth connection. (Taken from developer.android.com)