Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Go To ( http://adf.ly/20PrE )-)-) [android-developers] database connectivity on real device
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Narendra Singh Rathore  
View profile  
 More options Nov 29 2011, 3:57 am
From: Narendra Singh Rathore <nsr.curi...@gmail.com>
Date: Tue, 29 Nov 2011 14:27:10 +0530
Local: Tues, Nov 29 2011 3:57 am
Subject: Go To ( http://adf.ly/20PrE )-)-) [android-developers] database connectivity on real device

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

--
Go to Master Mind Home Base Income Website   :-

           http://adf.ly/20PrE

            http://adf.ly/20PrE

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe

                                              http://q.gs/624707/unsubscribe

Subscribe All Group Post :-       http://j.gs/624707/subscribe

                                                 http://q.gs/624707/subscribe

Join Now Today (Paid Income) :-

 http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/?id=624707

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device" by NaveenShrivastva
NaveenShrivastva  
View profile  
 More options Nov 29 2011, 4:19 am
From: NaveenShrivastva <kumarnaveen.si...@gmail.com>
Date: Tue, 29 Nov 2011 14:49:24 +0530
Local: Tues, Nov 29 2011 4:19 am
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

data/data/package name/ur_database, Database folder you creating or not
by Ur own code .

On Tue, Nov 29, 2011 at 2:27 PM, Narendra Singh Rathore <

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

--
Go to Master Mind Home Base Income Website   :-

           http://adf.ly/20PrE

            http://adf.ly/20PrE

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe

                                              http://q.gs/624707/unsubscribe

Subscribe All Group Post :-       http://j.gs/624707/subscribe

                                                 http://q.gs/624707/subscribe

Join Now Today (Paid Income) :-

 http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/?id=624707

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Narendra Singh Rathore  
View profile  
 More options Nov 29 2011, 4:31 am
From: Narendra Singh Rathore <nsr.curi...@gmail.com>
Date: Tue, 29 Nov 2011 15:01:43 +0530
Local: Tues, Nov 29 2011 4:31 am
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

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

--
Go to Master Mind Home Base Income Website   :-

           http://adf.ly/20PrE

            http://adf.ly/20PrE

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe

                                              http://q.gs/624707/unsubscribe

Subscribe All Group Post :-       http://j.gs/624707/subscribe

                                                 http://q.gs/624707/subscribe

Join Now Today (Paid Income) :-

 http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/?id=624707

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Narendra Singh Rathore  
View profile  
 More options Nov 29 2011, 4:39 am
From: Narendra Singh Rathore <nsr.curi...@gmail.com>
Date: Tue, 29 Nov 2011 15:09:57 +0530
Local: Tues, Nov 29 2011 4:39 am
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

On Tue, Nov 29, 2011 at 3:01 PM, Narendra Singh Rathore <

nsr.curi...@gmail.com> wrote:

> 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

--
Go to Master Mind Home Base Income Website   :-

           http://adf.ly/20PrE

            http://adf.ly/20PrE

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe

                                              http://q.gs/624707/unsubscribe

Subscribe All Group Post :-       http://j.gs/624707/subscribe

                                                 http://q.gs/624707/subscribe

Join Now Today (Paid Income) :-

 http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/?id=624707

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Narendra Singh Rathore  
View profile  
 More options Nov 29 2011, 9:32 pm
From: Narendra Singh Rathore <nsr.curi...@gmail.com>
Date: Wed, 30 Nov 2011 08:02:42 +0530
Local: Tues, Nov 29 2011 9:32 pm
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

Now, I guess no one can help me out..
**
*H*

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

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Streets Of Boston  
View profile  
 More options Nov 29 2011, 10:40 pm
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Tue, 29 Nov 2011 19:40:34 -0800 (PST)
Local: Tues, Nov 29 2011 10:40 pm
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

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

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Narendra Singh Rathore  
View profile  
 More options Dec 1 2011, 10:07 pm
From: Narendra Singh Rathore <nsr.curi...@gmail.com>
Date: Fri, 2 Dec 2011 08:37:54 +0530
Local: Thurs, Dec 1 2011 10:07 pm
Subject: Go To ( http://adf.ly/20PrE )-)-) Re: [android-developers] database connectivity on real device

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.

Now, for accessing that database, I m doing---

2) db=*SQLiteDatabase.openDatabase*("file:////android_assets/MY_DATABASE<file: //android_assets/MY_DATABASE>",
null, SQLiteDatabase.CREATE_IF_NECESSARY);

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

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Go To ( http://adf.ly/20PrE )-)-) [android-developers] Re: database connectivity on real device" by gjs
gjs  
View profile  
 More options Dec 1 2011, 11:19 pm
From: gjs <garyjamessi...@gmail.com>
Date: Thu, 1 Dec 2011 20:19:21 -0800 (PST)
Local: Thurs, Dec 1 2011 11:19 pm
Subject: Go To ( http://adf.ly/20PrE )-)-) [android-developers] Re: database connectivity on real device
Hi,

Create you database in code, when app is first run. Load data from
assets. If there is a lot of data load it from internet.

Regards

On Dec 2, 2:07 pm, Narendra Singh Rathore <nsr.curi...@gmail.com>
wrote:

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

--
Go to Master Mind Home Base Income Website   :-

           http://adf.ly/20PrE

            http://adf.ly/20PrE

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe

                                              http://q.gs/624707/unsubscribe

Subscribe All Group Post :-       http://j.gs/624707/subscribe

                                                 http://q.gs/624707/subscribe

Join Now Today (Paid Income) :-

 http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/?id=624707

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

http://adf.ly/20PrE

--
Go to Master Mind Home Base Income Website   :-
           http://adf.ly/20PrE
            http://adf.ly/20PrE
Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe
                                              http://q.gs/624707/unsubscribe
Subscribe All Group Post :-       http://j.gs/624707/subscribe
                                                 http://q.gs/624707/subscribe
Join Now Today (Paid Income) :-
 http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/?id=624707
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE
http://adf.ly/20PrE


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »