0% found this document useful (0 votes)
9 views3 pages

Unit 3 Mad

material MAD

Uploaded by

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

Unit 3 Mad

material MAD

Uploaded by

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

IFET COLLEGE OF ENGINEERING

(An Autonomous Institution)

DEPARTMENT OF EEE

19UCSOE601 – MOBILE APPLICATION DEVELOPMENT

UNIT-3 DATA PERSISTENCE

Shared User preferences – File Handling: File system, System partition, SDcard partition, user
partition, security, Internal and External Storage – Managing data using SQLite –User defined
content providers.
PART-A

1. Write a short note on shared user preferences in android.


2. List out the APIs that are used to get access to the prefernces.
3. Define getSharedPreferences().
4. Mention the operations modes that are applicable for getSharedPreferences().
5. Show how an editor could save and edit the shared preferences?
6. Demonstrate how clearing or deleting data can be done in Shared preferences.
7. What is the difference between the getSharedPreferences() and getPreferences()
methods?
8. Name the method that enables you to obtain the path of the external storage of an
Android device.
9. What is the permission you need to declare when writing files to external storage?
10. What are the different data storage options available on the Android platform?
11. Enlist the several types of objects in file system.
12. How to Increase System Partition in Android?
13. Demonstrate the steps that helps to use Disk Management to create partition on SD card.
14. What are the key security features of android?
15. Write the best practice to keep in mind when performing security tests in Android.
16. Create program using OnClick ()method to store data in external storage.
17. Can you find the way for Saving to external storage?
18. How the Sharing of data among activities in the same application can be done?
19. Show an Opening and Creating of Databases Without the SQLite Open Helper.
20. Write short note on working with sqlite databases.
21. Enlist navigation functions that theCursor class includes .
22. Define SQLite .
23. Write note on SQLite database.
24. What are an Android Database Design Considerations?
25. Enlist the steps to execute a query on a Database object.
26. Write note on SQLiteOpenHelper
27. Name the methods that you need to override in your own implementation of a content
provider.
28. How do you register a content provider in your AndroidManifest.xml file?
29. Mention the Two ways to specify a query for a content provider.
30. How will you Retrieve the value of a column in a content provider and cursor?
31. What are content providers?
32. How to use a content provider in Android?
33. Mention the various parts of the URI.
34. Android ships with many useful content providers ,enlist them long with usage?
35. Give the examples of query strings that were in content providers.
36. What are the native android content providers?
37. Show the format for Registering Content Providers.
38. Create the Content Provider’s database.
39. How to Make Your Search Activity the Default Search Provider for Your Application?
40. Write note on loaders in Android content providers.

PART –B
1.Explain briefly about saving and loading user preferences. (R) (16)
2.Demonstrate and discuss detail about how to saving the data to internal storage. (A) (16)
3.(i) Discuss briefly on Choosing the Best Storage Option in Android database. (S) (6)
(ii) Write note on (a)Projections (b)Filtering (c)Sorting and (d) predefined
Query String constants . (S) (10)
4.Explain in detail about file handling and file systems in Android Database (R) (16)
5.Create your own Content Provider in an android environment. (A) (16)
6.Create a helper object to create, open, and/or manage a database in
SQLiteOpenHelper. (A) (16)
7.Explain the best way to understand content providers is to which actually use one.(U) (16)
8.Describe briefly about working with SQLite databases. (U) (16)

You might also like