On Tue, Sep 14, 2010 at 6:15 PM, Bret Foreman <[email protected]> wrote:
> I'm getting a java.lang.InstantiationException when I attempt to call
> startService to start my IntentService. As a test, I temporarily
> declared my IntentService as a Service and it launched fine. Is there
> something different about using startService to start an IntentService
> versus a Service?

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/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

Reply via email to