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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:52:20+00:00 2026-05-16T10:52:20+00:00

While developing a Launcher (Homescreen) application for Android, I’ve come into a security exception

  • 0

While developing a Launcher (Homescreen) application for Android, I’ve come into a security exception I don’t understand.

  • When calling the
    [bindAppWidgetId()][1] method from
    within my Launcher Activity, I get
    this security exception :

08-19 11:30:11.689: ERROR/AndroidRuntime(6032): java.lang.SecurityException: bindGagetId appWidgetId=99 provider=ComponentInfo{com.android.music/com.android.music.MediaAppWidgetProvider}: User 10034 does not have android.permission.BIND_APPWIDGET.

I first thought I had forgotten the BIND_APPWIDGET permission in my manifest, but it is definitely there.

The android api documentation states this :

“You need the APPWIDGET_LIST
permission. This method is to be used
by the AppWidget picker.”

I tried to add the permission android.permission.APPWIDGET_LIST, but it doesn’t solve the issue.

Also, I’ve looked at the manifest of the Settings application from the android sources that contains the AppWidgetPickActivity code : there’s a special line that asks to share user id :

“android:sharedUserId=”android.uid.system”

Could it be related to my problem ?

If anyone has an idea that would be great !

Cheers,
Laurent

  • 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-16T10:52:21+00:00Added an answer on May 16, 2026 at 10:52 am

    I’ve found an answer!

    BindAppWidgetId() is deliberately not available to applications! (security problems).

    “The android.permission.BIND_APPWIDGET
    permission is a system permission. You
    can only get that permission if your
    package is installed as a system
    package
    (installed in /system/app in
    stead of /data/app) or sign you app
    with a certificate that’s the same as
    your android image. So basicly this
    means you can only use this permission
    if you are also the creator of the
    android image on your platform/phone.”

    Here are the links to this information :

    http://groups.google.com/group/android-developers/browse_thread/thread/231245ba6d1e690f/047b9d3f776d7e54?lnk=gst&q=bindAppWidgetId#047b9d3f776d7e54

    http://groups.google.com/group/android-developers/browse_thread/thread/f24e0f484a79d529/ef84188e8533a125?lnk=gst&q=bindAppWidgetId#ef84188e8533a125

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

Sidebar

Related Questions

While developing a test case to understand serialization, I've run into what looks like
while developing an Android application that uses Rickshaw to draw some charts, I encountered
While developing Android application, from time to time I face a situation when an
While developing an application using gwt in ecliplse crashed. Now the server is running
While developing an application this is what i did : 1.Kept 320*480 as my
While developing a WinForms application, I came across what I believe is a bug
While developing my WordPress application i have a requirement where i need to show
While developing an application, I had the following problem. I wanted to return an
I'm running into a crash issue while developing an iPhone app with Core Data.
While developing a web application I want to perform certain validation check and only

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.