What are the contents of the passive data structure

Assignment Help JAVA Programming
Reference no: EM132307273

Mobile Applications Assignment - Application with multiple activities

This assignment will test your Android development skills.

Android Development - This assignment requires you to develop a simple Android application that uses multiple activities, which are related using Intents. To write the application you will need to use the Android Studio (IDE) 3.2 or latest version.

Your application must perform all tasks listed in this document and can run on any Android device with a minimum API version of 21 (Lollipop 5.0) up to the latest version of Android.

Your application should be created to display correctly on an emulated Nexus 5X (1080 X 1920 pixels in portrait orientation) - however, by using sizes specified in "density independent pixels" (dp) the application should also be able to display correctly on any Android device with any sized screen and resolution.

Tasks -

Task 1 - Create an app. that will offer two features:

(i) Convert weight from kilograms to pounds and vice versa.

(ii) Covert distance measurements provided as kilometers into miles and vice versa.

The main screen (activity) of the app. must provide a method to select one of the two conversions offered. You can use two buttons or two images to offer the selection.

The app. must,

- Have a total of three different activities.

- Properly support orientation changes. Specifically, it should not lose values/state information.

Write a page report (not more than one page) on the following two questions:

1. How different activities are connected?

2. How orientation change is managed?

You may provide code snippets to answer the above questions.

All code snippets must be commented.

Task 2 - The Android developer documentation describes an Intent as follows:

"Activities in Android are activated through messages called intents. Intent messaging is a facility for late run-time binding between components in the same or different applications. The intent itself, an Intent object, is a passive data structure holding an abstract description of an operation to be performed."

Briefly answer the following questions within the context of the above information: (a) Why is the intent messaging facility considered as a late run-time binding between components?

(b) What are the contents of the passive data structure (of an intent)?

(c) Why is the word "passive" used for the intent data structure? (Hint: What is the responsibility of an Intent object? Do they have any inherent intelligence built into them?)

(d) Use an example to better explain the sentence "abstract description of an operation to be performed".

Reference no: EM132307273

Questions Cloud

Create slides that reinforce and illustrate your main ideas : Develop a PowerPoint presentation (12-18 slides in length). It should include a title slide, an agenda slide, body content slides, a closing slide.
Create an authentic-looking batman comic : Max plots a new Batman adventure and carefully and skillfully imitates the art of DC Comics to create an authentic-looking Batman comic.
Discuss the methodology of achieving the targets : Justify the benchmarking metrics defined for education and quantify the metrics. Discuss the methodology of achieving the targets
Why does rosling confidently predict that this will happen : Watch Hans Rosling's video about the rise of Asia: Asia's rise -- how and when | Hans Rosling. Do you believe that Asian countries such as China and India will.
What are the contents of the passive data structure : NIT6120 Mobile Applications - Application with multiple activities, Victoria University. What are the contents of the passive data structure (of an intent)
Identify the debate you will be engaging in : Please identify the debate you will be engaging in, and then post your proposed one-sentence thesis statement for this topic. Remember, this single sentence.
Murder prosecution and wrongful death lawsuit : What do you view as the single most important difference between a murder prosecution and a wrongful death lawsuit involving the same parties
What would you do to prepare for role : As a Communications specialist for your company, what would you do to prepare for this role?
Write a short aristotelian rhetorical analysis : Write a short (2-3 page double-spaced) Aristotelian rhetorical analysis of a political ad of your choice. Most likely, you will want to choose the ad you used.

Reviews

len2307273

5/16/2019 3:21:23 AM

This assignment will test your Android development skills and is worth 10% of your overall unit mark. This is an individual assignment. Do NOT share code with fellow students’. I mean it. I have to mark all these projects, and look at them closely. If I see two projects with identical code, all students involved get zero for the assignment. You may, and are in fact encouraged to, discuss the project with your fellow students. The goal being that you understand how to create good, high-quality Android applications – and that understanding then flows into the exams where you'll be asked questions on Android application development. Just don't share projects/code – code it yourself, learn from your mistakes, and become a great developer.

Write a Review

JAVA Programming Questions & Answers

  Create an application named numbers.

Create an application named Numbers. The Numbers class should have non-static public methods named sum and difference, each taking a pair of int variables as arguments. As you might expect, the sum method should add the two integers and return the..

  Write an interrupt service routine to output brand name

Evaluate the form of the output depended on the coefficients being input - Consider you would like to use PSoC to display a different brand name on the LCD once every 15 s.

  Create an object class for something of interest to you

Create an object class for something of interest to you. Use a constructor to populate class object and provide methods to retrieve each of the class attribute.

  Write program with jframe to enter series of names

Write a program with JFrame which permits user to enter series of friends' names and phone numbers and creates file from entered data.

  Statements to convert the string representation of a student

Write the statements to convert the String representation of a student's test score and class rank to the integer data type.

  Explain the concept of files and streams

Every seven-letter phone number corresponds to many different seven-letter words. Unforte. nately, most of these words represent unrecognizable juxtapositions of letters.

  What does the program segment print

What does the statement print - What does the following statement output - What does the program segment print

  Create an if statement that is unconditionally true

Write short Java statements to complete each of the following tasks: Test whether variable x is less than 5. If it is, print "x is less than 5".

  Describe a scenario where you use a class

Describe a scenario where you use a class to obtain user input in a Java program. Explain whether the Scanner class or the JOptionPane class

  Write a method for the purse class

Write a method for the Purse class public boolean sameContents(Purse other) that checks whether the other purse has the same coins in the same order.

  Write a java console application that process student marks

Write Java console application that processes student marks. The number of students (N) is fixed at 10, so it should be declared as final int N = 10 in program.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd