SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
A database example   Running the application     TODOs application code   Inspecting the database    Using LogCat




                                                   CS/SE Individual Practical


                                                              Stephen Gilmore
                                                              October 28, 2011
                                               School of Informatics, University of Edinburgh




                                                                                  CS/SE Individual Practical
                                                                                                               1 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     Lars Vogel example: TODOs




                                                                                 CS/SE Individual Practical
                                                                                                              2 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     A database example




                                                                                 CS/SE Individual Practical
                                                                                                              3 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     TodoDatabaseAdapter




                                                                                 CS/SE Individual Practical
                                                                                                              4 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     TodoDatabaseHelper (onCreate())




                                                                                 CS/SE Individual Practical
                                                                                                              5 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     TodoDatabaseHelper (onUpgrade())




                                                                                 CS/SE Individual Practical
                                                                                                              6 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     TodoDatabaseAdapter (open(), close())




                                                                                 CS/SE Individual Practical
                                                                                                              7 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     The create, update, and delete methods




                                                                                 CS/SE Individual Practical
                                                                                                              8 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     The insert() method




                                                                                 CS/SE Individual Practical
                                                                                                              9 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     The update() method




                                                                                 CS/SE Individual Practical
                                                                                                              10 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     The delete() method




                                                                                 CS/SE Individual Practical
                                                                                                              11 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     Fetch data




                                                                                 CS/SE Individual Practical
                                                                                                              12 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     Create content values




                                                                                 CS/SE Individual Practical
                                                                                                              13 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     A database example


                     Resources




                                                                                 CS/SE Individual Practical
                                                                                                              14 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Running the application


                     Running the TODOs application




                                                                                 CS/SE Individual Practical
                                                                                                              15 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Running the application


                     Editing a TODO item




                                                                                 CS/SE Individual Practical
                                                                                                              16 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Running the application


                     Setting category to “Urgent”




                                                                                 CS/SE Individual Practical
                                                                                                              17 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         TodoDetails (imports)




.14.20.png



                                                                                     CS/SE Individual Practical
                                                                                                                  18 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         TodoDetails (onCreate)




.14.31.png


                                                                                     CS/SE Individual Practical
                                                                                                                  19 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Graphical layout of todo edit.xml




.32.52.png                                                                           CS/SE Individual Practical
                                                                                                                  20 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Text of todo edit.xml




.32.48.png                                                                           CS/SE Individual Practical
                                                                                                                  21 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Outline of todo edit.xml




.32.48.png                                                                           CS/SE Individual Practical
                                                                                                                  22 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         TodoDetails (populateFields)




.14.38.png




                                                                                     CS/SE Individual Practical
                                                                                                                  23 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Save state, onPause, onResume




.14.48.png




                                                                                     CS/SE Individual Practical
                                                                                                                  24 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Save state




.14.56.png




                                                                                     CS/SE Individual Practical
                                                                                                                  25 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         TodosOverview (onCreate)




.15.04.png



                                                                                     CS/SE Individual Practical
                                                                                                                  26 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Options menu, item selected




.15.10.png




                                                                                     CS/SE Individual Practical
                                                                                                                  27 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         TODOs application code


                         Options item selected




.15.22.png




                                                                                     CS/SE Individual Practical
                                                                                                                  28 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     TODOs application code


                     Accessing the insert menu




                                                                                 CS/SE Individual Practical
                                                                                                              29 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         Inspecting the database


                         Dalvik Debug Monitor Server (DDMS)




.21.38.png
                                                                                     CS/SE Individual Practical
                                                                                                                  30 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     File explorer in DDMS




                                                                                 CS/SE Individual Practical
                                                                                                              31 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     /data/data/de.vogella.android.todos/...




                                                                                 CS/SE Individual Practical
                                                                                                              32 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     Pulling a file from the device




                                                                                 CS/SE Individual Practical
                                                                                                              33 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     Pulling a file from the device




                                                                                 CS/SE Individual Practical
                                                                                                              34 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     Get the device file




                                                                                 CS/SE Individual Practical
                                                                                                              35 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     Inspecting the file with sqlite3




                                                                                 CS/SE Individual Practical
                                                                                                              36 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                     Inspecting the database


                     Inspecting the file with sqlite3 on DiCE




                                                                                 CS/SE Individual Practical
                                                                                                              37 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         Using LogCat


                         Debugs and errors displayed in LogCat




