Or store the initial data in a resource file, then read it in and
create/populate the database.
On May 25, 2012 7:23 AM, "Narendra Singh Rathore" <[email protected]>
wrote:

>
>
> On Thu, May 24, 2012 at 5:35 PM, Anil Kumar <[email protected]>wrote:
>
>>  My problem is i created the database in my
>> project and i successfully added the data in my database ... but after
>> installing the apk in my mobile ... i dint get the values.... Once
>> again i need to add alll my data.... .. How i can get the data what
>> are all added in my system.... and where i have to put my .db file in
>> mobile ... Please anybody suggest me.............
>>
>>
> You must store your database (db file) in sd card of your mobile, and
> access that from there (sd card).
> You need to add permission in your manifest file to use your database from
> sd card as follows:
>
>     <uses-permission
> android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
>
>
> With Regards,
> NSR
>
>  --
> 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

-- 
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