Have you declared the receiver in the manifest of your project?

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Sun, May 22, 2011 at 2:28 PM, Simon Platten <[email protected]
> wrote:

> Just a thought, could it be the receiver statement in the XML manifest?
>
> It currently reads:
>
> <receiver android:process=":remote" android:name="myReciever"/>
>
> myReciever is actually a class in my library which is in a different
> package, I'm not sure I have to change anything to reflect this.
>
>
>
> On Sun, May 22, 2011 at 9:54 AM, Simon Platten <
> [email protected]> wrote:
>
>> Thanks for the response, I've just taken a look at the LogCat whilst
>> running in debug, unfortunately they're is nothing being shown there at all.
>>
>>
>>
>> On Sun, May 22, 2011 at 9:48 AM, Kumar Bibek <[email protected]>wrote:
>>
>>> Does the Logcat say anything? Just log a few messages and it would be
>>> clear whats going wrong.
>>>
>>> Kumar Bibek
>>> http://techdroid.kbeanie.com
>>> http://www.kbeanie.com
>>>
>>>
>>>
>>> On Sun, May 22, 2011 at 2:15 PM, Simon Platten <
>>> [email protected]> wrote:
>>>
>>>> I have created an Android library which has a layout in it and several
>>>> classes, one of which is an activity.
>>>>
>>>> In my main project I create an activity which is derived from the
>>>> activity class in my project.
>>>>
>>>> When my base activity is done with it sets-up an alarm via the
>>>> AlarmManager, this is all done within the library.  However my onReceive
>>>> routine never gets called.
>>>>
>>>> This worked before I moved some of the logic into the library and also
>>>> before I created a base activity.  Can anyone shed any light on this?
>>>>
>>>> Does the receiver xml statement in the manifest need to be somewhere
>>>> else?  At the moment its a child of the application.
>>>>
>>>> Thank you,
>>>> Simon
>>>>
>>>> --
>>>> 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
>>>
>>>
>>>  --
>>> 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
>>
>>
>>
>  --
> 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
>

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