.22.45.png




                                                                                     CS/SE Individual Practical
                                                                                                                  38 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         Using LogCat


                         Can filter messages displayed in LogCat




.34.51.png




                                                                                     CS/SE Individual Practical
                                                                                                                  39 / 40
A database example    Running the application   TODOs application code   Inspecting the database    Using LogCat
                         Using LogCat


                         Can use view menu to export messages




.40.30.png



                                                                                     CS/SE Individual Practical
                                                                                                                  40 / 40

Contenu connexe

Similaire à Creating and working with databases in Android

Spring framework
Spring frameworkSpring framework
Spring framework
srmelody
 
Datastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya ElearningDatastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya Elearning
shanmukha rao dondapati
 
Datastage coursecontent
Datastage coursecontentDatastage coursecontent
Datastage coursecontent
Amit Sharma
 

Similaire à Creating and working with databases in Android (20)

Mining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software ArtifactsMining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software Artifacts
 
Spring framework
Spring frameworkSpring framework
Spring framework
 
Log Data Analysis Platform by Valentin Kropov
Log Data Analysis Platform by Valentin KropovLog Data Analysis Platform by Valentin Kropov
Log Data Analysis Platform by Valentin Kropov
 
Log Data Analysis Platform
Log Data Analysis PlatformLog Data Analysis Platform
Log Data Analysis Platform
 
Data stage docx
Data stage docxData stage docx
Data stage docx
 
Datastage coursecontent
Datastage coursecontentDatastage coursecontent
Datastage coursecontent
 
Data stage
Data stageData stage
Data stage
 
Data access
Data accessData access
Data access
 
Trinug - repository pattern
Trinug - repository patternTrinug - repository pattern
Trinug - repository pattern
 
Organizing the Data Chaos of Scientists
Organizing the Data Chaos of ScientistsOrganizing the Data Chaos of Scientists
Organizing the Data Chaos of Scientists
 
DataFinder: A Python Application for Scientific Data Management
DataFinder: A Python Application for Scientific Data ManagementDataFinder: A Python Application for Scientific Data Management
DataFinder: A Python Application for Scientific Data Management
 
Tu1 1 5l
Tu1 1 5lTu1 1 5l
Tu1 1 5l
 
Building a Testable Data Access Layer
Building a Testable Data Access LayerBuilding a Testable Data Access Layer
Building a Testable Data Access Layer
 
Icoper webinar
Icoper webinar Icoper webinar
Icoper webinar
 
Datastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya ElearningDatastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya Elearning
 
Data provenance in Hopsworks
Data provenance in HopsworksData provenance in Hopsworks
Data provenance in Hopsworks
 
Green Your Apps (at Over The Air 2011)
Green Your Apps (at Over The Air 2011)Green Your Apps (at Over The Air 2011)
Green Your Apps (at Over The Air 2011)
 
Datastage coursecontent
Datastage coursecontentDatastage coursecontent
Datastage coursecontent
 
Ibm data stage implementing etl solution using ibm datastage
Ibm data stage  implementing etl solution using ibm datastageIbm data stage  implementing etl solution using ibm datastage
Ibm data stage implementing etl solution using ibm datastage
 
HTAP Queries
HTAP QueriesHTAP Queries
HTAP Queries
 

Plus de Stephen Gilmore

More Stochastic Simulation Examples
More Stochastic Simulation ExamplesMore Stochastic Simulation Examples
More Stochastic Simulation Examples
Stephen Gilmore
 
Testing Android apps with Robotium
Testing Android apps with RobotiumTesting Android apps with Robotium
Testing Android apps with Robotium
Stephen Gilmore
 
