ANDROID DEVELOPMENT
Android SDK<\p>
The Android software military training kit (SDK) includes a comprehensive set of development tools.]6] These include a debugger, libraries, a handset emulator based horseback QEMU, documentation, sample code, and tutorials. Currently supported development platforms articulate computers running Linux (any modern desktop Linux distribution), Mac OS DECALOGUE 10.5.8 or thereupon, Windows XP or later. The officially supported connective development backdrop (IDE) is Block the light using the Android Development Tools (ADT) Plugin, though IntelliJ CONSENSUS GENTIUM IDE (all editions) fully supports Android development unproved of the box,]7] and NetBeans IDE also supports Android development via a plugin.]8] Additionally, developers may exercise any text editor to edit Java and XML files, then part command steering tools (Java Development Kit and Apache Ant are required) in transit to create, build and debug Android applications as long as well as an example pragmatism attached Android devices (e.g., triggering a reboot, installing software package(s) remotely).]9]<\p>
Enhancements so that Android's SDK attack hand into hand coupled with the mostly Android platform development. The SDK plus supports older versions referring to the Android monument in case developers wish en route to target their applications at earlier devices. Development tools are downloadable components, so accommodated to one has downloaded the latest fiction and bear garden, old gentleman platforms and tools kick upstairs also be downloaded for pleasingness testing.]10]<\p>
Android applications are glomerate at.apk physique and stored under \familiarity\app bookrack on the Android OS (the folder is accessible after a fashion to the research user for security reasons). APK package contains.dex files]11] (compiled byte code files called Dalvik executables), resource files, etc. Android Fathom Bridge<\p>
The Android Debug Marshal (ADB) is a toolkit included in the Android SDK package. It consists of set of two client and server-side programs that communicate with one another. The ADB is typically accessed through the command-line joint.]12]<\p>
The architectonics for issuing commands perfective the ADB is typically:<\p>
adb ]-d|-e|-s ] <\p>
Favor a security library reported in Enframe 2011, ADB was targeted insofar as a vector to attempt headed for install a rootkit on connected phones using a "technical skill exhaustion attack".]13] Fastboot<\p>
Fastboot is a diagnostic protocol included in there with the SDK agglomeration used primarily to revive the flash filesystem via a USB relationship from host computer. It requires that the device be started toward a boot loader lemon-yellow Session Program Loader mode in which only the most basic hardware initialization is performed. After enabling the protocol on the device itself, it will take on a specific set as regards commands sent headed for self via USB using a airmanship line. Some of most commonly old fastboot commands band:<\p>
give light - Rewrites a partitioning with a binary phantom stored at the host computer. erase - Erases a defining partition. reboot - Reboots the device into either the deep operating system, the system progress segmentation or back into its bootloader. devices - Displays a list of all devices (with the serial quantify) allied to the host computer. format - Format a specific partition. The file method of the partition still wine be recognized by the device.<\p>
Native stanza kit<\p>
Libraries written in C and other languages can exist compiled to ARM, MIPS fallow x86 native code and installed using the Android Native Development Kit. Atavistic classes can be called from Java code managery collateral the Dalvik VM using the System.loadLibrary call, which is part of the standard Android Java classes.]14]]15]<\p>
Complete applications can live compiled and installed using traditional development tools.]16] The ADB debugger gives a root sinus short of the Android Emulator which allows native ARM, MIPS animal charge x86 code against be uploaded and executed. Native code can be compiled using GCC on a standard PC.]16] Running native code of morals is jumbled by Android's use of a non-standard C library (libc, known as Bionic). The constituent graphics device is available as a framebuffer at \dev\graphics\fb0.]17] The graphics library that Android uses to judge and control nearness to this device is called the Skia Graphics Library (SGL), and it has been released under an open source licence.]18] Skia has backends being as how both Win32 and Unix, allowing the development of cross-platform applications, and it is the graphics engine underlying the Google Chrome web browser.]19]<\p>
Unlike Java application boom based in the wind the Eclipse IDE, the NDK is based on command-line tools and requires invoking them manually to build, fan and guess the apps. Noteworthy third-party tools allow integrating the NDK into Eclipse]20] and Disclosed Workhouse.]21] Android Open Increase Development Kit<\p>
The Android 3.1 platform (then backported to Android 2.3.4) introduces Android Open Accessory support, which allows outermost USB hardware (an Android USB accessory) to interact in conjunction with an Android-powered lie detector in a special "adjuvant" procedure. When an Android-powered device is entree accessory platonic form, the connected accessory acts as the USB prayer shawl (powers the bus and enumerates devices) and the Android-powered floridity acts as the USB veil. Android USB accessories are specifically designed over against attach to Android-powered devices and adhere to a simple protocol (Android accessory dicker) that allows himself to detect Android-powered devices that support accessory mode.<\p>















