Institute of Computer Science
  1. Courses
  2. 2019/20 fall
  3. Mobile Computing and Internet of Things (LTAT.06.009)
ET
Log in

Mobile Computing and Internet of Things 2019/20 fall

  • Main
  • Lectures
  • Labs
  • Homeworks & Home Assignments
  • Projects
    • Teams & Topics
    • Presentations & Report
    • Grading & Submission
  • Google Group
  • Task submission
  • Results
  • Other

Home Assignment 1

  • Make sure your application takes care of lifecycle changes & user state
    • search results must not be lost e.g. when switching phone orientation
    • Empty inputs, missing permissions should not make the app crash!
    • if you fail to meet this requirement you will receive a penalty of -3 pts
  • Have an activity with design such as in figure A, presenting a list of the phones contacts (using content provider, CursorAdapter) ( 6 pts)
    • Content Providers with an example of getting contacts were discussed in lecture 4
  • Selecting one contact opens up their details in a new activity and provides means for sending e-mails, including EditTexts to capture a title and body for the e-mail ( 3 pts)
    • Details: Full name, phone no., email
  • Pressing the send e-mail button will forward an intent to send an e-mail, passing along relevant information (the recipient's e-mail, e-mail title, body) ( 3 pts)
    • After hitting "send" in the e-mail app, the user is returned to the contact list, and a message next to the chosen contact appears indicating that an e-mail was composed for them (up to you how to display the message exactly).
  • The app should also have an action bar with working search functionality (search contact by name). ( 3 pts)
    • Use SearchView
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment