Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question: Please read this instruction, and section 5 and 6 in particular, CAREFULLY as it affects all future programming assignments.

1. Setup Android Studio Development Environment

1.1 Download necessary packages using SDK Manager (Tools-Android-SDK Manager), making sure at least the following items are included (check "Show Package Details" to see detailed package items)

1.1a. SDK Platforms: Android 8.0 (Android SDK Platform 26, Google API Intel x86 Atom System Image)

1.1b. SDK Tools: Recommended to install all packages (with the latest version for each package)

1.1c Note that when you open projects from other sources (sample projects, projects from the textbook etc), you may be prompted to install additional dependent packages and tools.

1.2 Install Intel HAXM if your CPU supports it. (Note that if your machine is not based on HAXM supporting Intel CPU, you may not be able to run Emulator).

2. Create an Android Virtual Device (AVD name MBL402 recommended) with the following configuration, using AVD Manager (Tools-Android-AVD Manager)

(Note: this will serve as the virtual device all future programming projects should be tested on, unless explicitly specified otherwise)

- Device Profile: Phone/Nexus 5

- System Image Android Intel x86 with Google API - API Level 26

- Other default settings

3. (Optional) Test your development environment by importing some Android code sample (e.g. BorderlessButton) (you may need to install additional packages) or open some project downloaded from the textbook. Make sure you can run/debug the project on the AVD created. Experiment with this play project and see if it behaves as expected on the AVD.

4. Develop your first Android App.

4.0 Start a new Android Studio project by adding an blank activity template (which should display a "hello world" message on the screen), with the following settings (note that naming convention and settings MUST be applied to all future assignments). This is to ensure your submitted package name is unique.

Assignment: Week1App

Android Studio Project Settings:

- Application Name: Week1App

for example, Week1AppCL3456

- Company Domain: mbl402.phoenix.edu

- Automated populated Package Name: edu.phoenix.mbl402.

- Leave "Include C++ Support" option unchecked.

- Project Location: Choose a local directory to hold project files.

- Target Android Device: Phone and Tablet/Minimum SDK = API 17 (default)

- Activity Template: Empty Activity

- Accept default names for Activity (MainActivity) and Layout (activity_main). Accept backward compatibility support (AppCompat)

After the auto gradle build is complete, click Run-RunApp and make sure the "Hello World" message appears on the Emulator's screen.

4.1 Now modify the project to meet the following requirements:

a. Change the display text to: "Hello Android, my name is ." (1.5 pts)

b. Change the text color to green. (1.5 pts)

c. Implement an "add message" menu item. When selected, some new message will be shown below the exiting texts on the screen. (2 pts)

5. Assignment Submission Instructions (apply to all future programming assignments, including the team project)

Once you have developed and tested the application on the AVD, gather the following THREE (3) items for review/grading.

5.1 Project Report File:

5.1a File Name/format: Report.doc/Microsoft Word

5.1b File Content: includes the following sections (please refer to AppReportSample file for detail):

- At a glance summary on the implementation status of each requested feature and honest self-assessment of points to be earned.

- For each feature, include all relevant app screenshots with narratives to prove the app works as expected. One should be able to look at this report to determine how well you implemented the requested feature (and the points/grade earned).

- Reference and credits to source that was used for the app.

5.2 app-debug.apk file (typically generated under the app-build-outputs-apk directory of the project workspace, if build is successfully). The apk must be installable and runnable to be considered for credit for the whole project.

Additional note about the .apk file:

To verify you can install and run the apk file onto the emulator, do the following:

- Run the emulator (if not already running)

- Un-install the app from the emulator (if it's installed during development and/or testing)

- Drag and drop the apk file onto the emulator's window. Alternatively, in command prompt, go to /platform-tools, run "adb install " (you may want to set the PATH env variable so that you can run adb command from any location).

- If successful, you should be able to locate the newly installed app on the emulator and start it.

- if you can run the app in Android Studio but the app would crash when installed from apk file, try build the apk file via build->build apk menu and try again.

5.3 src.zip: Clean (Build->Clean) the project. Make a copy of the project's directory (see ProjectSourceTreeStructure material). Delete the following two directories from the copy: -build and -app-build. Then zip the project's directory into a src.zip file. This is to ensure your src.zip file has minimum size (usually it should be less than 1MBs). Make sure that when the src.zip is unzipped, you should be able to open it in Android Studio.

Zip the above THREE (3) files into a single .zip file for submission. All 3 files must be included to earn any credit. Also you must have an installable and working .apk file included to earn any points. In another word, you will receive 0 point if your app doesn't build. But you will receive partial credit for successfully implementing some of the requested features. So plan your time accordingly.

6. Assignment Submission Check:

6.0 Make sure your apk file comes from the source and the project test reports comes from the apk file. If these items are found to mis-match, incidents of "academic dishonesty" may be reported to the University.

6.1 Make sure you include all three files.

6.2 Make sure you can manually install and run the apk on the specified AVD.

6.3 Make sure src.zip file is no more than 1MB. If your source zip is over-size due to large image files, please use smaller ones. Large files make it very difficult, if not impossible, for me to download your assignments in a batch fashion.

6.4 Make sure you have submitted the correct files. Download your own submisson and veridy if neccessary. No excuse whatsoever will be accepted for wrong submissions.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93137319

Have any Question?


Related Questions in Computer Engineering

Shading and illuminating algorithmsa explain in your own

Shading and illuminating algorithms. a) Explain, in your own words, how the Phong illumination model works and what its strong and weak features are. b) Compare flat and Gouraud shading algorithms.

Test 1 - open loop level step response test1objective to

Test 1 - Open Loop Level Step Response Test 1)Objective: To get familiar with the process vessel and to measure the time constant. Procedure 1 1) Start the CE2000 software and load ?le ‘exp4-1.ict'. You will see the soft ...

What would be examples of valid selection methods used by

What would be examples of valid selection methods used by the human resource department to ensure selecting the appropriate candidate for a job.

Consider a valleyed array a1 2 middot middot middot n with

Consider a valleyed array A[1, 2, · · · , n] with the property that the subarray A[1..i] has the property that A[j] > A[j + 1] for 1 ≤ j (a) What is a recursive algorithm that takes asymptotically sub-linear time to find ...

On the spot courier services grew and changed over the

On the Spot courier services grew and changed over the years. At first, Bill received requests for package pickups on his mobile phone, recorded that information in a log, and would then drive around to retrieve all the ...

Suppose you have a singly-linked list of node objects with

Suppose you have a singly-linked list of Node objects with double data elements. The Node class is provided below. class Node { double data; Node next; } Consider that head is the reference variable that holds the starti ...

Two manufacturing firms are located on the banks of the

Two manufacturing firms are located on the banks of the Crimea River. Riditna Paper withdraws river water for use in its paper mill, and returns it, along with waste effluent, back into the river. (Effluent is a co-produ ...

You really need help with this assignment please provide

You really need help with this assignment. Please provide step by step instructions and screenshot of the steps and execution, so I can follow how to complete this assignment. Prof. Orlando Karam maintains an Ubuntu Linu ...

We have bottles of milk that have a mean of 20 oz and

We have bottles of milk that have a mean of 20 oz and standard deviation of 0.02. What is the probability that a bottle would have a mean of more than 20.3 oz?

Question suppose you want to store the following

Question : Suppose you want to store the following information: Student_id Course Mark 111 Maths 78 111 Physics 90 222 Biology 89 333 Physics 60 333 Chemistry 75 1.a Is this table in first normal form? Why or Why Not? 1. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As