Android+Software+Development+Kit

=[|Android software development][|From Wikipedia, the free encyclopedia]= Galaxy Nexus, a phone recommended by the //Android Open Source Project// for software development[1home] part of the Google Nexus series, a line of "developer-friendly" phones
 * Android software development** is the process by which new applications are created for the Android operating system. Applications are usually developed in the Java programming language using the Android Software Development Kit, but other development tools are available. As of April 2011 more than 200,000 applications have been developed for Android, with over 3 billion downloads.[2home][3home]. The Android platform has also grown to become a favorite among mobile developers. A June 2011 research indicated that over 67% of mobile developers used the platform, at the time of publication. [4home]

[|There are books in print about developing applications for the most popular Mobile Phone Android Operating System .] hide]
 * ==Contents==
 * 1 Software development tools
 * 1.1 Android SDK
 * 1.2 Native development kit
 * 1.3 Android Open Accessory Development Kit
 * 1.4 App Inventor for Android
 * 1.5 HyperNext Android Creator
 * 1.6 The Simple project
 * 1.7 Basic4android
 * 2 Android Developer Challenge
 * 3 Community-based firmware
 * 4 Java standards
 * 5 Fragmentation
 * 6 History
 * 7 See also
 * 8 References
 * 9 Bibliography
 * 10 External links ||

edit] Android SDK
The Android software development kit (SDK) includes a comprehensive set of development tools.[5home] These include a debugger, libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials. Currently supported development platforms include computers running Linux (any modern desktop Linux distribution), Mac OS X 10.4.9 or later, Windows XP or later. The officially supported integrated development environment (IDE) is Eclipse using the Android Development Tools (ADT) Plugin, though developers may use any text editor to edit Java and XML files then use command line tools (Java Development Kit and Apache Ant are required) to create, build and debug Android applications as well as control attached Android devices (e.g., triggering a reboot, installing software package(s) remotely).[6home] Enhancements to Android's SDK go hand in hand with the overall Android platform development. The SDK also supports older versions of the Android platform in case developers wish to target their applications at older devices. Development tools are downloadable components, so after one has downloaded the latest version and platform, older platforms and tools can also be downloaded for compatibility testing.[7home] Android applications are packaged in .apk format and stored under /data/app folder on the Android OS (the folder is accessible only to root user for security reasons). APK package contains .dex files[8home] (compiled byte code files called Dalvik executables), resource files, etc.

edit] Native development kit
Libraries written in C and other languages can be compiled to ARM or x86 native code and installed using the Android Native Development Kit. Native classes can be called from Java code running under the Dalvik VM using the System.loadLibrary call, which is part of the standard Android Java classes.[9home][10home] Complete applications can be compiled and installed using traditional development tools.[11home] The ADB debugger gives a root shell under the Android Emulator which allows native ARM code or x86 code to be uploaded and executed. ARM or x86 code can be compiled using GCC on a standard PC.[11home] Running native code is complicated by the fact that Android uses a non-standard C library (libc, known as Bionic). The underlying graphics device is available as a framebuffer at ///dev/graphics/fb0//.[12home] The graphics library that Android uses to arbitrate and control access to this device is called the Skia Graphics Library (SGL), and it has been released under an open source licence.[13home] Skia has backends for both win32 and Unix, allowing the development of cross-platform applications, and it is the graphics engine underlying the Google Chrome web browser.[14home]

edit] Android Open Accessory Development Kit
The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open Accessory support, which allows external USB hardware (an Android USB accessory) to interact with an Android-powered device in a special "accessory" mode. When an Android-powered device is in accessory mode, the connected accessory acts as the USB host (powers the bus and enumerates devices) and the Android-powered device acts as the USB device. Android USB accessories are specifically designed to attach to Android-powered devices and adhere to a simple protocol (Android accessory protocol) that allows them to detect Android-powered devices that support accessory mode.[15home]

