Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8625787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:52:01+00:00 2026-06-12T07:52:01+00:00

I have been having problems changing all refernce to this custom intent. Aka I

  • 0

I have been having problems changing all refernce to this custom intent. Aka I change the name and it no longer registers. However, more concerningly, it seems I cant get any broadcasted intents! (Except APPWIDGET_UPDATE).

<receiver android:name=".ExampleAppWidgetProvider" 
            android:label="@string/widget1name">
    <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
         <!-- <action android:name="com.eightbitcloud.example.widget.8BITCLOCK_WIDGET_UPDATE" />  -->
        <action android:name="android.intent.action.MEDIA_REMOVED" />
        <action android:name="android.intent.action.MEDIA_UNMOUNTED" />
        <action android:name="android.intent.action.MEDIA_MOUNTED" />
        <action android:name="android.intent.action.SCREEN_ON" />

     </intent-filter>
    <meta-data android:name="android.appwidget.provider" android:resource="@xml/widget1_info" />
</receiver>

With code:

@Override
public void onReceive(Context context, Intent intent) {
      Log.d(LOG_TAG, "Received intent " + intent.getAction());

The only one that fires is Appwidget_update.

Why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:52:02+00:00Added an answer on June 12, 2026 at 7:52 am

    This was to do with the my onEnabled() event, creating an alarmManager that sends the given intent again and again.

    By changing what I was recieving, I obviously filter out the old one.

    However what I failed to see, was that Eclipse was replacing my widget when I ran new code, but it never re-fires onEnabled again.

    So the old intent was still firing, and being filtered, as opposed to my new named intent.

    Restarting the phone, and/or removing the widgets and replacing them should do the trick (So OnEnabled() is fired again)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been having these really odd problems with Visual Studio 2010. At this
I have been having some problems with the test debugger in VS10. All tests
I have been having problems with creating a download list of files for a
I have a PHP application that I have been having some problems with, some
I'm working on http://lobounce.com.s138810.gridserver.com/ and have been having some problems with the slider which
I'm having problems refreshing .Net 2.0 with IIS 6. I have been able to
Lately we been having a lot of problems with our mysql server i have
I have been having this annoying problem when trying to implement a picture gallery
Good day everyone. I have been having the same problem all day at work
I have been having problems with toBase64() for awhile. I am hoping someone can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.