Back to project page droidnotes.
The source code is released under:
GNU General Public License
If you think the Android project droidnotes 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 com.example.droidnotes.app; //from w ww .j a v a2s.c o m import com.annotatedsql.annotation.provider.Provider; import com.annotatedsql.annotation.provider.URI; import com.annotatedsql.annotation.sql.*; import com.annotatedsql.annotation.sql.Column.Type; @Schema(className = "DNSchema", dbName = "DN.db", dbVersion = 1) @Provider(authority = "com.example.droidnotes.provider", schemaClass = "DNSchema", name = "DNProvider") public interface DNModel { @Table(Notes.TABLE_NAME) public static interface Notes { String TABLE_NAME = "notes"; @URI String CONTENT_URI = "notes"; @PrimaryKey @Autoincrement @Column(type = Type.INTEGER) String ID = "_id"; @Column(type = Type.TEXT) String NOTE = "note"; } }