SlideShare a Scribd company logo
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

PDF
Cross Platform Game Development with GDAP, December 2012
PDF
Java j2ee interview_questions
PDF
Feedback on Part 1 of the Individual Practical
PDF
Arrays in Objective-C
PDF
Beginning Android Development
PDF
Common Java problems when developing with Android
PDF
Project management for the individual practical
PDF
Feedback on Part 1 of the CSLP
Cross Platform Game Development with GDAP, December 2012
Java j2ee interview_questions
Feedback on Part 1 of the Individual Practical
Arrays in Objective-C
Beginning Android Development
Common Java problems when developing with Android
Project management for the individual practical
Feedback on Part 1 of the CSLP

Similar to Continuing Android development (20)

PPTX
Android Studio development model and.pptx
KEY
Android momobxl
PDF
Android Development
PPT
Synapseindia android apps introduction hello world
PPTX
03 android application structure
PPT
Android application structure
PDF
Android Jump Start
PPT
Industrial Training in Android Application
PPT
Android application development for TresmaxAsia
PPSX
My First Android App
PDF
Android application development
PDF
Android stepbystep
PPTX
Android webinar class_1
PPT
Part 2 android application development 101
DOCX
Android Resources.docx
PDF
Android stepbystep
PPTX
Introduction to Android Development
PPT
Unit 2 in environment science and technology
PPTX
Android development session
PDF
Android Bootcamp
Android Studio development model and.pptx
Android momobxl
Android Development
Synapseindia android apps introduction hello world
03 android application structure
Android application structure
Android Jump Start
Industrial Training in Android Application
Android application development for TresmaxAsia
My First Android App
Android application development
Android stepbystep
Android webinar class_1
Part 2 android application development 101
Android Resources.docx
Android stepbystep
Introduction to Android Development
Unit 2 in environment science and technology
Android development session
Android Bootcamp
Ad

More from Stephen Gilmore (16)

PDF
Feedback on Part 1 of the Software Engineering Large Practical
PDF
More Stochastic Simulation Examples
PDF
Testing Android apps with Robotium
PDF
Quick quiz on Objective-C
PDF
Getting started with Xcode
PDF
Working with databases in Android
PDF
Crash Course in Objective-C
PDF
SELP: Debugging, AVDs and Manifests
PDF
The Stochastic Simulation Algorithm
PDF
Computer Science Large Practical coursework
PDF
Software Engineering Large Practical coursework
PDF
Introduction to the CSLP and the SELP
PDF
Fixing errors in Android Java applications
PDF
Creating and working with databases in Android
PDF
Beginning Android development
PDF
CS/SE Individual practical - DDMS and AVD
Feedback on Part 1 of the Software Engineering Large Practical
More Stochastic Simulation Examples
Testing Android apps with Robotium
Quick quiz on Objective-C
Getting started with Xcode
Working with databases in Android
Crash Course in Objective-C
SELP: Debugging, AVDs and Manifests
The Stochastic Simulation Algorithm
Computer Science Large Practical coursework
Software Engineering Large Practical coursework
Introduction to the CSLP and the SELP
Fixing errors in Android Java applications
Creating and working with databases in Android
Beginning Android development
CS/SE Individual practical - DDMS and AVD
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PPTX
Cell Types and Its function , kingdom of life
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharma ospi slides which help in ospi learning
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Institutional Correction lecture only . . .
PPTX
master seminar digital applications in india
PPTX
Presentation on HIE in infants and its manifestations
PDF
Computing-Curriculum for Schools in Ghana
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Cell Structure & Organelles in detailed.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers
Cell Types and Its function , kingdom of life
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
O5-L3 Freight Transport Ops (International) V1.pdf
Supply Chain Operations Speaking Notes -ICLT Program
A systematic review of self-coping strategies used by university students to ...
Microbial disease of the cardiovascular and lymphatic systems
Pharma ospi slides which help in ospi learning
202450812 BayCHI UCSC-SV 20250812 v17.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Institutional Correction lecture only . . .
master seminar digital applications in india
Presentation on HIE in infants and its manifestations
Computing-Curriculum for Schools in Ghana
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Cell Structure & Organelles in detailed.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Chinmaya Tiranga quiz Grand Finale.pdf
GDM (1) (1).pptx small presentation for students
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

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