about the screen orientation, i have included this line in the
manfest:
android:configChanges="orientation|keyboardHidden"

... works :-)

On Jul 5, 12:42 pm, "hectordu...@yahoo.com" <hectordu...@yahoo.com>
wrote:
> thanK you guys,
> finallly I followed this link and 
> works:www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-ap...
>
> i had some problems with the package name, which throws in "error
> copying the database", and then with a  table which wasn't found in
> the schema.
>
> it wasn't clear for me but i had to copy the sqlite file to the
> resources folder and also to the data/data/MYAPPL/database directory.
>
> anyway, i continuous without understanding why something that works in
> the  emulator doesn't works in the real device WITHOUT CHANGES.
>
> finally it worked :-(
>
> NOW I HAVE ANOTHER PROBLEM :-(
> WHEN MY PHONE (SAMSUNG TAB) SWITCHS THE IMAGE FROM VERTICAL TO
> HORIZONTAL, THERE IS AN EXCEPTION THAT I DON'T KNOW HOW TO CATCH, AND
> THE APPL CRASH .... MAY SOMEBODY TELL  ME WHATS GOING ON ?   .. IS
> THERE SOMEWHERE AN EXAMPLE CODE TO DEAL WITH ?
> REGARDS ...
>
> On Jul 5, 7:15 am, Pepijn Van Eeckhoudt <pep...@vaneeckhoudt.net>
> wrote:
>
> > On 04/07/2011 03:19, NikolaMKD wrote:> Save it as resource in raw folder, 
> > load it as resource then try to
> > > copy it into app path. It does not need to be inside /databases
> > > folder. It can be anywhere (SDcard not recommended)
>
> > Why is copying onto the sdcard not recommeded?
>
> > Pepijn

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to