Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Continuing Android development

654 views

Published on

  • Be the first to comment

Continuing Android development

  1. 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. 2. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Manifest files CS/SE Individual Practical 2 / 40
  3. 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. 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. 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. 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. 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. 8. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Add permissions CS/SE Individual Practical 8 / 40
  9. 9. Manifest files Resources and strings App attributes and resources Android Eclipse issues Manifest files Add instrumentation CS/SE Individual Practical 9 / 40
  10. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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

×