- 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
- 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"