Difference between revisions of "Mobile App Dev 2021W: Assignment 4"

From Soma-notes
Jump to navigation Jump to search
(Created page with "'''This assignment is still being developed.''' In this assignment you will be further analyzing and adding features to [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/c...")
 
Line 6: Line 6:


<ol>
<ol>
<li>[2] Add a title screen with a continue button.  The title should be "Picture Viewer Demo".</li>
<li>[4] Add a title screen with a continue button.  The title should be "Picture Viewer Demo".  When the title screen's continue button is pressed the main activity should be shown.</li>
<li>[2] Remove the title bar from the screens.  Make sure your solution works for both light and dark modes.</li>
<li>[2] Remove the title bar from the screens.  Make sure your solution works for both light and dark modes.</li>
<li>[4] Add the name of the picture as a title above the image, centered.  It should be in a Body3 bold font.  You'll need to assign each picture a name.</li>
<li>[4] Add the name of the picture as a title above the image, centered.  It should be in a Body3 bold font.  You'll need to assign each picture a name.</li>
<li>[4] When you click on the image title, have it open up a DuckDuckGo image search for that title in the system web browser.  We can do this with a specially crafted URL.  For example, if the image title is kittens, we can initiate the search by visiting the page https://duckduckgo.com/?q=kittens&iax=images&ia=images 
<li>[4] Add a touch event handler that allows the picture to be dragged to different positions on the screen.  As the image is moved the X and Y fields should be updated.</li>
<li>[4] Add a touch event handler that allows the picture to be dragged to different positions on the screen.  As the image is moved the X and Y fields should be updated.</li>
<li></li>
<li></li>
</ol>
</ol>

Revision as of 22:20, 1 April 2021

This assignment is still being developed.

In this assignment you will be further analyzing and adding features to PicViewer2.zip from Tutorial 8.

Tasks/Questions

  1. [4] Add a title screen with a continue button. The title should be "Picture Viewer Demo". When the title screen's continue button is pressed the main activity should be shown.
  2. [2] Remove the title bar from the screens. Make sure your solution works for both light and dark modes.
  3. [4] Add the name of the picture as a title above the image, centered. It should be in a Body3 bold font. You'll need to assign each picture a name.
  4. [4] When you click on the image title, have it open up a DuckDuckGo image search for that title in the system web browser. We can do this with a specially crafted URL. For example, if the image title is kittens, we can initiate the search by visiting the page https://duckduckgo.com/?q=kittens&iax=images&ia=images
  5. [4] Add a touch event handler that allows the picture to be dragged to different positions on the screen. As the image is moved the X and Y fields should be updated.