Institute of Computer Science
  1. Courses
  2. 2018/19 fall
  3. Mobile Application Development (MTAT.03.262)
ET
Log in

Mobile Application Development 2018/19 fall

  • Main
  • Lectures
  • Homeworks & Home Assignments
  • Projects
  • Links
  • Task submission

Homework 2

User Profile Creator

The application will have 2 activities: MainActivity and DetailsActivity.

  • On MainActivity, the values of the User Profile are shown. (1 pts)
    • Person's name
    • Person's job position
    • A Picture of the person (ImageView)

MainActivity also includes 2 buttons:

  • Take Picture - Clicking this will start a Camera app to take a picture (1 pts)
    • Use Intents
    • You can use the simpler version of image capture that only returns the thumbnail, not a full size image! See here
  • Enter Details - Clicking this will open the DetailsActivity (1 pts)
  • In DetailsActivity, the user can enter the above-mentioned text details. (1 pts)
    • For name, use EditText
    • For position, use a Spinner!
  • Once all necessary information is present, when the user presses the Save button in DetailsActivity, the user is returned to MainActivity.
  • When the user returns to MainActivity after taking a picture / entering details, MainActivity updates the View objects using onActivityResult() (1 pts)
    • Remember your flow between MainActivity to Camera / DetailsActivity should be with StartActivityForResult().
  • 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