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
Encountered a problem on Android SQLite Database and ContentProvider - Tutorial, package.
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
  4 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
 
Mickhellelle  
View profile  
 More options Jul 12 2012, 9:37 pm
From: Mickhellelle <mishaellel...@gmail.com>
Date: Thu, 12 Jul 2012 18:37:42 -0700 (PDT)
Local: Thurs, Jul 12 2012 9:37 pm
Subject: Encountered a problem on Android SQLite Database and ContentProvider - Tutorial, package.

Hi I have encountered an error on part 4 of your tutorial using SQLite regarding the package name. Originally I have a package name (com.example.test) already but when I run the project the name of the package is changed to com.example.test.ImageDataSource and dataSource is the file that is needed to be created for the tutorial.

Here is the error shown on the Logcat:
07-13 01:32:16.875: E/AndroidRuntime(292): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.test/com.example.test.ImageDataSource}: java.lang.InstantiationException: com.example.test.ImageDataSource

Please guide me on what the error is about so I could make the tutorial work. Thanks in advance.


 
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.
Lars Vogel  
View profile  
 More options Jul 13 2012, 1:09 am
From: Lars Vogel <lars.vo...@gmail.com>
Date: Fri, 13 Jul 2012 07:09:05 +0200
Local: Fri, Jul 13 2012 1:09 am
Subject: Re: Encountered a problem on Android SQLite Database and ContentProvider - Tutorial, package.
Hi,

I suggest to use the package name as suggested in the tutorial.

Best regards, Lars

2012/7/13 Mickhellelle <mishaellel...@gmail.com>:


 
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.
Mickhellelle  
View profile  
 More options Jul 16 2012, 12:00 am
From: Mickhellelle <mishaellel...@gmail.com>
Date: Sun, 15 Jul 2012 21:00:07 -0700 (PDT)
Local: Mon, Jul 16 2012 12:00 am
Subject: Re: Encountered a problem on Android SQLite Database and ContentProvider - Tutorial, package.

Hi I have changed to your package name and it worked. But can I use the codes in my project? What must I do to make it work even though I did not use your package name?

 
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.
Lars Vogel  
View profile  
 More options Jul 24 2012, 5:40 am
From: Lars Vogel <lars.vo...@gmail.com>
Date: Tue, 24 Jul 2012 11:40:21 +0200
Local: Tues, Jul 24 2012 5:40 am
Subject: Re: Encountered a problem on Android SQLite Database and ContentProvider - Tutorial, package.
Good to know that my tutorial examples work. If you use this as a
guide for your implementation you should be able to fix your error.

2012/7/16 Mickhellelle <mishaellel...@gmail.com>:


 
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 »