https://bugzilla.novell.com/show_bug.cgi?id=655342

https://bugzilla.novell.com/show_bug.cgi?id=655342#c5


--- Comment #5 from Dan Russell <[email protected]> 2010-11-22 15:39:08 PST 
---
(In reply to comment #1)
>  2. Provide a default constructor, and provide a value to the base 
> constructor:
> 
>     [Service]
>     public MyIntentService : IntentService {
>         public MyIntentService ()
>             : base ("worker-thread-name")
>         {
>         }
>     }

If you provide a default constructor, the Java code generated at
obj\Debug\android\src\intentservicesandbox does not have one. At runtime,
initialization fails with the following error:
D/dalvikvm(  269): newInstance failed: no <init>()

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to