Android Development by Netero #1 05-11-2014, 11:40 PM
#1
Greetings HackCommunity
Today I want to introduce an ongoing series on Android programming & development. Since Android programs are written by Java
, it will be easier if you already know java, if not don't worry I will explain every line of code as we go along.
This thread will be an information about Android OS and how to install the SDK.
What is Android?!
Android is a mobile operating system that is based on a modified version of Linux. It was originally a start up under same name,
in year 2005 Google purchased Android and took over the development ever since (as well as the development team).
Google made this OS free & open , hence most of the codes are available to download under Apache license, meaning anyone
can download the Android source code. Moreover, vendors (typically hardware manufacturers) can add their own proprietary
extensions to Android and customize Android to differentiate their products from others. This simple development model
makes Android very attractive and has thus piqued the interest of many vendors. This has been especially true for companies
affected by the phenomenon of Apple’s iPhone.These companies include Motorola (Which is a part of Google now), Sony Ericsson & Samsong ..etc.
Android now have many versions at the time of writing this thread the current Android version is Kitkat "4.4.2".
You can check this Link for more information about Android versions and their characteristics.
Features of Android
Android have many features, Messaging , Web-browsing, Storage, Media support, Hardware support, Multi-touch,
Multi-tasking & much more.Because Android is open source there is no fixed software/hardware combinations ,but the features
mentioned above are almost in every single Android phone today.
Obtaining the Tools before coding
I know you are excited to write down your first android application, but before we do that,
we must install the tools necessary, I will use windows 8 for this demonstration, but the process is almost the same for other OS.
First Step:
You must download the Android JDK, download from Here .
Chose your OS , then download the JDK & install it to your computer.
Second Step:
Now we download the most important software for the development.
Go to Here and download the SDK![[Image: tHNtrn8.png]](http://i.imgur.com/tHNtrn8.png)
Third Step:
After download finishes extract the files, any place you like.
After extraction you should be able to see
![[Image: oqCKc5A.png]](http://i.imgur.com/oqCKc5A.png)
It will take a long time depending on your connection speed, that is if you want to have all versions of Android on your PC (
2 or 3 gigs overall) if you don't want all versions just tick the version that you want , and then click install packages.
Fourth Step:
Now that we have our SDK downloaded, we will create our Virtual Emulator to test the codes, go to the SDK folder and open the AVD manager,
click on new , and fill the information as the picture below.
![[Image: xMdKvqV.png]](http://i.imgur.com/xMdKvqV.png)
AVD name the name which you will recognize your device with.
Device: is the device that you want the emulator to behave like.
Target: is the android version you want the emulator to have.
Skin: the emulator skin , if it have button or not and some other options , feel free to look at them.
SD card: is the amount of memory your phone have I put 1 gig.
Snapshot: will help you to resume from where you close the emulator.
Click OK , after you fill the information as you want.
This will conclude our first tutorial on Android.
In next lesson I will go on creating and testing our first Android Application.
I will create new Threads on this series based on my free time.
Regards Netero
Today I want to introduce an ongoing series on Android programming & development. Since Android programs are written by Java
, it will be easier if you already know java, if not don't worry I will explain every line of code as we go along.
This thread will be an information about Android OS and how to install the SDK.
What is Android?!
Android is a mobile operating system that is based on a modified version of Linux. It was originally a start up under same name,
in year 2005 Google purchased Android and took over the development ever since (as well as the development team).
Google made this OS free & open , hence most of the codes are available to download under Apache license, meaning anyone
can download the Android source code. Moreover, vendors (typically hardware manufacturers) can add their own proprietary
extensions to Android and customize Android to differentiate their products from others. This simple development model
makes Android very attractive and has thus piqued the interest of many vendors. This has been especially true for companies
affected by the phenomenon of Apple’s iPhone.These companies include Motorola (Which is a part of Google now), Sony Ericsson & Samsong ..etc.
Android now have many versions at the time of writing this thread the current Android version is Kitkat "4.4.2".
You can check this Link for more information about Android versions and their characteristics.
Features of Android
Android have many features, Messaging , Web-browsing, Storage, Media support, Hardware support, Multi-touch,
Multi-tasking & much more.Because Android is open source there is no fixed software/hardware combinations ,but the features
mentioned above are almost in every single Android phone today.
Obtaining the Tools before coding
I know you are excited to write down your first android application, but before we do that,
we must install the tools necessary, I will use windows 8 for this demonstration, but the process is almost the same for other OS.
First Step:
You must download the Android JDK, download from Here .
Chose your OS , then download the JDK & install it to your computer.
Second Step:
Now we download the most important software for the development.
Go to Here and download the SDK
![[Image: tHNtrn8.png]](http://i.imgur.com/tHNtrn8.png)
Third Step:
After download finishes extract the files, any place you like.
After extraction you should be able to see
- Eclipse
- SDK
- SDK Manager
![[Image: oqCKc5A.png]](http://i.imgur.com/oqCKc5A.png)
It will take a long time depending on your connection speed, that is if you want to have all versions of Android on your PC (
2 or 3 gigs overall) if you don't want all versions just tick the version that you want , and then click install packages.
Fourth Step:
Now that we have our SDK downloaded, we will create our Virtual Emulator to test the codes, go to the SDK folder and open the AVD manager,
click on new , and fill the information as the picture below.
![[Image: xMdKvqV.png]](http://i.imgur.com/xMdKvqV.png)
AVD name the name which you will recognize your device with.
Device: is the device that you want the emulator to behave like.
Target: is the android version you want the emulator to have.
Skin: the emulator skin , if it have button or not and some other options , feel free to look at them.
SD card: is the amount of memory your phone have I put 1 gig.
Snapshot: will help you to resume from where you close the emulator.
Click OK , after you fill the information as you want.
This will conclude our first tutorial on Android.
In next lesson I will go on creating and testing our first Android Application.
I will create new Threads on this series based on my free time.
Regards Netero
I'm too busy with Learning new things. Will check as much as I can.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)