Mobile Application Development UOG — University of Gujrat 2024
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…
0 replies Reply → -
Civics course code GCCE101
1 reply Reply → -
BS 4the semester2025 civics and community engagement past paper According UOs
0 replies Reply → -
Bs public administration 1st semester mid term past papers
0 replies Reply → -
BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,
0 replies Reply →
Paper text
UNIVERSITY OF GUJRAT
Final Exam (Semester System) – Spring 2024
Subjective Part
Course Code: IT-407
Course Name: Mobile Application Development
Total Marks: 25
Time Allowed (mins): 90
Q1. Describe at least two ways of registering a click listener to handle single and multiple Button's click or touch events. (5
Q2. Discuss the activity lifecycle in relation to its visible and non-visible active states. Also, describe how to override lifecycle / activity callback methods to manage temporary activity state preservation and restoration, accompanied by a simple code example. (5
Q3. Describe the Inter-Process Communication (IPC) mechanism by considering the followings: explain how the operating system resolves implicit IPC requests and identify the specific components of an Android application involved in this process. Additionally, demonstrate with concise code examples how to handle both implicit and explicit IPC calls between different components. (5
Q4. Develop an Activity and its graphical user interface (GUI) programmatically, without utilizing the LayoutInflater class. The activity should include a TextView displaying the caption "My APP", two EditText objects named txtSize and txtColor with hints "Enter Text Size" and "Enter Text Color" respectively, and a Button named btnChange. Upon clicking the button, the font size and color of the text displayed in the TextView should adjust based on user input within some predefined ranges (text size between 10 and 25, and color options limited to red, green, blue, etc.). Implement input validation to ensure adherence to these constraints. (10