[mono-android] SqliteOpenHelper blowing up
Michael Isbell
michael.isbell at gmail.com
Sun Mar 20 11:17:10 EDT 2011
..aaaand now it works great.
On Sun, Mar 20, 2011 at 11:03 AM, Michael Isbell
<michael.isbell at gmail.com>wrote:
> Yup, I just spotted that (through analyzing Shak's demo)--thank you again.
>
>
>
> On Sun, Mar 20, 2011 at 10:29 AM, Jonathan Pryor <jpryor at novell.com>wrote:
>
>> On Mar 20, 2011, at 1:54 AM, Michael Isbell wrote:
>> > // and it blows up here
>> >
>> > public class RestaurantHelper : SQLiteOpenHelper
>>
>> The problem is that RestaurantHelper is in the global namespace. Place it
>> into a namespace and it works.
>>
>> This may or may not get fixed; part of the issue is that some types _must_
>> be in a package, or Bad Things happen -- specifically anything declared
>> within AndroidManifest.xml must be within a namespace (activities, services,
>> etc.). RestaurantHelper is one of the few examples that wouldn't need to be
>> in a namespace...but it's probably a good idea to be in a namespace anyway
>> (especially since all your other types _are_ within a namespace).
>>
>> Thanks,
>> - Jon
>>
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>
>
>
> --
> Mike Isbell
>
>
>
--
Mike Isbell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110320/a879eb77/attachment-0001.html
More information about the Monodroid
mailing list