Content deleted Content added
Remove commercial bookseller url |
m Open access bot: url-access=subscription updated in citation with #oabot. |
||
Line 1:
{{short description|Process of writing software for Android operating system}}
{{Use mdy dates|date=November 2014}}
[[File:AOSP Android Stack.png|thumb|The Android stack'''<ref name=":1">{{cite web|url=https://source.android.com/source/index.html |title=The Android Source Code |website=Source.Android.com |access-date=February 2, 2017}}</ref>''']]
[[File:Nexus 4.png|thumb|The [[Nexus 4]], part of the [[Google Nexus]] series, a line of "developer-friendly" devices<ref name=friendly>{{cite news|title=Editorial: Why You Should Go Nexus|url=http://droidlessons.com/why-you-should-go-nexus-opinion-2/|access-date=August 22, 2023|newspaper=Droid Lessons|date=September 24, 2023
|author=Syed H|archive-url=https://web.archive.org/web/20170218000749/http://droidlessons.com/why-you-should-go-nexus-opinion-2/|archive-date=February 18, 2017|url-status=dead}}</ref>]]
'''Android software development''' is the process by which applications are created for devices running the [[Android (operating system)|Android]] mobile operating system. Google states that<ref name="Android Dev Fundamentals">{{Cite web|url=https://developer.android.com/guide/components/fundamentals|title=Application Fundamentals|website=Android Developers}}</ref> "Android apps can be written using [[Kotlin (programming language)|Kotlin]], [[Java (programming language)|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 (programming language)|Go]], [[JavaScript]]<!-- for Android's webviews-->, [[C (programming language)|C]], [[C++]] or [[Assembly language|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 <code>adb</code> and <code>fastboot</code>.<ref>
{{cite journal | last = Modesti | first = Paolo | date = March 2021 | title = A Script-Based Approach for Teaching and Assessing Android Application Development | url = https://doi.org/10.1145/3427593 | journal = ACM Transactions on Computing Education | volume = 21 | issue = 1 | pages = 1–24 | doi = 10.1145/3427593 | access-date = May 8, 2022| url-access = subscription }}</ref> The [[Android Debug Bridge]] (ADB) is a tool to run commands on a connected Android device. [[Fastboot]] is a [[communications protocol|protocol]] used for flashing filesystems. Code written in [[C (programming language)|C]]/[[C++]] can be [[compiler|compiled]] to [[ARM architecture|ARM]], or [[x86]] [[native code]] (or their 64-bit variants) using the [[Android NDK|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.<ref>{{cite web|url=https://developer.android.com/guide |title= Android Developers guides
|publisher=Developer.android.com |access-date=April 17, 2021}}</ref>
==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 and subsystems==
*[[BlueStacks]]
*[[scrcpy|Genymotion]]
*[[List of mergers and acquisitions by Alphabet|LeapDroid]]
*[[MIT App Inventor]]
*[[Android Studio]]
*[[Android-x86]]
*[[Windows Subsystem for Android]]
*[[Waydroid]]
==Android Developer Challenge==
{{Main article|
The Android Developer Challenge was a competition to find the most innovative application for Android. Google offered prizes totaling 10 million [[US dollar]]s, 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.<ref>{{cite web |url = http://android-developers.blogspot.com/2008/05/top-50-applications.html |work = Android Developers Blog |title = The Top 50 Applications |first = Jason |last = Chen |date = May 12, 2008 |access-date = September 4, 2009| archive-url= https://web.archive.org/web/20090925051155/http://android-developers.blogspot.com/2008/05/top-50-applications.html| archive-date= September 25, 2009 | url-status= live}}</ref><ref>{{cite news |url = http://www.linuxdevices.com/news/NS3168326017.html |title = Android Developer Challenge announces first-round winners |work = Linux for Devices |first = Eric |last = Brown |date = May 13, 2008 |url-status = dead |archive-url = https://web.archive.org/web/20080514204010/http://www.linuxdevices.com/news/NS3168326017.html |archive-date = May 14, 2008 |df = mdy-all }}</ref> It ended in early September with the announcement of ten teams that received $275,000 each, and ten teams that received $100,000 each.<ref name=ADC>{{cite web |url=https://code.google.com/android/adc/adc_gallery/ |title=ADC I Top 50 Gallery |access-date=May 19, 2009 |work=Android Developer Challenge}}</ref>
ADC II was announced on May 27, 2009.<ref name="Challenge">{{cite web |url=https://code.google.com/android/adc/ |title=Android Developer Challenge |access-date=January 11, 2008 |work=Google Code}}</ref> The first round of the ADC II closed on October 6, 2009.<ref>{{cite web |url = http://android-developers.blogspot.com/2009/10/adc-2-round-1-scoring-complete.html |title = ADC 2 Round 1 Scoring Complete |work = Android Developers Blog |first = Eric |last = Chu |date = October 6, 2009 |access-date =November 3, 2009| archive-url= https://web.archive.org/web/20091101174228/http://android-developers.blogspot.com/2009/10/adc-2-round-1-scoring-complete.html| archive-date= November 1, 2009 | url-status= live}}</ref> 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.<ref>{{cite web |url = https://code.google.com/android/adc/gallery_winners.html |title = ADC 2 Overall Winners |work = Android Developer Challenge |access-date =December 5, 2010| archive-url= https://web.archive.org/web/20110104052927/http://code.google.com/android/adc/gallery_winners.html| archive-date= January 4, 2011 | url-status= live}}</ref><ref>{{cite web |url = http://www.businessweek.com/the_thread/techbeat/archives/2009/11/android_develop_2.html |archive-url = https://web.archive.org/web/20091204154635/http://www.businessweek.com/the_thread/techbeat/archives/2009/11/android_develop_2.html |url-status = dead |archive-date = December 4, 2009 |title = Android Developer Challenge 2 Winners Announced |work = BusinessWeek |first = Olga |last = Kharif |date = November 30, 2009 |access-date =December 5, 2010}}</ref>
==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.<ref>{{cite web |url=http://forum.xda-developers.com/forumdisplay.php?f=448 |work=xda-developers forum |title=Dream android development |access-date=September 11, 2009}}</ref> This usually involves [[Rooting (Android OS)|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 [[brick (electronics)|bricking]], losing warranty, increased virus attack risks, etc.<ref>{{cite web |url=http://unbrick.itcse.com/rooting-advantages-disadvantages/ |work=ITCSE forum |title=Rooting: Advantages and Disadvantages |access-date=September 21, 2013 |archive-url=https://web.archive.org/web/20141129085147/http://unbrick.itcse.com/rooting-advantages-disadvantages/ |archive-date=November 29, 2014 |url-status=dead }}</ref> 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.<ref>{{cite web |url=http://voltmobileandtech.com/blog/ |title=Android 2.1 from Motorola Droid Ported to G1 |work=[[Volt Mobile]] |date=March 10, 2010 |access-date=May 13, 2011 |archive-url=https://web.archive.org/web/20110531222919/http://voltmobileandtech.com/blog/ |archive-date=May 31, 2011 |url-status=dead }}</ref>
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 [[
On
==Java
{{Main article| 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 [[Java ME|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.<ref>{{cite web
| url=http://www.javalobby.org/nl/archive/jlnews_20071113o.html
| title=Google Android: Initial Impressions and Criticism
| date=
| last=van Gurp
| first=Jilles | work=Javalobby
| quote=''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''
| access-date=March 7, 2009
| archive-date=August 28, 2008
| archive-url=https://web.archive.org/web/20080828111808/http://www.javalobby.org/nl/archive/jlnews_20071113o.html
| url-status=usurped
}}</ref> However, there are multiple tools in the market from companies such as [[Myriad Group]] and UpOnTek that provide Java ME to Android conversion services.<ref>{{cite web
|url = http://www.myriadgroup.com/Media-Centre/News/Myriad-New-J2Android-Converter-Fuels-Android-Applications-Gold-Rush.aspx
|title = Myriad's New J2Android Converter Fuels Android Applications Gold Rush
|
|access-date = May 13, 2011
|archive-url = https://web.archive.org/web/20110704072717/http://www.myriadgroup.com/Media-Centre/News/Myriad-New-J2Android-Converter-Fuels-Android-Applications-Gold-Rush.aspx
|archive-date = July 4, 2011
|url-status = dead
|df = mdy-all
}}</ref><ref>{{cite web
|last1=Fruhlinger |first1=Josh
|date=2010-03-23 |df=mdy
|url=https://www.infoworld.com/article/2073306/j2android-hopes-you-don-t-know-that-android-is-java-based.html
|title=J2Android hopes you don't know that Android is Java-based
|work=[[JavaWorld]]
|access-date=2020-07-13
|quote=''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.''
}}</ref><ref>{{cite web
|last1=Fruhlinger |first1=Josh
|date=2010-03-31 |df=mdy
|url=https://www.infoworld.com/article/2073324/myriad-cto--j2android-moves-midlets-to--beautiful--android-framework.html
|title=Myriad CTO: J2Android moves MIDlets to "beautiful" Android framework
|work=[[JavaWorld]]
|access-date=2020-07-13
|quote=''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.''
}}</ref>
Android provides its own GUI classes, and does not provide Java AWT, Swing or JavaFX. It does not support the full Java Beans API.{{citation needed|date=November 2019}}
==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.<ref name="MixedFeedback">{{cite web |url=https://arstechnica.com/news.ars/post/20071219-google-android-plagued-by-dysfunctional-development-process.html |title=Developing apps for Google Android: it's a mixed bag |access-date=December 19, 2007 |last=Paul |first=Ryan |date=December 19, 2007 |work=[[Ars Technica]]| archive-url= https://web.archive.org/web/20071220052053/http://arstechnica.com/news.ars/post/20071219-google-android-plagued-by-dysfunctional-development-process.html| archive-date= December 20, 2007 | url-status= live}}</ref> 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.)<ref>{{cite web |url=http://android-developers.blogspot.com/2008/01/you-cant-rush-perfection-but-now-you.html |title=You can't rush perfection, but now you can file bugs against it |work=Android Developers Blog |first=Dan |last=Morrill |date=January 18, 2008 |access-date=September 3, 2009}}</ref> 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."<ref name="Bugs">{{cite web |url=https://www.wsj.com/articles/SB119800856883537515 |title=Glitches Bug Google's Android Software |access-date=December 19, 2007 |last=Morrison |first=Scott |date=December 19, 2007 |work=The Wall Street Journal }}</ref> Despite this, Android-targeted applications began to appear the week after the platform was announced. The first publicly available application was the [[Snake (video game genre)|Snake game]].<ref name="Snake">{{cite web |url=http://www.mobiles2day.com/2007/11/14/first-android-application-snake/ |title=First Android Application — Snake |access-date=January 7, 2008 |date=November 14, 2007 |work=Mobiles2day |archive-url=https://web.archive.org/web/20080511192655/http://www.mobiles2day.com/2007/11/14/first-android-application-snake/ |archive-date=May 11, 2008 |url-status=dead }}</ref>
A preview release of the Android SDK was released on
On
On December 5, 2008, Google announced the first [[Android Dev Phone]], a [[Subscriber Identity Module|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.
{{As of|July 2013}}, more than one million applications have been developed for Android,<ref>{{cite web|url=http://mashable.com/2013/07/24/google-play-1-million/|title=Google Play Hits 1 Million Apps|date=July 24, 2013|work=Mashable}}</ref> with over 25 billion downloads.<ref name="200,000">{{cite web|title=Android App Stats |url=http://www.androlib.com/appstats.aspx |access-date=December 31, 2010 |archive-url=https://web.archive.org/web/20110102122636/http://www.androlib.com/appstats.aspx |archive-date=January 2, 2011 |url-status=dead }}</ref><ref>{{cite web |url= https://techcrunch.com/2011/04/14/google-3-billion-android-apps-installed-up-50-percent-from-last-quarter/ |title=Google: 3 Billion Android Apps Installed; Downloads Up 50 Percent From Last Quarter |author=Leena Rao|work=Techcrunch|date=April 14, 2011|access-date=May 13, 2011| archive-url= https://web.archive.org/web/20110425062025/http://techcrunch.com/2011/04/14/google-3-billion-android-apps-installed-up-50-percent-from-last-quarter/| archive-date= April 25, 2011 | url-status= live}}</ref> A June 2011 research indicated that over 67% of mobile developers used the platform, at the time of publication.<ref>{{cite web |url =http://www.visionmobile.com/blog/2011/06/developer-economics-2011-winners-and-losers-in-the-platform-race/ |title =Developer Economics 2011 |access-date =July 8, 2011 |archive-url =https://web.archive.org/web/20130929064053/http://www.visionmobile.com/blog/2011/06/developer-economics-2011-winners-and-losers-in-the-platform-race/ |archive-date =September 29, 2013 |url-status =dead }}</ref> Android smartphone shipments ware forecast to exceed 1.2 billion units in 2018 with an 85% market share.<ref>{{cite web |url=https://www.idc.com/getdoc.jsp?containerId=prUS43856818 |title=Worldwide Smartphone Volumes Will Remain Down in 2018 Before Returning to Growth in 2019 and Beyond, According to IDC |work=idc.com |date=May 30, 2018 |access-date=June 6, 2018 |archive-date=October 17, 2019 |archive-url=https://web.archive.org/web/20191017081207/https://www.idc.com/getdoc.jsp?containerId=prUS43856818 |url-status=dead }}</ref>
==See also==
{{Wikiversity|Android programming}}
* [[Android Studio]]
* [[List of free and open-source Android applications]]
* [[Rooting (Android)]]
==References==
{{reflist}}
==Bibliography==
{{Refbegin}}
* {{Cite book |first1 = Burnette
|
|date
|title = Hello, Android: Introducing Google's Mobile Development Platform
|publisher = [[Pragmatic Bookshelf]]
|edition = 3rd
|isbn
|url = https://archive.org/details/isbn_9781934356562
}}
* {{Cite book
Line 91 ⟶ 128:
| date = January 2011
| title = Android in Action, Second Edition
| publisher = [[Manning Publications|Manning]]
| edition = 2nd
| isbn =
}}
* {{Cite book
Line 101 ⟶ 137:
| first2 = Lauren
| last2 = Darcey
| date =
| title = Android Wireless Application Development Volume II: Advanced Topics
| publisher = [[Addison-Wesley Professional]]
| edition =
| isbn =
| url = http://www.informit.com/store/product.aspx?isbn=
}}
* {{Cite book
Line 115 ⟶ 151:
| publisher = [[Apress]]
| edition = 1st
| isbn =
| url = http://www.apress.com/9781430224198
}}
* {{Cite book |first1 = Reto
|
|date
|title = Professional Android 2 Application Development
|publisher = [[Wrox Press]]
|edition = 1st
|isbn
|url = https://archive.org/details/professionalandr00meie_0
}}
* {{Cite book
Line 135 ⟶ 170:
| publisher = [[Apress]]
| edition = 1st
| isbn =
| url = http://www.apress.com/9781430210641
}}
* {{Cite book
| first1 = Ian
| last1 = Clifton
| date = August 3, 2012
| title = The Essentials of Android Application Development LiveLessons (Video Training)
| publisher = [[Addison-Wesley Professional]]
| edition = 1st
| isbn = 978-0-13-299658-7
| url = https://mistersaad.com/lifecycle-of-a-mobile-application-development/
}}
{{Refend}}
{{Wikibooks|Android}}
{{Android}}
{{Table Mobile operating systems}}
{{Google
{{Linux}}
[[Category:Android (operating system)|Software development]]
[[Category:
[[Category:Embedded Linux]]
[[Category:
[[Category:Mobile Linux]]
[[Category:
[[Category:
[[Category:
|