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

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 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