"Android-based reading notes API"

Source: Internet
Author: User

    1. 1. System Requirements Analysis

1.1 system Target

The purpose of this program is to develop a simple and practical, easy to operate a reading notebook software.

1.2 Functional Requirements

The Notepad software should have the following features:

(1) Login

(2) Book Classification management

(3) Book Management

(4) My reading notes

(5) Summarize the number of notes per user

(6) Count the number of notes for each book of a user

    1. 2. Overview of the system design

The software is an Android-based mobile app, simple and practical, easy to use.

2.1 Operating Environment

1.Android mobile phone or tablet: The main frequency is 1Ghz and above, the memory is above 1GB, the system version is Android4.4.2 and above.

2. PC with Android SDK plug-in installed on platform: windows all

2.2 Database table Design

Classification table

Column Name

Data type

Whether to allow empty

_id

Integer

Not allowed

ClassName

Text

Not allowed

Book table

Column Name

Data type

Whether to allow empty

_id

Integer

Not allowed

BookName

Text

Not allowed

Author

Text

Not allowed

Publish

Text

Not allowed

Isbn

Text

Not allowed

ClassName

Text

Not allowed

Note Table

Column Name

Data type

Whether to allow empty

Userid

Integer

Not allowed

BookID

Integer

Not allowed

Date

Integer

Not allowed

Content

Text

Not allowed

User table

Column Name

Data type

Whether to allow empty

_id

Integer

Not allowed

UserName

Text

Not allowed

Password

Text

Not allowed

3. design and Implementation Section

4. Experience

In the process of developing the Android program, I have a better understanding of the Android programming model, the use of Android controls more proficient. In the development process encountered a number of problems, after the online query, and finally got the solution.

The following are the problems encountered:

(1) The user name is required when creating a new note, but if you pass the value from the landing page, you have to go through several pages, so you need to define the user name as a global variable. method to define a class and set the variables in it to static. Call this class when needed

(2) Error when placing the note data in the ListView, the data is put into the Simplecursoradapter type adapter is not available. Change the type of adapter to Simpleadapter

"Android-based reading notes API"

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.