java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bestsofts.mohammaderfan.bestsoftwares/com.bestsofts.mohammaderfan.bestsoftwares.listofebook}: android.database.sqlite.SQLiteException: near "FROMbestsofts": syntax error (code 1): , while compiling: SELECT * FROMbestsofts

Stack Overflow | mohammad erfan | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error reading from SQLite and going to next Activity

    Stack Overflow | 9 months ago | mohammad erfan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bestsofts.mohammaderfan.bestsoftwares/com.bestsofts.mohammaderfan.bestsoftwares.listofebook}: android.database.sqlite.SQLiteException: near "FROMbestsofts": syntax error (code 1): , while compiling: SELECT * FROMbestsofts

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unable to start activity ComponentInfo{com.bestsofts.mohammaderfan.bestsoftwares/com.bestsofts.mohammaderfan.bestsoftwares.listofebook}: android.database.sqlite.SQLiteException: near "FROMbestsofts": syntax error (code 1): , while compiling: SELECT * FROMbestsofts

      at com.bestsofts.mohammaderfan.bestsoftwares.DBH.getTableOfContent()
    2. com.bestsofts.mohammaderfan
      listofebook.onCreate
      1. com.bestsofts.mohammaderfan.bestsoftwares.DBH.getTableOfContent(DBH.java:142)
      2. com.bestsofts.mohammaderfan.bestsoftwares.listofebook.onCreate(listofebook.java:35)
      2 frames