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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:20:46+00:00 2026-05-25T11:20:46+00:00

Whenever i run this method for my StackView… @Override public RemoteViews getViewAt(int position) {

  • 0

Whenever i run this method for my StackView…

@Override
public RemoteViews getViewAt(int position) {

    RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item);


    Bundle extras = new Bundle();
    extras.putInt(stackWidgetProvider.EXTRA_ITEM, position);
    Intent fillnIntent = new Intent();
    fillnIntent.putExtras(extras);
    rv.setOnClickFillInIntent(R.id.widget_item, fillnIntent);
    rv.setImageViewBitmap(R.id.wigdetView, bm);
    MyTask myTask = new MyTask();
    myTask.execute();


    //Do heavy lifting here, Downloading images from a network or website.

    return rv ;
}

I get this error in the debug..

08-01 19:48:00.520: ERROR/RemoteViewsAdapter(14319): Error in updateRemoteViews(24): null
08-01 19:48:05.530: ERROR/AppWidgetService(131): Error (unbindRemoteViewsService): Connection not bound

Here is my updateRemoteiews() here…

public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

    for(int i = 0; i < appWidgetIds.length; ++i) {

        Intent intent = new Intent(context, StackWidgetService.class);
        intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]);

        intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME)));
        RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout);

        rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent);

        rv.setEmptyView(R.id.stack_view, R.id.add);

        Intent toastIntent = new Intent(context, stackWidgetProvider.class);
        toastIntent.setAction(stackWidgetProvider.TOAST_ACTION);
        toastIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetIds[i]);

        intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME)));
        PendingIntent toastPendingIntent = PendingIntent.getBroadcast(context, 0, toastIntent, PendingIntent.FLAG_UPDATE_CURRENT);
        rv.setPendingIntentTemplate(R.id.stack_view, toastPendingIntent);

        appWidgetManager.updateAppWidget(appWidgetIds[i], rv);
    }

What could the problem be??

  • 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-05-25T11:20:47+00:00Added an answer on May 25, 2026 at 11:20 am

    I just had this same issue and my problem was that the images that I was loading were too big. After commenting out the code for the images, my problem went away, so now I have to look for a workaround for that (I’m looking for a solution at https://groups.google.com/forum/#!topic/android-developers/bp8ddUGHGhE).

    This error is also accompanied by a “FAILED Binder Transaction” in the log cat.

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

Sidebar

Related Questions

I keep getting this error: Object doesn't support this property or method whenever I
Whenever I run any jython program in Eclipse, I got the following error in
I had developed an application in visual Studio 2005. whenever i run that application
whenever I try to run something in Java, Eclipse changes into the PHP perspective.
Why whenever I compile and run the following code in Visual Studio 2008: double
Is there a way to run some custom Javascript whenever a client-side ASP.NET validator
Whenever I try to add a new project to my SourceSafe repository it creates
I need a method to run every so often that does some database processing.
I'm using this helper method to turn my PartialViewResult into string and returning it
I am getting this exception when I call a DAO method which uses SessionFactory.getCurrentSession()

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.