edit] App Inventor for Android
Main article: Google App Inventor On 12 July 2010 Google announced the availability of App Inventor for Android, a Web-based visual development environment for novice programmers, based on MIT's Open Blocks Java library and providing access to Android devices' GPS, accelerometer and orientation data, phone functions, text messaging, speech-to-text conversion, contact data, persistent storage, and Web services, initially including Amazon and Twitter.[16home] "We could only have done this because Android’s architecture is so open," said the project director, MIT's Hal Abelson.[17home] Under development for over a year,[18home] the block-editing tool has been taught to non-majors in computer science at Harvard, MIT, Wellesley, Trinity College (Hartford,) and the University of San Francisco, where Professor David Wolber developed an introductory computer science course and tutorial book for non-computer science students based on App Inventor for Android.[19home][20home]

edit] HyperNext Android Creator
Main article: HyperNext HyperNext Android Creator (HAC) is a software development system aimed at beginner programmers that can help them create their own Android apps without knowing Java and the Android SDK. It is based on HyperCard that treated software as a stack of cards with only one card being visible at any one time and so is well suited to mobile phone applications that have only one window visible at a time. HyperNext Android Creator's main programming language is simply called HyperNext and is loosely based on Hypercard's HyperTalk language. HyperNext is an interpreted English-like language and has many features that allow creation of Android applications. It supports a growing subset of the Android SDK including its own versions of the GUI control types and automatically runs its own background service so apps can continue to run and process information while in the background.

edit] The Simple project
The goal of Simple is to bring an easy to learn and use language to the Android platform.[21home] Simple is a BASIC dialect for developing Android applications. It targets professional and non-professional programmers alike in that it allows programmers to quickly write Android applications that utilise the Android runtime components. Similar to Microsoft Visual Basic 6, Simple programs are form definitions (which contain components) and code (which contains the program logic). The interaction between the components and the program logic happens through events triggered by the components. The program logic consists of event handlers which contain code reacting to the events. The Simple project is not very active[22home], the last source code update being in August 2009.

edit] Basic4android
Basic4android is a commercial product similar to Simple.[23home] It is inspired by Microsoft Visual Basic 6 and Microsoft Visual Studio. Basic4android is very active, and there is a strong online community of Basic4android developers.

edit] Android Developer Challenge
Main article: Android Developer Challenge The Android Developer Challenge was a competition for the most innovative application for Android. Google offered prizes totaling 10 million US dollars, distributed between ADC I and ADC II. ADC I accepted submissions from 2 January to 14 April 2008. The 50 most promising entries, announced on 12 May 2008, each received a $25,000 award to further development.[24home][25home] It ended in early September with the announcement of ten teams that received $275,000 each, and ten teams that received $100,000 each.[26home] ADC II was announced on 27 May 2009.[27home] The first round of the ADC II closed on 6 October 2009.[28home] The first-round winners of ADC II comprising the top 200 applications were announced on 5 November 2009. Voting for the second round also opened on the same day and ended on November 25. Google announced the top winners of ADC II on November 30, with SweetDreams, What the Doodle!? and WaveSecure being nominated the overall winners of the challenge.[29home][30home]

edit] Community-based firmware
There is a community of open-source enthusiasts that build and share Android-based firmware with a number of customizations and additional features, such as FLAC lossless audio support and the ability to store downloaded applications on the microSD card.[31home] This usually involves rooting the device. Rooting allows users root access to the operating system, enabling full control of the phone. In order to use custom firmwares the device's bootloader must be unlocked. Rooting alone does not allow the flashing of custom firmware. Modified firmwares allow users of older phones to use applications available only on newer releases.[32home] Those firmware packages are updated frequently, incorporate elements of Android functionality that haven't yet been officially released within a carrier-sanctioned firmware, and tend to have fewer limitations. CyanogenMod and OMFGB are examples of such firmware. On 24 September 2009, Google issued a cease and desist letter[33home] to the modder Cyanogen, citing issues with the re-distribution of Google's closed-source applications[34home] within the custom firmware. Even though most of Android OS is open source, phones come packaged with closed-source Google applications for functionality such as the Android Market and GPS navigation. Google has asserted that these applications can only be provided through approved distribution channels by licensed distributors. Cyanogen has complied with Google's wishes and is continuing to distribute this mod without the proprietary software. He has provided a method to back up licensed Google applications during the mod's install process and restore them when it is complete.[35home]

