0% found this document useful (0 votes)
36 views

MC Unit 4 Notes

Ete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

MC Unit 4 Notes

Ete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1 CTH EDUCATION

Unit – 04:
 Menus-Option,
 Context,
 Popup,
 Images-Image View,
 Image Switcher.
 Alert Dialog,
 Alarm manager.
 SMS,
 E-mail,
 Media Player,
 Handling Telephony Manager.

Questions to be discussed:
1. What is menus option? Explain in brief.
2. Explain in details about image view and image switcher.
3. What is E-mail? Explain in details with examples.
4. Discuss about alarm manager.
5. Write short notes on:
a. Pop-up
b. Alert dialog
c. Context
d. SMS
e. Media player

Diploma : CSE (All Paper) By : Alok Sir (Mob. No.: +91-80 84 370 470)
2 CTH EDUCATION
Menus Option:
 Menus are a common user interface component in applications.
 It should use to present user actions and other options in your activities.
 The options menu is the primary collection of menu items for an activity.
 When and how this item should appear as an action is decided by the Show Action attribute.
 They can be used for open, share, settings, searching, deleting items, etc.

Context:
 Context represents any information.
 It can be used to characterize the situation of an entity.
 An entity is a person, place or object that is considered as interaction between user and an application.
 Context can take many forms, including background information or details about the circumstances, or
timeframe in which a work takes place.
 Example: A devices that change their screens and backlighting according to the amount of light in the
room where they are being used.

Pop-up:
 A pop-up is a GUI that suddenly appears in the foreground of the visual interface.
 Pop-ups are web browser windows or dialogue boxes that open without any user action.
 There are two main categories of pop-up:
1. Computer dialogue boxes
2. Advises window

Computer dialogue boxes:


 It appear as a pop-up window on your desktop or mobile device.
 It is used to communicate relevant information from a computer or application to you.
 Sometimes this pop-up appears when it's necessary for you to enter a password.
 Example: when you make a purchase on your smartphone and need to enter your password to authorize
the purchase.

Diploma : CSE (All Paper) By : Alok Sir (Mob. No.: +91-80 84 370 470)
3 CTH EDUCATION
Alert window:
 This pop-up often appears on the window that alert you that a step you're trying to perform isn't
allowed and requires a different keystroke or command.
 These types of pop-ups on computers and device facilitate a method of alerting you that some action is
necessary.

Image View:
 Image view is used to display any kind of image file in the application.
 It is also used to control the size and movement of an image.
 Image View comes with different configuration options to support different scale types.
 Scale type options are used for scaling the bounds of an image to the bounds of the image view.
 Some of them scale types configuration properties are center, center_crop, fit_xy, fitStart etc.

Image Switcher:
 In certain cases, you may not want an image to appear abruptly on screen.
 You would prefer that its transition from one image to another with some kind of animation.
 Android supports this in the form of Image Switcher.
 An image switcher allows you to add some transitions to the images through the way they appear on
the screen.

Alert Dialog:
 A dialog is a small window that prompts the user to make a decision or enter additional information.
 Alert Dialog can be used to display the dialog message with OK and Cancel buttons.
 It displays the message to warn you and then according to your response, the next step is processed.
 It can be used to interrupt and ask the user about his/her choice to continue or discontinue.
 Android Alert Dialog is built with the use of three fields: Title, Message area, and Action Button.

Diploma : CSE (All Paper) By : Alok Sir (Mob. No.: +91-80 84 370 470)
4 CTH EDUCATION

What is an alarm manager?


 Alarm Manager allows you to access system alarm.
 By the help of Alarm Manager, you can schedule your application to run at a specific time in the future.
 It works whether your phone is running or not.
 Alarm Manager is a bridge between application and Android system alarm service.
 Example, you could use an alarm to initiate a long-running operation, such as starting a service once a
day to download a weather forecast.

What is SMS?
 SMS stands for Short Message Service.
 SMS is a form of text message that's sent from one device to another.
 It is a service for sending short messages of up to 160 characters to mobile devices, including cellular
phones and smart phones.
 That very first text, sent on the 3rd December 1992, simply said, “Merry Christmas.”
 Engineer Neil Papworth sent the world's first SMS to the Vodafone director Richard Jarvis.

Diploma : CSE (All Paper) By : Alok Sir (Mob. No.: +91-80 84 370 470)
5 CTH EDUCATION
What is an E-mail?
 E-mail stands for Electronic Mail.
 It is a method to sends messages from one computer to another computer through the internet.
 E-mail is a communication system that sends and receives message by using specific e-mail address.
 E-mail address consists of two parts: first part @ second part.
 In first part user can give any name according to choice.
 Second part is the domain name that indicate mail server on which you are going to create the e-mail id.
 Email services started in 1971 by Ray Tomlinson.
Example:
[email protected]
[email protected]
[email protected]
[email protected]

Media player:
 Media player is an application software.
 It is used for playing multimedia files like audio and video.
 For example, many media players today are capable of playing audio files such as playing an MP3 song
file and video files such as a short video clip or movie.
 Examples of media players: iTunes, Media Monkey, VLC, Windows Media Player etc.

Telephony Manager:
 Telephony manager provides us the functionalities of the mobile.
 It gives us information about functionalities like calls, SMS, MMS, IMEI number, and so on.
 It also provides information about the telephony services such as subscriber id, sim serial number, phone
network type etc.
 Applications can use the methods in this class to determine telephony services and states, as well as to
access some types of subscriber information.
 Applications can also register a listener to receive notification of telephony state changes.

Diploma : CSE (All Paper) By : Alok Sir (Mob. No.: +91-80 84 370 470)

You might also like