MAP524/DPS924 - 2014

From CDOT Wiki
Revision as of 11:04, 23 September 2013 by Natalia Levkevitch (talk | contribs) (Assignment 1 Q&A)
Jump to: navigation, search

Learning goes on after leaving classrooms and computer labs.Let us use this wiki to do collaborative learning and share our excitement and headaches in developing Android applications. Feel free to create new and interesting topics on this wiki page.

Android Discovery Zone

Debugging and Testing Android Code

Resources for Learning Android App Development

Labs Q&A Fall 2013

  • Has anyone run into a problem where the emulator refuses to rotate (at all, never mind the layout of the running app)? I tried Ctrl+f11/f12, f11/f12, but none of them work. And I don't have a number pad on my laptop to try 7/9. --Andrew
    • I pressed the HOME key (number pad) on my laptop and the emulator's orientation changed from portrait to landscape. (Peter)
      • Figured it out - it was already used by the xfce window manager to switch to desktop 11/12, just cleared that binding and now it works as it should with the emulator. --Andrew
  • If my app has an activity (activity1) that starts another activity (activity2), what's the relationship between these two? Is it possible that Android will kill activity1 since activity2 is te current activity? What if activity2 is not full screen, does that make a difference? -- Andrew
  • How to capture emulator screenshots in Eclipse? [1] [2]
  • How to export logging data from LogCat to a text file? [3] [4]

Assignment 1 Q&A

  1. Is the relationship between schedule and student/teacher 1:1? (ie: to delete a schedule you can just delete the account that schedule is attached to) -- Dennis
The assignment specifies we include "validfrom" and "validto" dates. This implies that we could have several schedules for each student/teacher. eg. one for summer, another for fall, etc. However, this being our first assignment I think it would be reasonable to have exactly one timetable per student/teacher. We would then use the "validfrom" and "validto" dates to tell us when the schedule has become outdated.... John

2.I did not understand the previous question, therefore the answer was not very useful for me. Can you explain why we would consider specified above relationship schedule and student/teacher? Isn't the schedule is created dynamically by fetching the data form the tables in data base? -- Natalia

Assignment 2 Q&A

Project Proposals for A2