Course Name |
Mobile Internet development based on Android platform |
Date of experiment |
May 6 |
Name of the experimental project |
SQLite database Operations |
Location of the experiment |
S3010 |
Type of experiment |
-Verification Type √ design type-comprehensive type |
Hours |
1 UI |
The purpose and requirements of the experiment (the knowledge points which are involved in this experiment and are required to be mastered) |
1, design a personal Address book, master the development of the database under the Android platform, the personal Address Book mainly includes the contact list and contact details and other interfaces. 2, the main interface of the program is the directory of contacts to display the name of the contact on the phone. Click the contact's name to display the contact's details. The menu bar pops up after you press the MEMU key. Click the button on the menu bar to add contacts and delete contacts |
second, the experimental environment (the hardware equipment and related software used in this experiment) |
(1) PC Machine (2) Operating system: Windows XP (3) Software: Eclipse, jdk1.6,android Sdk,adt |
Third, the contents and steps of the experiment |
(1) Determine the data structure of the database. (2) The icon to be used to copy the program into the RES/DRAWABLE-MDPI directory (3) Define string resource String.xml (4) Development layout file Activity_main.xml to display the contact list (5) Create a new detail.xml in the layout directory to display contact details (6) Develop database auxiliary class Myopenhelper class, create a new Myopenhelper.java. (7) The next step into the development of the mainactivity end, to achieve database additions, deletions, change records and other operations (8) Create a new activity named Detailactivity.java, which realizes the contact details display function. |
Four, the experimental results (the experimental source program list and operating results or experimental conclusions, experimental design drawings) |
Code: Run Result: () |
Five, Experimental summary (analysis of the results of the experiment, experience and improvement of experimental ideas) |
This time the experiment was less than the last one. The experimental results were not successfully implemented. The code section changed many times, but I still don't know what the reason is. Compared to the teacher sent down the reference code is still in a daze. Not quite able to understand. |
Experimental reviews |
|
Experimental results |
|
instructing teachers to sign: year -month Day |