Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
MobileAppDev Handout#9
1. Mobile Application Development
T. S. Indi, IT Department, WIT Solapur Page 1
Handout#9
Problem Statement:
(A) Design and implement an application using “Shared Preferences”
concept to change theme of your application.
(B) Design and implement an application using SQLite to insert, delete,
update and display Faculty information into database.
Design:
(A) Using Shared Preferences Concept:
Steps:
(A) Using Shared Preferences
1) Design layout with two buttons “Dark” and “Light”
2) Default theme of app should be black background color.
3) On click of “Light” button background color should change to white
color.
4) On Click of “Dark” button background color should change to black
color.
5) This theme of app should be saved as “SharedPreferences” data.
3. Mobile Application Development
T. S. Indi, IT Department, WIT Solapur Page 3
Steps:
(B) Faculty Information app using SQLite
1) Design different layouts for app home, add new record, display all
record, to edit existing record and to exit from app as shown in design.
2) Each layout will be associated with different Activity class such as
MainActivity, DisplayActivity, EditActivity and SaveActivity.
3) Design DBHelper class which extends SQLiteOpenHelper to perform
database operations such as table creation and updation.
4) Main layout is to navigate to different operations such as Add, Edit and
Display
5) Add layout is to insert new record of Faculty information.
6) Edit layout is to edit existing record of Faculty information.
7) Display layout is to display all records of Faculty information.
[Reference: Book -“Mobile Apps Development” by Anubhav Pradhan, Anil V Deshpande]