SlideShare una empresa de Scribd logo
1 de 40
Descargar para leer sin conexión
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

Más contenido relacionado

Similar a 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
 

Similar a 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
 

Más 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
 

Más 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
 

Último

Último (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

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