Back to project page openhds-tablet.
The source code is released under:
OPENHDS PLATFORM OPENSOURCE LICENSE AGREEMENT Copyright (c) 2013 University of Southern Maine. All rights reserved. Redistribution and use in source and binary forms, with or without mo...
If you think the Android project openhds-tablet listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.openhds.mobile; /*from www . j a v a 2 s. c o m*/ import android.net.Uri; import android.provider.BaseColumns; /** * This class was taken from the OpenDataKit project version 1.3.0 */ public final class FormsProviderAPI { public static final String AUTHORITY = "org.odk.collect.android.provider.odk.forms"; // This class cannot be instantiated private FormsProviderAPI() {} /** * Notes table */ public static final class FormsColumns implements BaseColumns { // This class cannot be instantiated private FormsColumns() {} public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/forms"); public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.odk.form"; public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.odk.form"; // These are the only things needed for an insert public static final String DISPLAY_NAME = "displayName"; public static final String DESCRIPTION = "description"; // can be null public static final String JR_FORM_ID = "jrFormId"; public static final String JR_VERSION = "jrVersion"; // can be null public static final String FORM_FILE_PATH = "formFilePath"; public static final String SUBMISSION_URI = "submissionUri"; // can be null public static final String BASE64_RSA_PUBLIC_KEY = "base64RsaPublicKey"; // can be null // these are generated for you (but you can insert something else if you want) public static final String DISPLAY_SUBTEXT = "displaySubtext"; public static final String MD5_HASH = "md5Hash"; public static final String DATE = "date"; public static final String JRCACHE_FILE_PATH = "jrcacheFilePath"; public static final String FORM_MEDIA_PATH = "formMediaPath"; // this is null on create, and can only be set on an update. public static final String LANGUAGE = "language"; } }