Android software development explained

Android software development is the process by which applications are created for devices running the Android operating system. Google states that[1] "Android apps can be written using Kotlin, Java, and C++ languages" using the Android software development kit (SDK), while using other languages is also possible. All non-Java virtual machine (JVM) languages, such as Go, JavaScript, C, C++ or assembly, need the help of JVM language code, that may be supplied by tools, likely with restricted API support. Some programming languages and tools allow cross-platform app support (i.e. for both Android and iOS). Third party tools, development environments, and language support have also continued to evolve and expand since the initial SDK was released in 2008. The official Android app distribution mechanism to end users is Google Play; it also allows staged gradual app release, as well as distribution of pre-release app versions to testers.

Official development tools

The Android software development kit (SDK) includes a comprehensive set of development tools. The Android SDK Platform Tools are a separately downloadable subset of the full SDK, consisting of command-line tools such as adb and fastboot.[2] The Android Debug Bridge (ADB) is a tool to run commands on a connected Android device. Fastboot is a protocol used for flashing filesystems. Code written in C/C++ can be compiled to ARM, or x86 native code (or their 64-bit variants) using the Android Native Development Kit (NDK).

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.[3]

External hardware development

Development tools intended to help an Android device interact with external electronics include IOIO, Android Open Accessory Development Kit, Microbridge, Triggertrap, etc.

Android Emulators

Android Developer Challenge

See main article: article and Android Developer Challenge.

The Android Developer Challenge was a competition to find 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 January 2 to April 14, 2008. The 50 most promising entries, announced on May 12, 2008, each received a $25,000 award to further development.[4] [5] It ended in early September with the announcement of ten teams that received $275,000 each, and ten teams that received $100,000 each.[6]

ADC II was announced on May 27, 2009.[7] The first round of the ADC II closed on October 6, 2009.[8] The first-round winners of ADC II comprising the top 200 applications were announced on November 5, 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.[9] [10]

Community-based distributions

See also: List of custom Android distributions.

