Experiment 8 SQLite Database operations

Source: Internet
Author: User
Tags sqlite sqlite database

Lab Report

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

Experiment 8 SQLite Database operations

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.