Fixing errors in Android Java applications
Fixing errors in Android Java applicationsFixing errors in Android Java applications
Fixing errors in Android Java applications
Stephen Gilmore
 
Continuing Android development
Continuing Android developmentContinuing Android development
Continuing Android development
Stephen Gilmore
 
Project management for the individual practical
Project management for the individual practicalProject management for the individual practical
Project management for the individual practical
Stephen Gilmore
 

Plus de Stephen Gilmore (20)

Feedback on Part 1 of the CSLP
Feedback on Part 1 of the CSLPFeedback on Part 1 of the CSLP
Feedback on Part 1 of the CSLP
 
Feedback on Part 1 of the Software Engineering Large Practical
Feedback on Part 1 of the Software Engineering Large PracticalFeedback on Part 1 of the Software Engineering Large Practical
Feedback on Part 1 of the Software Engineering Large Practical
 
Arrays in Objective-C
Arrays in Objective-CArrays in Objective-C
Arrays in Objective-C
 
More Stochastic Simulation Examples
More Stochastic Simulation ExamplesMore Stochastic Simulation Examples
More Stochastic Simulation Examples
 
Testing Android apps with Robotium
Testing Android apps with RobotiumTesting Android apps with Robotium
Testing Android apps with Robotium
 
Common Java problems when developing with Android
Common Java problems when developing with AndroidCommon Java problems when developing with Android
Common Java problems when developing with Android
 
Quick quiz on Objective-C
Quick quiz on Objective-CQuick quiz on Objective-C
Quick quiz on Objective-C
 
Getting started with Xcode
Getting started with XcodeGetting started with Xcode
Getting started with Xcode
 
Working with databases in Android
Working with databases in AndroidWorking with databases in Android
Working with databases in Android
 
Crash Course in Objective-C
Crash Course in Objective-CCrash Course in Objective-C
Crash Course in Objective-C
 
SELP: Debugging, AVDs and Manifests
SELP: Debugging, AVDs and ManifestsSELP: Debugging, AVDs and Manifests
SELP: Debugging, AVDs and Manifests
 
The Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmThe Stochastic Simulation Algorithm
The Stochastic Simulation Algorithm
 
Beginning Android Development
Beginning Android DevelopmentBeginning Android Development
Beginning Android Development
 
Computer Science Large Practical coursework
Computer Science Large Practical courseworkComputer Science Large Practical coursework
Computer Science Large Practical coursework
 
Software Engineering Large Practical coursework
Software Engineering Large Practical courseworkSoftware Engineering Large Practical coursework
Software Engineering Large Practical coursework
 
Introduction to the CSLP and the SELP
Introduction to the CSLP and the SELPIntroduction to the CSLP and the SELP
Introduction to the CSLP and the SELP
 
Fixing errors in Android Java applications
Fixing errors in Android Java applicationsFixing errors in Android Java applications
Fixing errors in Android Java applications
 
Feedback on Part 1 of the Individual Practical
Feedback on Part 1 of the Individual PracticalFeedback on Part 1 of the Individual Practical
Feedback on Part 1 of the Individual Practical
 
Continuing Android development
Continuing Android developmentContinuing Android development
Continuing Android development
 
Project management for the individual practical
Project management for the individual practicalProject management for the individual practical
Project management for the individual practical
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 

