[android-developers] About DataBase

2012-05-25 Thread Anil Kumar
Hi buddies this is Anil. I am new to android can anybody suggest me
about the database . 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 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


Re: [android-developers] About DataBase

2012-05-25 Thread Narendra Singh Rathore
On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote:

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

Re: [android-developers] About DataBase

2012-05-25 Thread James Black
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 nsr.curi...@gmail.com
wrote:



 On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote:

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

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

[android-developers] About Database in Android.

2012-04-16 Thread Kirupa
I want to create two tables in a database in android. is it possible?
can you send sample code for this?

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


Re: [android-developers] About Database in Android.

2012-04-16 Thread Justin Anderson
http://lmgtfy.com/?q=android+database+tutorial

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Apr 16, 2012 at 9:26 PM, Kirupa answerofandr...@gmail.com wrote:

 I want to create two tables in a database in android. is it possible?
 can you send sample code for this?

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

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