Hi all, plz help me connecting the sqlite database onto a real device. I have connected it to the android emulator easily, using push in DDMS -> file Explorer -> data/data/package name/ur_database. It worked fine.
But, now when I going to use real device (Samsung Galaxy Pop) for database, it is giving me database exception. Even the former way of DDMS is unable to help me.
I m perfectly fine running other apps (without using database), on my device. I tried a lot, but *still waiting* for the result.
Suggest me what can I do to solve that...
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
nsr.curi...@gmail.com> wrote: > Hi all, plz help me connecting the sqlite database onto a real device. > I have connected it to the android emulator easily, > using push in DDMS -> file Explorer -> data/data/package name/ur_database. > It worked fine.
> But, now when I going to use real device (Samsung Galaxy Pop) for > database, it is giving me database exception. > Even the former way of DDMS is unable to help me.
> I m perfectly fine running other apps (without using database), on my > device. > I tried a lot, but *still waiting* for the result.
> Suggest me what can I do to solve that...
> -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Absolutely creating.. Actually its data/data/package_name/database/database_name.
is it ok, now.?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
> Absolutely creating.. > Actually its data/data/package_name/database/database_name.
> is it ok, now.?
I m even unable to open data folder (DDMS->file Explorer -> *data*), while using real device.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
To access that directory and its sub-directories (data/data/**), you'll need to root your device.
Create (and prefill) you database in the app (the app with id/name * package_name*) itself through SQL.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Am I doing something wrong here, let me know if I m wrong.
I hope, u all got my problem..
Narendra :(
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
> Hi again, my problem solved by storing my database in sdcard, but even now > I have to push my database for the first time I m using it.
> Now, I want something like....storing my database in assets folder, so that > it can directly be installed with the apk directly, without using push.
> Here is what I did. > 1) Copied the database in assets folder.
> Am I doing something wrong here, let me know if I m wrong.
> I hope, u all got my problem..
> Narendra :(
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en