Creating and working with databases in Android

  • 1. A database example Running the application TODOs application code Inspecting the database Using LogCat CS/SE Individual Practical Stephen Gilmore October 28, 2011 School of Informatics, University of Edinburgh CS/SE Individual Practical 1 / 40
  • 2. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example Lars Vogel example: TODOs CS/SE Individual Practical 2 / 40
  • 3. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example A database example CS/SE Individual Practical 3 / 40
  • 4. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example TodoDatabaseAdapter CS/SE Individual Practical 4 / 40
  • 5. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example TodoDatabaseHelper (onCreate()) CS/SE Individual Practical 5 / 40
  • 6. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example TodoDatabaseHelper (onUpgrade()) CS/SE Individual Practical 6 / 40
  • 7. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example TodoDatabaseAdapter (open(), close()) CS/SE Individual Practical 7 / 40
  • 8. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example The create, update, and delete methods CS/SE Individual Practical 8 / 40
  • 9. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example The insert() method CS/SE Individual Practical 9 / 40
  • 10. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example The update() method CS/SE Individual Practical 10 / 40
  • 11. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example The delete() method CS/SE Individual Practical 11 / 40
  • 12. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example Fetch data CS/SE Individual Practical 12 / 40
  • 13. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example Create content values CS/SE Individual Practical 13 / 40
  • 14. A database example Running the application TODOs application code Inspecting the database Using LogCat A database example Resources CS/SE Individual Practical 14 / 40
  • 15. A database example Running the application TODOs application code Inspecting the database Using LogCat Running the application Running the TODOs application CS/SE Individual Practical 15 / 40
  • 16. A database example Running the application TODOs application code Inspecting the database Using LogCat Running the application Editing a TODO item CS/SE Individual Practical 16 / 40
  • 17. A database example Running the application TODOs application code Inspecting the database Using LogCat Running the application Setting category to “Urgent” CS/SE Individual Practical 17 / 40
  • 18. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code TodoDetails (imports) .14.20.png CS/SE Individual Practical 18 / 40
  • 19. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code TodoDetails (onCreate) .14.31.png CS/SE Individual Practical 19 / 40
  • 20. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Graphical layout of todo edit.xml .32.52.png CS/SE Individual Practical 20 / 40
  • 21. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Text of todo edit.xml .32.48.png CS/SE Individual Practical 21 / 40
  • 22. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Outline of todo edit.xml .32.48.png CS/SE Individual Practical 22 / 40
  • 23. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code TodoDetails (populateFields) .14.38.png CS/SE Individual Practical 23 / 40
  • 24. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Save state, onPause, onResume .14.48.png CS/SE Individual Practical 24 / 40
  • 25. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Save state .14.56.png CS/SE Individual Practical 25 / 40
  • 26. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code TodosOverview (onCreate) .15.04.png CS/SE Individual Practical 26 / 40
  • 27. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Options menu, item selected .15.10.png CS/SE Individual Practical 27 / 40
  • 28. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Options item selected .15.22.png CS/SE Individual Practical 28 / 40
  • 29. A database example Running the application TODOs application code Inspecting the database Using LogCat TODOs application code Accessing the insert menu CS/SE Individual Practical 29 / 40
  • 30. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Dalvik Debug Monitor Server (DDMS) .21.38.png CS/SE Individual Practical 30 / 40
  • 31. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database File explorer in DDMS CS/SE Individual Practical 31 / 40
  • 32. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database /data/data/de.vogella.android.todos/... CS/SE Individual Practical 32 / 40
  • 33. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Pulling a file from the device CS/SE Individual Practical 33 / 40
  • 34. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Pulling a file from the device CS/SE Individual Practical 34 / 40
  • 35. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Get the device file CS/SE Individual Practical 35 / 40
  • 36. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Inspecting the file with sqlite3 CS/SE Individual Practical 36 / 40
  • 37. A database example Running the application TODOs application code Inspecting the database Using LogCat Inspecting the database Inspecting the file with sqlite3 on DiCE CS/SE Individual Practical 37 / 40
  • 38. A database example Running the application TODOs application code Inspecting the database Using LogCat Using LogCat Debugs and errors displayed in LogCat .22.45.png CS/SE Individual Practical 38 / 40
  • 39. A database example Running the application TODOs application code Inspecting the database Using LogCat Using LogCat Can filter messages displayed in LogCat .34.51.png CS/SE Individual Practical 39 / 40
  • 40. A database example Running the application TODOs application code Inspecting the database Using LogCat Using LogCat Can use view menu to export messages .40.30.png CS/SE Individual Practical 40 / 40