There is a community of open source enthusiasts that build and share Android-based distributions (i.e. 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.[11] This usually involves rooting the device. Rooting allows users root access to the operating system, enabling full control of the phone. Rooting has several disadvantages as well, including increased risk of hacking, high chances of bricking, losing warranty, increased virus attack risks, etc.[12] It is also possible to install custom firmware, although the device's boot loader must also be unlocked. Custom firmware allows users of older phones to use applications available only on newer releases.[13]

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 September 24, 2009, Google issued a cease and desist letter[14] to the modder Cyanogen, citing issues with the re-distribution of Google's closed-source applications[15] 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 Google Play and GPS navigation. Google has asserted that these applications can only be provided through approved distribution channels by licensed distributors. Cyanogen complied with Google's license and continued to distribute its mod without the proprietary software. It provided a method to backup licensed Google applications during the mod's install process and restore them when the process is complete.[16]

Java standards

See main article: article and Comparison of Java and Android API.

Obstacles to development include the fact that Android does not use established Java standards, that is, Java SE and ME. This prevents compatibility between Java applications written for those platforms and those written for the Android platform. Android reuses the Java language syntax and semantics, but it does not provide the full class libraries and APIs bundled with Java SE or ME.[17] However, there are multiple tools in the market from companies such as Myriad Group and UpOnTek that provide Java ME to Android conversion services.[18] [19] [20]

Android provides its own GUI classes, and does not provide Java AWT, Swing or JavaFX. It does not support the full Java Beans API.

History and market share

Android was created by the Open Handset Alliance, which is led by Google. The early feedback on developing applications for the Android platform was mixed.[21] Issues cited include bugs, lack of documentation, inadequate QA infrastructure, and no public issue-tracking system. (Google announced an issue tracker on January 18, 2008.)[22] 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."[23] Despite this, Android-targeted applications began to appear the week after the platform was announced. The first publicly available application was the Snake game.[24]

A preview release of the Android SDK was released on November 12, 2007. On July 15, 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.[25]

On August 18, 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.[26] On September 23, 2008, the Android 1.0 SDK (Release 1) was released.[27] 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 it was developed.[28]

On December 5, 2008, Google announced the first Android Dev Phone, a SIM-unlocked and hardware-unlocked device that is designed for advanced developers. It was a modified version of HTC's Dream phone. While developers can use regular consumer devices to test and use their applications, some developers may choose a dedicated unlocked or no-contract device.

, more than one million applications have been developed for Android,[29] with over 25 billion downloads.[30] [31] A June 2011 research indicated that over 67% of mobile developers used the platform, at the time of publication.[32] Android smartphone shipments are forecast to exceed 1.2 billion units in 2018 with an 85% market share.[33]

See also

Bibliography

Notes and References

  1. Web site: Application Fundamentals. Android Developers.
  2. Modesti . Paolo . March 2021 . A Script-Based Approach for Teaching and Assessing Android Application Development . ACM Transactions on Computing Education . 21 . 1 . 1–24 . 10.1145/3427593 . May 8, 2022.
  3. Web site: Android Developers guides. Developer.android.com . April 17, 2021.
  4. Web site: The Top 50 Applications . Android Developers Blog . Jason . Chen . May 12, 2008 . September 4, 2009. https://web.archive.org/web/20090925051155/http://android-developers.blogspot.com/2008/05/top-50-applications.html. September 25, 2009 . live.
  5. News: Android Developer Challenge announces first-round winners . Linux for Devices . Eric . Brown . May 13, 2008 . dead . https://web.archive.org/web/20080514204010/http://www.linuxdevices.com/news/NS3168326017.html . May 14, 2008 . mdy-all .
  6. Web site: ADC I Top 50 Gallery . May 19, 2009 . Android Developer Challenge.
  7. Web site: Android Developer Challenge . January 11, 2008 . Google Code.
  8. Web site: ADC 2 Round 1 Scoring Complete . Android Developers Blog . Eric . Chu . October 6, 2009 . November 3, 2009. https://web.archive.org/web/20091101174228/http://android-developers.blogspot.com/2009/10/adc-2-round-1-scoring-complete.html. November 1, 2009 . live.
  9. Web site: ADC 2 Overall Winners . Android Developer Challenge . December 5, 2010. https://web.archive.org/web/20110104052927/http://code.google.com/android/adc/gallery_winners.html. January 4, 2011 . live.
  10. Web site: Android Developer Challenge 2 Winners Announced . https://web.archive.org/web/20091204154635/http://www.businessweek.com/the_thread/techbeat/archives/2009/11/android_develop_2.html . dead . December 4, 2009 . BusinessWeek . Olga . Kharif . November 30, 2009 . December 5, 2010.
  11. Web site: Dream android development . xda-developers forum . September 11, 2009.
  12. Web site: Rooting: Advantages and Disadvantages . ITCSE forum . September 21, 2013 . https://web.archive.org/web/20141129085147/http://unbrick.itcse.com/rooting-advantages-disadvantages/ . November 29, 2014 . dead .
  13. Web site: Android 2.1 from Motorola Droid Ported to G1 . . March 10, 2010 . May 13, 2011 . https://web.archive.org/web/20110531222919/http://voltmobileandtech.com/blog/ . May 31, 2011 . dead .
  14. Web site: CyanogenMod in trouble? . Android and me . Taylor . Wimberly . September 24, 2009 . September 26, 2009. https://web.archive.org/web/20091003165002/http://androidandme.com/2009/09/hacks/cyanogenmod-in-trouble/. October 3, 2009 . live.
  15. Web site: A Note on Google Apps for Android . Android Developers Blog . Dan . Morrill . September 25, 2009 . September 26, 2009. https://web.archive.org/web/20091025130628/http://android-developers.blogspot.com/2009/09/note-on-google-apps-for-android.html. October 25, 2009 . live.
  16. Web site: The current state... . CyanogenMod Android ROM . September 27, 2009 . September 27, 2009 . https://web.archive.org/web/20091103155814/http://www.cyanogenmod.com/home/the-current-state . November 3, 2009 . mdy-all .
  17. Web site: Google Android: Initial Impressions and Criticism. November 13, 2007. van Gurp. Jilles. Javalobby. Frankly, I don't understand why Google intends to ignore the vast amount of existing implementation out there. It seems like a bad case of "not invented here" to me. Ultimately, this will slow adoption. There are already too many Java platforms for the mobile world and this is yet another one. March 7, 2009. August 28, 2008. https://web.archive.org/web/20080828111808/http://www.javalobby.org/nl/archive/jlnews_20071113o.html. dead.
  18. Web site: Myriad's New J2Android Converter Fuels Android Applications Gold Rush . March 19, 2010 . May 13, 2011 . https://web.archive.org/web/20110704072717/http://www.myriadgroup.com/Media-Centre/News/Myriad-New-J2Android-Converter-Fuels-Android-Applications-Gold-Rush.aspx . July 4, 2011 . dead . mdy-all.
  19. Web site: Fruhlinger . Josh . 2010-03-23 . mdy . J2Android hopes you don't know that Android is Java-based . . 2020-07-13 . On the other hand, you might think this is kind of a scam aimed at developers who don't really understand the nature of the platform they're targeting. My biggest complaint is that you'd think that Mikael Ricknäs, the IDG News Service reporter who wrote the first story linked to above (who toils for the same company that publishes JavaWorld), would have at least mentioned the relationship between Java and Android to make the oddness of this announcement clear..
  20. Web site: Fruhlinger . Josh . 2010-03-31 . mdy . Myriad CTO: J2Android moves MIDlets to "beautiful" Android framework . . 2020-07-13 . We will have to wait and see exactly how much pickup J2Android actually sees. The tool isn't actually available on the open market just yet; while Schillings spoke optimistically about "converting 1,000 MIDlets in an afternoon," at the moment they're working with a few providers to transform their back catalogs. So those of you out there hoping to avoid learning how to write Android code may have to wait a while..
  21. Web site: Developing apps for Google Android: it's a mixed bag . December 19, 2007 . Paul . Ryan . December 19, 2007 . Ars Technica. https://web.archive.org/web/20071220052053/http://arstechnica.com/news.ars/post/20071219-google-android-plagued-by-dysfunctional-development-process.html. December 20, 2007 . live.
  22. Web site: You can't rush perfection, but now you can file bugs against it . Android Developers Blog . Dan . Morrill . January 18, 2008 . September 3, 2009.
  23. Web site: Glitches Bug Google's Android Software . December 19, 2007 . Morrison . Scott . December 19, 2007 . The Wall Street Journal .
  24. Web site: First Android Application — Snake . January 7, 2008 . November 14, 2007 . Mobiles2day . https://web.archive.org/web/20080511192655/http://www.mobiles2day.com/2007/11/14/first-android-application-snake/ . May 11, 2008 . dead .
  25. Web site: Google plays Hide and Seek with Android SDK . Cade . Metz . July 14, 2008 . October 23, 2008 . The Register. https://web.archive.org/web/20081006032345/https://www.theregister.co.uk/2008/07/14/android_developer_unrest/. October 6, 2008 . live.
  26. Web site: Android — An Open Handset Alliance Project: Upgrading the SDK . October 24, 2008. https://web.archive.org/web/20080913131056/http://code.google.com/android/intro/upgrading.html. September 13, 2008.
  27. Web site: Other SDK Releases . September 2, 2009 . Android Developers.
  28. Web site: SDK Archives. Android Developers.
  29. Web site: Google Play Hits 1 Million Apps. July 24, 2013. Mashable.
  30. Web site: Android App Stats . December 31, 2010 . https://web.archive.org/web/20110102122636/http://www.androlib.com/appstats.aspx . January 2, 2011 . dead .
  31. Web site: Google: 3 Billion Android Apps Installed; Downloads Up 50 Percent From Last Quarter . Leena Rao. Techcrunch. April 14, 2011. May 13, 2011. https://web.archive.org/web/20110425062025/http://techcrunch.com/2011/04/14/google-3-billion-android-apps-installed-up-50-percent-from-last-quarter/. April 25, 2011 . live.
  32. Web site: Developer Economics 2011 . July 8, 2011 . https://web.archive.org/web/20130929064053/http://www.visionmobile.com/blog/2011/06/developer-economics-2011-winners-and-losers-in-the-platform-race/ . September 29, 2013 . dead .
  33. Web site: Worldwide Smartphone Volumes Will Remain Down in 2018 Before Returning to Growth in 2019 and Beyond, According to IDC . idc.com . May 30, 2018 . June 6, 2018 . October 17, 2019 . https://web.archive.org/web/20191017081207/https://www.idc.com/getdoc.jsp?containerId=prUS43856818 . dead .