Android Open Source - OpenHSK Database Metadata






From Project

Back to project page OpenHSK.

License

The source code is released under:

This work is licensed under a Creative Commons Attribution 3.0 Unported License. Original author of word lists: http://lingomi.com/ Original author of definitions: http://cc-cedict.org Original autho...

If you think the Android project OpenHSK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package edu.openhsk.repository;
//w w  w.  j a v  a 2  s  . com
public class DatabaseMetadata {
  /** Table containing all word lists */
  public static final String T_WORDS = "t_words";

  /** Table for cached quizzes. */
  public static final String T_CACHE = "t_cache";
  
  /** Table for the exam questions and metadata. */
  public static final String T_EXAM_RESULTS = "t_exam_results";
  
  /** Table for word list metadata */
  public static final String T_WORDLISTS = "t_wordlists";
  
  /** View for exam word list **/
  public static final String V_EXAM = "v_exam";
  
  // Word list ids used in the category_id column
  public static final int WORD_LIST_ID_HSK1 = 1;
  public static final int WORD_LIST_ID_HSK2 = 2;
  public static final int WORD_LIST_ID_SU1 = 3;
  public static final int WORD_LIST_ID_SU2 = 4;
  public static final int WORD_LIST_ID_SU2L = 5;
  public static final int WORD_LIST_ID_CL = 6;

  public static final int[] ALL_WORD_LIST_IDS = { WORD_LIST_ID_HSK1,
      WORD_LIST_ID_HSK2, WORD_LIST_ID_SU1, WORD_LIST_ID_SU2,
      WORD_LIST_ID_SU2L, WORD_LIST_ID_CL };
}




Java Source Code List

edu.openhsk.CharacterListActivity.java
edu.openhsk.CharacterViewActivity.java
edu.openhsk.CreateWordActivity.java
edu.openhsk.CreateWordListActivity.java
edu.openhsk.ExamActivity.java
edu.openhsk.ExamResultActivity.java
edu.openhsk.MainActivity.java
edu.openhsk.QuizActivity.java
edu.openhsk.WordListSelectionActivity.java
edu.openhsk.adapters.WordListViewBinder.java
edu.openhsk.adapters.WordViewBinder.java
edu.openhsk.models.ExamResult.java
edu.openhsk.models.Hanzi.java
edu.openhsk.models.QuizHanzi.java
edu.openhsk.models.WordList.java
edu.openhsk.repository.DatabaseHelper.java
edu.openhsk.repository.DatabaseMetadata.java
edu.openhsk.repository.HanziRepository.java
edu.openhsk.repository.HelpfulCursor.java
edu.openhsk.repository.QuizRepository.java
edu.openhsk.repository.SimpleCursorLoader.java
edu.openhsk.repository.WordListRepository.java
edu.openhsk.service.QuizService.java
edu.openhsk.utils.AsyncSoundPlayer.java
edu.openhsk.utils.CSVExporter.java
edu.openhsk.utils.CSVParser.java
edu.openhsk.utils.PinyinReplacer.java
edu.openhsk.utils.SoundManager.java
edu.openhsk.views.BarGraph.java
edu.openhsk.views.Bar.java
edu.openhsk.views.ExamResultPieChart.java