VideoDataBase.java
1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.example.dataextraction;
import android.provider.BaseColumns;
public final class VideoDataBase {
public static final class CreateDB implements BaseColumns {
public static final String ALBUM = "album";
public static final String ARTIST = "artist";
public static final String BOOKMARK = "bookmark";
public static final String CATEGORY = "category";
public static final String DESCRIPTION = "description";
public static final String LANGUAGE = "language";
public static final String LATITUDE = "latitude";
public static final String LONGITUDE = "longitude";
public static final String RESOLUTION = "resolution";
public static final String PATH = "path";
public static final String TAGS = "tags";
public static final String DATE_ADDED = "date_added";
public static final String DISPLAY_NAME = "display_name";
public static final String MIME_TYPE = "mime_type";
public static final String TITLE = "title";
public static final String _TABLENAME0 = "video";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+TITLE+" text not null primary key, "
+DATE_ADDED + " text not null ,"
+DISPLAY_NAME + " text not null ,"
+MIME_TYPE + " text not null ,"
+PATH + " text not null ,"
+LATITUDE + " text ,"
+LONGITUDE + " text,"
+ALBUM+ " text, "
+ARTIST+ " text, "
+BOOKMARK+ " text, "
+CATEGORY + " text, "
+DESCRIPTION + " text, "
+LANGUAGE +" text, "
+RESOLUTION + " text, "
+TAGS + " text);";
}
}