SlideShare a Scribd company logo
1 of 40
Download to read offline
Manifest files   Resources and strings           App attributes and resources             Android Eclipse issues




                                            CS/SE Individual Practical


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




                                                                               CS/SE Individual Practical
                                                                                                            1 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Manifest files




                                                                         CS/SE Individual Practical
                                                                                                      2 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                The manifest editor




                                                                         CS/SE Individual Practical
                                                                                                      3 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                    Manifest files


                    Adding extras




                                                                             CS/SE Individual Practical
                                                                                                          4 / 40
.50.09.png
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Labels and icons




                                                                         CS/SE Individual Practical
                                                                                                      5 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                    Manifest files


                    Application nodes and intents




                                                                             CS/SE Individual Practical
                                                                                                          6 / 40
.50.50.png
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Attributes for an action




                                                                         CS/SE Individual Practical
                                                                                                      7 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Add permissions




                                                                         CS/SE Individual Practical
                                                                                                      8 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Add instrumentation




                                                                         CS/SE Individual Practical
                                                                                                      9 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Manifest files


                Source code view




                                                                         CS/SE Individual Practical
                                                                                                      10 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                    Manifest files


                    Source code tab




                                                                             CS/SE Individual Practical
                                                                                                          11 / 40
.51.48.2.png
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                Resources and strings




                                                                         CS/SE Individual Practical
                                                                                                      12 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                A String resource, app name




                                                                         CS/SE Individual Practical
                                                                                                      13 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                Managing string resources




                                                                         CS/SE Individual Practical
                                                                                                      14 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                Drawable resources




                                                                         CS/SE Individual Practical
                                                                                                      15 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                Managing drawable resources




                                                                         CS/SE Individual Practical
                                                                                                      16 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                Contents of app notes.png




                                                                         CS/SE Individual Practical
                                                                                                      17 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Resources and strings


                The icon in the launcher view




                                                                         CS/SE Individual Practical
                                                                                                      18 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Application nodes




                                                                              CS/SE Individual Practical
                                                                                                           19 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Browsing




                                                                              CS/SE Individual Practical
                                                                                                           20 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Editing strings




                                                                              CS/SE Individual Practical
                                                                                                           21 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Updating a string




                                                                              CS/SE Individual Practical
                                                                                                           22 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Text in the XML view




                                                                              CS/SE Individual Practical
                                                                                                           23 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Updating a string in the Resources view




                                                                              CS/SE Individual Practical
                                                                                                           24 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                The XML text is updated automatically




                                                                              CS/SE Individual Practical
                                                                                                           25 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Getting it wrong: editing the XML




                                                                              CS/SE Individual Practical
                                                                                                           26 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                The bug shows up in the resources view




                                                                              CS/SE Individual Practical
                                                                                                           27 / 40
Manifest files     Resources and strings        App attributes and resources             Android Eclipse issues
                App attributes and resources


                Oh dear




                                                                              CS/SE Individual Practical
                                                                                                           28 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Oh no, Java problems . . .




                                                                         CS/SE Individual Practical
                                                                                                      29 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                “Layout cannot be resolved . . . ”




                                                                         CS/SE Individual Practical
                                                                                                      30 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                R.java is generated so clean the project?




                                                                         CS/SE Individual Practical
                                                                                                      31 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                No good. Delete R.java and try again?




                                                                         CS/SE Individual Practical
                                                                                                      32 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                R.java is regenerated but errors remain




                                                                         CS/SE Individual Practical
                                                                                                      33 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Refresh the view?




                                                                         CS/SE Individual Practical
                                                                                                      34 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                No good. What now?




                                                                         CS/SE Individual Practical
                                                                                                      35 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Close the project and reopen it?




                                                                         CS/SE Individual Practical
                                                                                                      36 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Reopening the project. Praying . . .




                                                                         CS/SE Individual Practical
                                                                                                      37 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Didn’t work :-( but look at this . . .




                                                                         CS/SE Individual Practical
                                                                                                      38 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Moving the folder fixes the problem :-)




                                                                         CS/SE Individual Practical
                                                                                                      39 / 40
Manifest files     Resources and strings   App attributes and resources             Android Eclipse issues
                Android Eclipse issues


                Moving the folder fixes the problem :-)




                                                                         CS/SE Individual Practical
                                                                                                      40 / 40

More Related Content

More from Stephen Gilmore

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 PracticalStephen Gilmore
 
More Stochastic Simulation Examples
More Stochastic Simulation ExamplesMore Stochastic Simulation Examples
More Stochastic Simulation ExamplesStephen Gilmore
 
Testing Android apps with Robotium
Testing Android apps with RobotiumTesting Android apps with Robotium
Testing Android apps with RobotiumStephen Gilmore
 
Quick quiz on Objective-C
Quick quiz on Objective-CQuick quiz on Objective-C
Quick quiz on Objective-CStephen Gilmore
 
Getting started with Xcode
Getting started with XcodeGetting started with Xcode
Getting started with XcodeStephen Gilmore
 
Working with databases in Android
Working with databases in AndroidWorking with databases in Android
Working with databases in AndroidStephen Gilmore
 
Crash Course in Objective-C
Crash Course in Objective-CCrash Course in Objective-C
Crash Course in Objective-CStephen Gilmore
 
SELP: Debugging, AVDs and Manifests
SELP: Debugging, AVDs and ManifestsSELP: Debugging, AVDs and Manifests
SELP: Debugging, AVDs and ManifestsStephen Gilmore
 
The Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmThe Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmStephen Gilmore
 
Computer Science Large Practical coursework
Computer Science Large Practical courseworkComputer Science Large Practical coursework
Computer Science Large Practical courseworkStephen Gilmore
 
Software Engineering Large Practical coursework
Software Engineering Large Practical courseworkSoftware Engineering Large Practical coursework
Software Engineering Large Practical courseworkStephen Gilmore
 
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 SELPStephen Gilmore
 
Fixing errors in Android Java applications
Fixing errors in Android Java applicationsFixing errors in Android Java applications
Fixing errors in Android Java applicationsStephen Gilmore
 
Creating and working with databases in Android
Creating and working with databases in AndroidCreating and working with databases in Android
Creating and working with databases in AndroidStephen Gilmore
 
Beginning Android development
Beginning Android developmentBeginning Android development
Beginning Android developmentStephen Gilmore
 
CS/SE Individual practical - DDMS and AVD
CS/SE Individual practical - DDMS and AVDCS/SE Individual practical - DDMS and AVD
CS/SE Individual practical - DDMS and AVDStephen Gilmore
 

More from Stephen Gilmore (16)

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
 
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
 
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
 
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
 
Creating and working with databases in Android
Creating and working with databases in AndroidCreating and working with databases in Android
Creating and working with databases in Android
 
Beginning Android development
Beginning Android developmentBeginning Android development
Beginning Android development
 
CS/SE Individual practical - DDMS and AVD
CS/SE Individual practical - DDMS and AVDCS/SE Individual practical - DDMS and AVD
CS/SE Individual practical - DDMS and AVD
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 

Continuing Android development

  • 1. Manifest files Resources and strings App attributes and resources Android Eclipse issues CS/SE Individual Practical Stephen Gilmore October 21, 2011 School of Informatics, University of Edinburgh CS/SE Individual Practical 1 / 40
  • 2. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Manifest files CS/SE Individual Practical 2 / 40
  • 3. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files The manifest editor CS/SE Individual Practical 3 / 40
  • 4. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Adding extras CS/SE Individual Practical 4 / 40 .50.09.png
  • 5. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Labels and icons CS/SE Individual Practical 5 / 40
  • 6. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Application nodes and intents CS/SE Individual Practical 6 / 40 .50.50.png
  • 7. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Attributes for an action CS/SE Individual Practical 7 / 40
  • 8. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Add permissions CS/SE Individual Practical 8 / 40
  • 9. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Add instrumentation CS/SE Individual Practical 9 / 40
  • 10. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Source code view CS/SE Individual Practical 10 / 40
  • 11. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Source code tab CS/SE Individual Practical 11 / 40 .51.48.2.png
  • 12. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings Resources and strings CS/SE Individual Practical 12 / 40
  • 13. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings A String resource, app name CS/SE Individual Practical 13 / 40
  • 14. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings Managing string resources CS/SE Individual Practical 14 / 40
  • 15. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings Drawable resources CS/SE Individual Practical 15 / 40
  • 16. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings Managing drawable resources CS/SE Individual Practical 16 / 40
  • 17. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings Contents of app notes.png CS/SE Individual Practical 17 / 40
  • 18. Manifest files Resources and strings App attributes and resources Android Eclipse issues Resources and strings The icon in the launcher view CS/SE Individual Practical 18 / 40
  • 19. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Application nodes CS/SE Individual Practical 19 / 40
  • 20. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Browsing CS/SE Individual Practical 20 / 40
  • 21. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Editing strings CS/SE Individual Practical 21 / 40
  • 22. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Updating a string CS/SE Individual Practical 22 / 40
  • 23. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Text in the XML view CS/SE Individual Practical 23 / 40
  • 24. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Updating a string in the Resources view CS/SE Individual Practical 24 / 40
  • 25. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources The XML text is updated automatically CS/SE Individual Practical 25 / 40
  • 26. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Getting it wrong: editing the XML CS/SE Individual Practical 26 / 40
  • 27. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources The bug shows up in the resources view CS/SE Individual Practical 27 / 40
  • 28. Manifest files Resources and strings App attributes and resources Android Eclipse issues App attributes and resources Oh dear CS/SE Individual Practical 28 / 40
  • 29. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Oh no, Java problems . . . CS/SE Individual Practical 29 / 40
  • 30. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues “Layout cannot be resolved . . . ” CS/SE Individual Practical 30 / 40
  • 31. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues R.java is generated so clean the project? CS/SE Individual Practical 31 / 40
  • 32. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues No good. Delete R.java and try again? CS/SE Individual Practical 32 / 40
  • 33. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues R.java is regenerated but errors remain CS/SE Individual Practical 33 / 40
  • 34. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Refresh the view? CS/SE Individual Practical 34 / 40
  • 35. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues No good. What now? CS/SE Individual Practical 35 / 40
  • 36. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Close the project and reopen it? CS/SE Individual Practical 36 / 40
  • 37. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Reopening the project. Praying . . . CS/SE Individual Practical 37 / 40
  • 38. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Didn’t work :-( but look at this . . . CS/SE Individual Practical 38 / 40
  • 39. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Moving the folder fixes the problem :-) CS/SE Individual Practical 39 / 40
  • 40. Manifest files Resources and strings App attributes and resources Android Eclipse issues Android Eclipse issues Moving the folder fixes the problem :-) CS/SE Individual Practical 40 / 40