The first thing to remember about Android using Sqllite database

Source: Internet
Author: User

1. Use a class to inherit directly from a Sqlliteopenelper

Note the use of

2. Then find the application file under Data data to find databases
Drag files directly to the desktop and open them directly to the client

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4B/61/wKiom1QrXXmy453BAABsw0d2nck288.jpg "title=" Snapshot 12.jpg "alt=" Wkiom1qrxxmy453baabsw0d2nck288.jpg "/>

3. The following method is called directly when the database is upgraded. (That is, when the version number is greater than the original, it will be used Onupgrade)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4B/66/wKiom1QrXm2BJkN7AAOA-F9qh1Q440.jpg "title=" Snapshot 13.jpg "alt=" Wkiom1qrxm2bjkn7aaoa-f9qh1q440.jpg "/>

4. Project Source code


This article is from "Lotte Aoi" blog, please be sure to keep this source http://marvinkane.blog.51cto.com/5553435/1560231

The first thing to remember about Android using Sqllite database

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.