Sqlite problem within eclipse, not recognizing db file
<p>I am having extreme difficulty in running this quiz application. The application uses a db file which is created in SQLite browser. I have a Database helper class from which I have added the path to the db.</p>

<p>I have also added the db file within the assets folder in my application. When I run the application I receive an unexpectedly error. </p>

<p>I can open the database within DDMS view and see the contents within data/data/mypackage/</p>

<p>When I debug this I receive an error message in Logcat and an activity thread opens which says source not found, Edit source look up Path:</p>

<p>I tried adding an image of log cat but I cannot do so yet. </p>

<p>I receive the following error:</p>

<p><strong>sqlite returned: error code = 14, msg = cannot open file at source 25467
sqlite3_open_v2("/data/data/com.quiz.easy/database/quizzed", &amp;handle, 1, NULL) failed</strong></p>

<p>I have tried changing the paths within the Database helper class and the path changes but I'm not sure what is wrong.</p>

<p>The path within the database helper class:</p>

<pre><code>public class DataBaseHelper extends SQLiteOpenHelper{

//The Android's default system path of your application database.
private static String DB_PATH = "/data/data/com.quiz.easy/databases/";
private static String DB_NAME = "quizzed";
private static String Table_name="Quiz";
</code></pre>

<p>I can upload all the source code if needed. I would appreciate any help with this as I am going in circles and have been trying to get this to work for a whole week. </p>

<p>Please help me. Thanks</p>
