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

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

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