Ejemplo n.º 1
0
  private SightWordsReaderDb(Context context) {

    super(context);

    dummyDeepLists = new ArrayList<SightWordList>();
    GenUtil.fillSightWordListDeep(dummyDeepLists);

    dummyWords = new ArrayList<SightWord>();
    GenUtil.fillAllWords(dummyWords);
  }
Ejemplo n.º 2
0
  public static String getResposeResult(HttpResponse response) {
    HttpEntity entity = response.getEntity();
    if (null == entity) return null;

    try {
      InputStream instream = entity.getContent();
      return GenUtil.convertStreamToString(instream);
    } catch (IOException e) {
    }

    return null;
  }