Cargando…

Android best practices /

Android Best Practices by Godfrey Nolan shows you how to make your Android apps stand out from the crowd with great reviews. Why settle for just making any Android app? Build a brilliant Android app instead that lets your users praise it for ease of use, better performance, and more. Using a series...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Nolan, Godfrey
Otros Autores: Çinar, Onur, Truxall, David
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [New York] : New York : Apress ; Distributed to the Book trade worldwide by Springer Science+Business Media New York, ©2014.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Chapter 1: Before You Start; Introduction to Android; Who Should Read This Book?; What You Need Before You Begin; An Actual Android Application; A Working Development Environment; All the Bells and Whistles; Source Code for the Sample Application; What's in This Book; Chapter 2: Android Patterns; UI Design Patterns; Holo; ActionBarSherlock Navigation; Designing for Different Devices; Fragments; Architectural Design Patterns; Classic Android; MVC; The Model; The View; The Controller; MVVM; The Model; The View; The ViewModel; Dependency Injection; The ToDoModule.
  • The Database ProviderThe Stub Provider; ToDoApplication; Summary; Chapter 3: Performance; History; Performance Tips; Android Performance; Java Performance; SQLite Performance; Web Services Performance; Optimized Code; Tools; DDMS; System Performance; Heap Usage; Eclipse Memory Analyzer; Memory Allocation; Threads; Method Profiling; Traceview; Lint; Hierarchy Viewer; Unix Tools; Top; Dumpsys; Vmstat; Summary; Chapter 4: Agile Android; Benefits; Benefits to the Business; Benefits to the Developer; The Sweet Spot; Elements of Agile; Goals; Roll Call; TDD; BDD; Continuous Integration.
  • Putting It All TogetherSummary; Chapter 5: Native Development; Deciding Where to Use Native Code; Where Not to Use Native Code; Where to Use Native Code; Java Native Interface; Difficulties Writing Native Code Using JNI; Generate the Code Using a Tool; Generating C/C++ Header Files Using javah; Generating the JNI Code using SWIG; Minimize the Number of JNI API Calls; Use Primitive Data Types as Native Method Parameters; Minimize Reach-Back from Native Code to Java Space; Memory Usage; Local References; Never Cache Local References; Release Local References in Complex Native Methods.
  • Dealing with StringsUse Proper Memory Management Function; Operating on Arrays; Do Not Request Unnecessary Array Elements; Prevent Updating Unchanged Arrays; Native I/O; Caching Classes, Method and Field IDs; Threading; Never Cache the JNI Environment Interface Pointer; Never Access Java Space from Detached Native Threads; Troubleshooting; Extended JNI Check; Always Check for Java Exceptions; Always Check JNI Return Values; Always Add Log Lines While Developing; Native Code Reuse Using Modules; Benefit from Compiler Vectorization; Summary; Chapter 6: Security; The State of Android Security.
  • Secure Coding PracticesIndustry Standard Lists; PCI List; OWASP; OWASP's General Secure Coding Guidelines; OWASP's Top 10 Mobile Risks; Google Security Tips; Our Top 10 Secure Coding Recommendations; Best Practices in Action; Security Policy Enforcer; Version 1 Settings.java; Version 2 Settings.java; Version 3 Settings.java; Summary; Chapter 7: Device Testing; Choosing a Strategy; Emulators; Install Intel x86 Atom System Image; Create Your Own Device; Downloading Manufacturer's AVDs; Automating Emulator Testing with Jenkins; Hardware Testing; Third-Party Testing Service.