Application with multiple activities

Assignment Help Web Project
Reference no: EM132303275

Assignment -Application with multiple activities

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".

Attachment:- Application with multiple activities.rar

Reference no: EM132303275

Questions Cloud

Installation and Configure Enterprise Network Servers : MN506 System Management Assignment - Design, Installation and Configure Enterprise Network Servers, Melbourne Institute of Technology, Australia
Is there a way to control the growth of population : What economic, security, political, and other challenges do these emissions pose to the people of the developing world, and who are the biggest offenders?
How do perceptions affect individual behavior : SOC3600: How can "framing" and "confirmative bias" shape [mis]perceptions? How do perceptions affect individual behavior?
Writing response on nonprofit v criminal justice : Criminal justice organizations and nonprofit organizations have a lot of factors and/or characteristics that are similar as well as different.
Application with multiple activities : Create an app that will offer features Convert weight from kilogram to pounds and vice versa and Covert distance measurements provided as kilometer to pounds
Write response of given problem related to supervisor : A first line supervisor needs to receive proper training not only for their individual self but also for the personnel they will be supervising.
How you found the relevant articles for your paper : Why you chose this topic, how you found the relevant articles for your paper, and how are you organizing your paper.
What are the techniques for recruitment methods : Assume you hold the Special Agent in Charge role of the Joint Terrorism Task Force, Minneapolis field office. Your squad is responsible for identifying.
An explanation of how your theory conceptualizes : Write a 8- to 10-page theory paper that articulates your theoretical orientation toward working with couples and families.

Reviews

Write a Review

Web Project Questions & Answers

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

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