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 8345207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:36:33+00:00 2026-06-09T06:36:33+00:00

My widget has a progress wheel on it, which is invisible by default, and

  • 0

My widget has a progress wheel on it, which is invisible by default, and whenever my service is run to do some task on the widget, it starts out by setting that wheel to visible, then calling the updateAppWidget with the remoteview containing this change.
I then go on to doing all the stuff i need to do, and at the end, in the new remoteview, i set it to invisible again, and once more call updateAppWidget.

I have tested this in the emulator on android 2.2, and on my sisters htc wildfire with 2.2.1. Both makes the widget fail(the emulator says “Problem loading widget”, while the wildfire says something “Søg” in danish, since the language is set to danish, which even so is weird that is would say “Søg” since that means “Search”), whenever its supposed to display the wheel (tried to remove only the code that works the wheel, and it worked as expected then.
The weird thing is that in android 2.3, which i have on my nexus one, it works perfectly fine. Everything as expected(Also on a 2.3 emulator). The widget i’m making is build towards 2.2.

I have tried to search but have been unable to find anyone else with this issue. Is the progressbar not supported on appwidgets in 2.2 or what? I’m at a loss as to what to do :S

  • 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-09T06:36:34+00:00Added an answer on June 9, 2026 at 6:36 am

    It is a known bug which occurs if you try to change the visibility of a ProgressBar through a RemoteViews object.

    Solution: wrap the progress bar in a Layout and use setViewVisibility() to make the Layout invisible/gone instead of the progress bar.

    Sources: Official issue & Bug details

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

Sidebar

Related Questions

I have a widget it has a button which starts another activity and that
I've an application that has a widget already and have a service which updates
My widget has a service attached to it to process various click commands which
I want to design simple app widget which has two textview and two button
I have a home-screen widget that has an icon that starts/so pose to bring
I have a activity which has a button and 2 autocomplete widget. for the
The TabHost widget has a setOnTabChangedListener() method to run code when the tab changes,
I have two tables. Widgets, which has information about each widget (Color, size, etc);
The default EditText widget has rounded corners. How do I change them to sharp
Is there some event that checks if the wx.TextCtrl widget has been deselected? Heres

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.