dimanche 25 janvier 2015

Error while shipping sqlite DB(6 MB) to emulator+need guidance to create offline android app

As my first android app, i'm trying to create an offline app using eclipse which will initially use pre-populated DB for searching specific values and show suggestions in autocompletetextview. I've tried to merge these two; http://ift.tt/1wepPzg and http://ift.tt/19PBhQ1 But i get error like



android.database.sqlite.SQLiteException: no such table: allomed: , while compiling: SELECT _id...



eventually i realized db will not be copied due to its size.I saw SQliteAssetHelper library works well for database shipping/upgrading purpose but couldn't find any proper guidance to fetch specific records or to use for multiple tables. Can anyone please guide the easiest way i should follow so that i can complete all those properly?


Aucun commentaire:

Enregistrer un commentaire