It would need to be a static public inner class.

On Fri, Jan 27, 2012 at 6:54 AM, Rudolf Polzer <rudolf.pol...@i-r-p.de> wrote:
> Yes, the receiver is an inner class of the activity.
>
> I changed the receiver line in the manifest file to
>    <receiver android:name=".PlanActivity$OnAlarmReceiver"></receiver>
>
> Then the alarm fires, but with an exception the debugger can't
> display.
> LogCat says:
> newInstance failed: no <init>()
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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

_Android Programming Tutorials_ Version 4.1 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to