Why don't you let the app create/populate the db? So you don't have to worry
about permissions to access the /data folder.
For rooting the phone check xda (http://forum.xda-developers.com/) and
search for 'rooting + your phone model'.

Otherwise if you just need to copy files (e.g. from the sdcard) to the
/data/data/your.package.name/databases you could write code inside your app
to do that (since your app has permissions to access its data dir) - check
http://www.screaming-penguin.com/node/7749.

Hope it helps & good luck for your presentation,
YuviDroid

On Sat, Jun 12, 2010 at 8:54 AM, amsale zelalem <[email protected]> wrote:

> Hello all,
> I have got an htc hero device and would like to install my apk on it. it
> successfully installs my apk but without the database it is using. my
> database is populated prior to running the application, so it runs ok on the
> emulator. but i couldn't load my data on the real device and the apk is
> displaying forse close error.
> can anyone please help me how to load my data on the data folder of the
> device including every detailed steps?
> please it is very urgent that I need to present it the coming week
> thanks
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
YuviDroid
http://android.yuvalsharon.net

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to