Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design2
/
2016104137
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김예미
2020-04-24 13:00:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
983f2e18fbed1252a7a6d959dd6787d7666d29fc
983f2e18
1 parent
ce5e574f
modify sms database column name
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
source/DataExtraction/app/src/main/java/com/example/dataextraction/DBHelper.java
source/DataExtraction/app/src/main/java/com/example/dataextraction/SMSDataBase.java
source/DataExtraction/app/src/main/java/com/example/dataextraction/DBHelper.java
View file @
983f2e1
...
...
@@ -291,7 +291,7 @@ public class DBHelper {
values
.
put
(
SMSDataBase
.
CreateDB
.
CREATOR
,
creator
);
values
.
put
(
SMSDataBase
.
CreateDB
.
DATE
,
date
);
values
.
put
(
SMSDataBase
.
CreateDB
.
BODY
,
body
);
values
.
put
(
SMSDataBase
.
CreateDB
.
READ
,
read
);
values
.
put
(
SMSDataBase
.
CreateDB
.
READ
_C
,
read
);
return
mDB
.
insert
(
SMSDataBase
.
CreateDB
.
_TABLENAME0
,
null
,
values
);
}
...
...
source/DataExtraction/app/src/main/java/com/example/dataextraction/SMSDataBase.java
View file @
983f2e1
...
...
@@ -12,7 +12,7 @@ public class SMSDataBase {
public
static
final
String
CREATOR
=
"creator"
;
public
static
final
String
DATE
=
"date"
;
public
static
final
String
BODY
=
"body"
;
public
static
final
String
READ
=
"read
"
;
public
static
final
String
READ
_C
=
"read_c
"
;
public
static
final
String
_TABLENAME0
=
"sms"
;
public
static
final
String
_CREATE0
=
"create table if not exists "
+
_TABLENAME0
+
"("
+
MID
+
" integer not null primary key, "
...
...
@@ -23,6 +23,6 @@ public class SMSDataBase {
+
CREATOR
+
" text,"
+
DATE
+
" text,"
+
BODY
+
" text,"
+
READ
+
" integer);"
;
+
READ
_C
+
" integer);"
;
}
}
...
...
Please
register
or
login
to post a comment