Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Read Introduction to Android at: https://developer.android.com/guide/index.html.

ID: 3834713 • Letter: R

Question

Read Introduction to Android at: https://developer.android.com/guide/index.html. Answer the following questions:

a. Android’s user interface components allow developers to code custom responses to UI events by writing event handlers. Name 2 other examples of languages or development platforms that use event-driven UI development.

b. Android Apps are built using four essential blocks: Activities, Services, Broadcast receivers and Broadcast senders. Briefly describe each one of them.

c. Android’s security layer is based on the principle of least privilege. Each application has to request access to components in the manifest file. List and describe five different permissions that can be requested in the manifest.

Explanation / Answer

Visual basic and visual c++ can be said as a example for UI even driven programming language

Activity is a pre defined class where they are used to inherit the UI.an activity is responsible for the action that are running on the mobile application .

Broadcast receiver is where notification are sent to all the process whats going on the system. this will trigger event after the process or when a event occurs .

Broadcast sender is used to send signal to the activity manager that a event is going to happen and broadcast sender hold the intent of the signal which can be sent through a method called send broadcast.

Services are which run in the background and do not have a ui components support the operation activities of operation system

C android.permission.camera this is to access the camera for the application

Android.permission.internet this is used to access the internet for the application

Android.permission.readcontacts this is used to read contacts from the device.

Android.hardware.bluetooth this is used to access bluetooth

Android.permission.location this used to access the current location.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote