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 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error reading from SQLite and going to next Activity

    Stack Overflow | 7 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