Oh, my apologies. You need a zero-parameter public constructor that
chains to the superclass, supplying the name:
public MyServiceClass() {
super("Um, hi!");
}
On Tue, Sep 14, 2010 at 6:33 PM, Bret Foreman <[email protected]> wrote:
> Yes, I have that stub when the code is in IntentService mode and
> commented out when in Service mode. Anyway, it would not build without
> it so I don't think that's the problem. Here's the stub:
>
> public MyServiceClass(String name) {
> super(name);
> }
>
> On Sep 14, 3:24 pm, Mark Murphy <[email protected]> wrote:
>
>> IntentService requires a public one-parameter constructor -- you will
>> see it in the Javadocs.
>>
>> --
>> Mark Murphy (a Commons
>> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en