Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1MOBILE APPLICATION DEVELOPMENT COMP304-001ASSIGNMENT 318-Feb-2019Purpose:The purpose of this lab assignment is to:Develop Android Apps that contain Graphics and Animations.Practice the use of tweened animationsPractice the

1MOBILE APPLICATION DEVELOPMENT COMP304-001ASSIGNMENT 318-Feb-2019Purpose:The purpose of this lab assignment is to:Develop Android Apps that contain Graphics and Animations.Practice the use of tweened animationsPractice the use of frame-by-frame animationsRules:Be sure to read the following general instructions carefully:This assignment must be completed individually by all the students.You will have to demonstrate yoursolution in a scheduled lab session and upload the solution on e-Centennial through the assignment link (Drop box).Android Application Namingrules:You must name your Android Studio application according to the following rule:YourName_COMP304_AssignmentNumber. Example: johnsmith_COMP304_Assignment31.Tasksand description:
1.1Task 1:The main activity of this application uses a ListView/ Spinnercontrol to allow users to select a task for demonstration as shown in picture below.Create an activity that allows the user to draw continuous horizontal or vertical lines, starting from a given position, using up, down, left, and right keys of Android keypad as well as image buttons in UI, as shown in the picture below. Use a Canvas object to implement the drawings.Allow the user to choose colors and the thickness of lines. Allow the user to clear the drawings and restart. Use code from CanvasPaint example from Lecture5 Examples.The image buttons for arrow keys are provided on e-Centennial.The x and y co-ordinates (values) will be changingwhen you draw the lines.(At least threecolors and five line thickness)
21.2Task 2:In this task, you will create a tweened animation similar to TweenActivity from Lecture 6Examples (ShapeShifter). Create an application to simulate an earth view. Display a png image of the sun and the earth image slightly above the sun image. Apply three necessary transformations (rotate, scale, translate) to make the earth revolve nicely around the sun.Define tweening transformations as XML resource files. Allow the user to start and stop the animation.
1.3Task 3:In this task, you will develop a frame-by-frame animation. Create a series of pictures (8-10 pictures) that differ slightly from each other. Your animation should be original, relate to things that you like or express an idea of yours. Allow the user to start and stop the animation. You may use code from FramedAnimation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Kmap fo 3 and fi Kmap fo 3 and fi

Answered: 1 week ago