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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:19:33+00:00 2026-05-24T22:19:33+00:00

I received the following error report from a couple of different users running Android

  • 0

I received the following error report from a couple of different users running Android 2.2. I cannot reproduce it locally.

java.lang.SecurityException: Permission Denial: writing com.android.providers.settings.SettingsProvider uri content://settings/system from pid=15121, uid=10063 requires android.permission.WRITE_SETTINGS
    at android.os.Parcel.readException(Parcel.java:1247)
    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
    at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
    at android.content.ContentResolver.insert(ContentResolver.java:587)
    at android.provider.Settings$NameValueTable.putString(Settings.java:556)
    at android.provider.Settings$System.putString(Settings.java:753)
    at android.provider.Settings$System.putInt(Settings.java:836)
    at android.widget.MediaController.dolbySwitch(MediaController.java:835)
    at android.widget.MediaController.access$1100(MediaController.java:89)
    at android.widget.MediaController$6.onClick(MediaController.java:763)
    at android.view.View.performClick(View.java:2408)
    at android.view.View$PerformClick.run(View.java:8816)
    at android.os.Handler.handleCallback(Handler.java:587)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:123)
    at android.app.ActivityThread.main(ActivityThread.java:4669)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:521)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
    at dalvik.system.NativeStart.main(Native Method)

My code should not be attempting to change any settings — I just create a simple VideoView with MediaController and have it load a URI.

The error seems extremely rare, so it’s not a huge problem, but I don’t understand what would be causing it.

Edit: By request, here’s the code for the VideoView & MediaController:

  private void videoViewInit() 
  {
      videoView = (VideoView)findViewById(R.id.videoView);
      MediaController mediaController = new MediaController(this);
      mediaController.setAnchorView(videoView);
      mediaController.setMediaPlayer(videoView);
      videoView.setMediaController(mediaController);
      videoView.setOnErrorListener(new MediaPlayer.OnErrorListener() {
            @Override
            public boolean onError(MediaPlayer mp, int errorType, int extra) {
                    return false;
            }});
      videoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener(){
            @Override
            public void onPrepared(MediaPlayer mp) {
                  videoView.requestFocus();
            }});
      videoView.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
            @Override
            public void onCompletion(MediaPlayer mp) {
            }});
  }

  protected void videoViewDisable()  {
      videoView.stopPlayback();
  }

  private void videoViewLoad(Uri uri) {
      if( uri == null || uri.toString().equals("") )
          return;

      if( videoView == null )
              videoViewInit();

      videoView.setVideoURI( uri );
      videoView.start();
  }
  • 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-24T22:19:33+00:00Added an answer on May 24, 2026 at 10:19 pm

    Add this permission to manifest file

     < uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I received an error report with the following stack trace for an app I
I received the following error: Undefined symbols: _OBJC_CLASS_$_SurveyDelegate, referenced from: objc-class-ref-to-SurveyDelegate in Menus.o ld:
I'm running Ubuntu 8.04 and I recently received the following error when visiting a
I received the following error: [27-Apr-2009 10:26:06] PHP Fatal error: Cannot redeclare alphanumeric() (previously
On several occasions I have received the following error from a .Net (C#, 4.0)
I received the following error when I tried to run a C# WinForms application
I have only just started received the following error in my windows forms application
In a way following on from reading a windows *.dmp file Having received a
I am received the following error while trying to implement a C# extension function
I installed the latest stable xampp package, and received the following error page when

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.