1 / 7

Debugging for Android

Debugging for Android. Debugging for Android. You have three options: Android Debug Bridge (ADB) Dalvik Debug Monitor Device (DDMS) Device or AVD (Android Virtual Device) Additional static analyzer for Eclipse: FindBugs. Developing for Mobile Devices.

doyle
Télécharger la présentation

Debugging for Android

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Debugging for Android CS440

  2. Debugging for Android • You have three options: • Android Debug Bridge (ADB) • Dalvik Debug Monitor Device (DDMS) • Device or AVD (Android Virtual Device) • Additional static analyzer for Eclipse: • FindBugs CS440

  3. Developing for Mobile Devices • Hardware-Imposed Design Considerations: • Low Processing Power • Limiter RAM • Limited permanent storage capacity • Small screens • High costs associated with data transfer • Slow data transfer rates, high latency • Unreliable data connections • Limited battery life CS440

  4. Good Practices • Be efficient • Think about memory • Consider small screens, touch screens • Expect low speeds, high latency • Think about cost CS440

  5. Developing for Android • Performance • http://developer.android.com/guide/practices/design/performance.html • Responsiveness • Application must respond to user action within 5 secs • Broadcast receiver must return from its onReceive handler within 10 secs • Seamlessness • Security CS440

  6. What makes an app? • Activities: presentation layer • Services: invisible workers • Content Providers: databases • Intents: message-passing framework • Broadcast receivers: broadcast consumers • Widgets: components added to home screen • Notifications: signal users without interrupting their current activities CS440

  7. References • Professional Android 2 Application Development (Wrox Programmer to Programmer) by Reto Meier CS440

More Related