edit] Java standards
Obstacles to development include the fact that Android does not use established Java standards, i.e. Java SE and ME. This prevents compatibility among Java applications written for those platforms and those for the Android platform. Android only reuses the Java language syntax and semantics, but does not provide the full class libraries and APIs bundled with Java SE or ME.[36home] However, there are multiple tools in the market from companies such as Myriad Group and UpOnTek that provide J2ME to Android conversion services.[37home][38home][39home]

edit] Fragmentation
Developers had reported that it was difficult to maintain applications on multiple versions of Android, owing to compatibility issues between versions 1.5 and 1.6,[40home] especially the different resolution ratios in use among various Android phones. [41home] Such problems were pointedly brought into focus as they were encountered during the ADC2 contest.[42home] Further, the rapid growth in the number of Android-based phone models with differing hardware capabilities also makes it difficult to develop applications that work on all Android-based phones.[43home][44home][45home][46home] However, this situation appears to have improved, in that by July 2011, Google reported over 95% of android phones in service were on 2.1 variants and newer, over 60% on 2.2 variants and newer [47home]. A year ago, August 2010, Google reported 83% of Android phones were running the, then current, 2.x versions, with 17% still on 1.5 and 1.6. Statistical analysis seems to show that Android fragmentation follows a cyclical pattern.[48home] In addition to that, the phone and tablet versions of Android are now unified in Android 4.0.[49home]
 * [[image:http://zoomlang.wikispaces.com/site/embedthumbnail/placeholder?w=200&h=50 width="200" height="50" caption="Gnome globe current event.svg" link="/wiki/File:Gnome_globe_current_event.svg"]] || This section is **outdated**. Please update this section to reflect recent events or newly available information. Please see the talk page for more information. //(May 2011)// ||

edit] History
Early Android device. Android is created by the Open Handset Alliance which is led by Google.[50home] The early feedback on developing applications for the Android platform was mixed.[51home] Issues cited include bugs, lack of documentation, inadequate QA infrastructure, and no public issue-tracking system. (Google announced an issue tracker on 18 January 2008.)[52home] In December 2007, MergeLab mobile startup founder Adam MacBeth stated, //"Functionality is not there, is poorly documented or just doesn't work... It's clearly not ready for prime time."//[53home] Despite this, Android-targeted applications began to appear the week after the platform was announced. The first publicly available application was the Snake game.[54home][55home] The Android Dev Phone is a SIM-unlocked and hardware-unlocked device that is designed for advanced developers. While developers can use regular consumer devices purchased at retail to test and use their applications, some developers may choose not to use a retail device, preferring an unlocked or no-contract device. A preview release of the Android SDK was released on 12 November 2007. On 15 July 2008, the Android Developer Challenge Team accidentally sent an email to all entrants in the Android Developer Challenge announcing that a new release of the SDK was available in a "private" download area. The email was intended for winners of the first round of the Android Developer Challenge. The revelation that Google was supplying new SDK releases to some developers and not others (and keeping this arrangement private) led to widely reported frustration within the Android developer community at the time.[56home] On 18 August 2008 the Android 0.9 SDK beta was released. This release provided an updated and extended API, improved development tools and an updated design for the home screen. Detailed instructions for upgrading are available to those already working with an earlier release.[57home] On 23 September 2008 the Android 1.0 SDK (Release 1) was released.[58home] According to the release notes, it included "mainly bug fixes, although some smaller features were added." It also included several API changes from the 0.9 version. Multiple versions have been released since.[59home]

edit] See also

 * List of open source Android applications