Cargando…

Testing and securing Android Studio applications : debug and secure your Android applications with Android Studio /

If you are a developer with some Android knowledge, but you do not know how to test your applications using Android Studio, this book will guide you. It is recommended that you are familiar with Android Studio IDE.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Cruz Zapata, Belén
Otros Autores: Hernández Niñirola, Antonio
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to Software Security; Software security terms; Threats, vulnerabilities, and risks; Threat; Vulnerability; Risk; Secure code-design principles; Testing the basics; Summary; Chapter 2: Security in Android Applications; The mobile environment; An overview of Android security; Permissions; Interapplication communication; Intents; Content providers; Summary; Chapter 3: Monitoring Your Application; Debugging and DDMS; Threads; Method profiling; Heap.
  • Allocation TrackerNetwork Statistics; File Explorer; Emulator Control; System Information; Summary; Chapter 4: Mitigating Vulnerabilities; Input validation; SQL injection; Permissions; Handling a user''s data and credentials; Interapplication communication; Securing Intents; Securing the content providers; Summary; Chapter 5: Preserving Data Privacy; Data privacy; Shared preferences; Files in the internal storage; Files in external storage; The database storage; Encryption; The encryption methods; Generating a key; Using encryption to store data; Summary; Chapter 6: Securing Communications.
  • HTTPSSSL and TLS; Server and client certificates; Keytool in the terminal; Android Studio; Code examples using HTTPS; Summary; Chapter 7: Authentication Methods; Multifactor authentication; The knowledge factor; The possession factor; The inherence factor; Login implementations; AccountManager; Summary; Chapter 8: Testing Your Application; Testing in Android; Testing the UI; The uiautomator API; The UiDevice class; The UiSelector class; The UiObject class; The UiCollection class; The UiScrollable class; The uiautomatorviewer tool; The UI test project; Running UI test cases; Summary.
  • Chapter 9: Unit and Functional TestsTesting activities; The test case classes; Instrumentation; The test case methods; The Assert class and method; The ViewAsserts class; The MoreAsserts class; UI testing and TouchUtils; The mock object classes; Creating an activity test; Creating a unit test; Unit test setup; Clock test; Layout test; The activity Intent test; Creating a functional test; The functional test setup; The UI test; The activity Intent test; The state management test; Getting the results; Summary; Chapter 10: Supporting Tools; Tools for unit testing; Spoon; Mockito; Android Mock.
  • FEST AndroidRobolectric; Tools for functional testing; Robotium; Espresso; Appium; Calabash; MonkeyTalk; Bot-bot; Monkey; Wireshark; Other tools; Genymotion; Summary; Chapter 11: Further Considerations; What to test; Network access; Media availability; Change in orientation; Service and content provider testing; Developer options; Getting help; Summary; Index.