SlideServe
Menu
Préférences
© SlideServe · v2026

Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK

fonda avatar
12 diapositives · 390 Views · Jul 26, 2014

Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK. http://www.flickr.com/photos/ourcage/8343799386/. What is the Android SDK?. Tools for creating apps SDK Manager AVD Manager Command-line tools (e.g., debug monitor) Eclipse ADT plugin (optional) Compile & deploy apps written in Java

Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK - slide 1
01 / 12Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK
1 / 17

Télécharger la présentation

Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Comparison to android DEVELOPMENT TOOLS (ADT) AND SDK http://www.flickr.com/photos/ourcage/8343799386/

  2. What is the Android SDK? • Tools for creating apps • SDK Manager • AVD Manager • Command-line tools (e.g., debug monitor) • Eclipse ADT plugin (optional) • Compile & deploy apps written in Java • Compiled to Android-compatible bytecode

  3. Pros and cons of Android SDK (particularly compared to Titanium) • Pros: • Somewhat higher performance • Somewhat smaller executables • Somewhat broader API • Support for declarative layout • Cons: • If you don't know Java • Only works for Android (e.g., not iOS)

  4. Installation • Download: download.android.com • Fire up SDK manager • Install as much as you can tolerate • Definitely 2.3.3 and also the latest API • Include the generic Android versions + Google versions • Google versions give you Google-specific APIs (e.g., maps) • Open Eclipse, then… • Help > Install software > https://dl-ssl.google.com/android/eclipse/

  5. Tour through an Android appcreated with the SDK

  6. Summary of Android project structure • src/ • For declaring custom Java classes of your own • gen/ • Where Android generates other code for you • libs/ • Where you put any 3rd party jar files that you need • res/layout/ • Where you put XML files for activities (~windows) • res/values/ • Where you put XML files for strings & other data • res/drawable*/ • Where you put images • AndroidManifest.xml • Where you define the app's overall structure & settings

  7. What you have seen so far… • Activities (windows) with nested views • Declarative user interface layout • Analogous to the "new" Titanium approach (alloy) • But the Android SDK also has a visual editor • Custom images, depending on screen • Analogous to how Titanium organizes images • Localization of strings • Titanium has an API for this, too – it's just not so "in your face" • Testing apps in an emulator • Again, similar to Titanium

  8. All this and more…Data access and processing • Files (Java APIs) and databases (Android API) • Remote data (Java network APIs) • (Android APIs to detect network & do asynchronously) • Parsing strings (pre-loaded 3rd party libraries) • Saving name-value pairs (Android API)

  9. All this and more…Access to specialized APIs • Sensors and other hardware • Compass, Geolocation, Accelerometer, Gestures, Sound, Camera, Barometric pressure, Gyroscope, … • Integration with other applications • Dialing phone, Sending email, Sending text message, Retrieving contacts, Displaying a map, … • Validating data and managing state • Validating inputs, detecting lifecycle events to save state, running services in the background, … • Specialized UI controls • Popup menu, various progress bars, ratings bar, checkboxes, switches, sliders, video viewers, media controllers, chronometer, zoom control, …

  10. Quick walkthrough of a somewhat cooler app

  11. Choosing a platform (How-To & Project) • Cloud • Google App Engine or Amazon Web Services • Mobile • Mobile web, or else for a native mobile app either Appcelerator Titanium or Google Android SDK • If you want to use a platform other than those above, discuss it first with the instructor.

  12. Resources for Android SDK • W.M. Lee's "Beginning Android Application Development" (available at Amazon.com) • http://developer.android.com/ for documentation and tutorials • The "Android Development Basics" app (com.aviyehuda.androidcard) available in Google Play store