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

  • Home
  • SEARCH
  • 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 8925301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:39:29+00:00 2026-06-15T07:39:29+00:00

I have one configuration activity and multiple app widgets for the same app. When

  • 0

I have one configuration activity and multiple app widgets for the same app. When i install the app widget on the app widget host, first the configuration activity gets fired and then it calls the update function of the selected app widget.
Until now, i have done the following things:

1. I have created three appwidgetproviderinfo in xml file for small, medium and large app widget
2. have created three layouts for small, medium and large app widget, with the same components. These three layouts differ only in height and width.
3. have created three app widget provider class.
4. have defined these receivers in manifest file.
5. have created one configuration activiy.

Now, according to the developers guide, when an App Widget uses a configuration Activity, it is the responsibility of the Activity to update the App Widget when configuration is complete. We can do so by requesting an update directly from the AppWidgetManager.
How can a configuration activity identify whethere the app widget provider is small, medium or large ?? How can it update the multi size app widget ?

  • 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-15T07:39:31+00:00Added an answer on June 15, 2026 at 7:39 am

    Since i got no help, i tried to work around. I was unable to create a base class. So, I worked around and created a simpler solution. I create on UpdateWidgetService class. I create only one layout for all the three widgets. I defined its size in appwidgetproviderinfo.xml file. I created three recivers and called the service from all these three recievers. The service handles all the update now.

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

Sidebar

Related Questions

I have a three-page/Activity setup/configuration piece to my app. I want to have two
colleagues! My problem is: I`ve got an App Widget with Configuration Activity(min SDK -
I have a duplicated configuration file under WEB-INF directory, called configDEV.properties and configPRO.properties (one
I have created two DbContexts, one is for application configuration, the second is for
I have one XML request which I need to modify (to XML) and then
I have an app on the market which supports widgets. I've made some heavy
I have built a android widget that allows for multiple sizes 2x2 and 4x2.
In my app I have to check user location and then connect to server
How do you manage multiple configurations for Azure cache. We have one test and
i have one activity and in onCreate i load language from preferences and set

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.