Professional Documents
Culture Documents
Lab4 A171
Lab4 A171
Semester 1 2017/2018
School of Computing, CAS, UUM
Lab 4
22/10/2017
Submission
26/10/2015
Instruction:
Develop sqlite database application that uses 5 data input and implement basic Create, Read
(search), Update, Delete operations, Show. One of the data input must be in integer value. On
the layout part, one of the input must be come from a spinner. Each operation must
implement the following.
Create:
o Check field entry
o Check key data duplicate
o Conformation dialog
o Clear field entry
o Toast on successfully inserting a data
o Refresh listview
Delete
o Inputbox
o Check key data available
o Conformation dialog
o Toast on successfully deleting a data
o Refresh listview
Search
o Inputbox for search
o Search data based on key data
o Show all the data on your layout
o Produce toast if the data is not found
o Show the found data on listview
Update
o Check key data to be updated available
o Update all the data except key data
o Produce toast on successfully updated the data
o Refresh listview
Show data
o Show data in Listview
o List all the key data in the database in a listview
o Create, delete and update data should refresh the listview.
o Click on the listview the selected data will appear on your edittext.
Additional marks
o Implement multicolumn listview. Show all your important data in multi
column listview.
All operations above must be implemented in one layout only.