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.
> 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 received this message because you are subscribed to the Google Groups "vogella" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/W1aecr8wP0kJ.
> To post to this group, send email to vogella@googlegroups.com.
> To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
On Friday, July 13, 2012 1:09:05 PM UTC+8, vogella wrote: > Hi,
> I suggest to use the package name as suggested in the tutorial.
> Best regards, Lars
> 2012/7/13 Mickhellelle <mishaellel...@gmail.com>: > > 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 received this message because you are subscribed to the Google Groups "vogella" group. > > To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/W1aecr8wP0kJ. > > To post to this group, send email to vogella@googlegroups.com. > > To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com. > > For more options, visit this group at http://groups.google.com/group/vogella?hl=en. > >
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?
> On Friday, July 13, 2012 1:09:05 PM UTC+8, vogella wrote:
>> Hi,
>> I suggest to use the package name as suggested in the tutorial.
>> Best regards, Lars
>> 2012/7/13 Mickhellelle <mishaellel...@gmail.com>:
>> > 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 received this message because you are subscribed to the Google Groups "vogella" group.
>> > To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/W1aecr8wP0kJ.
>> > To post to this group, send email to vogella@googlegroups.com.
>> > To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.
>> > For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
>> >
> 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 received this message because you are subscribed to the Google Groups "vogella" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/BuiUj9t4LA8J.
> To post to this group, send email to vogella@googlegroups.com.
> To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vogella?hl=en.