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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:22:54+00:00 2026-06-12T09:22:54+00:00

At first, this might not seem the proper place to ask this… But since

  • 0

At first, this might not seem the proper place to ask this… But since I’ve only noticed this problem with my own app, I guess there’s no other place to ask it. Maybe I’m doing something wrong, but I have no clue what…

As you are probably aware, ICS allows you to take a screenshot of the screen pressing Power + VolumeDown. I own an HTC One X and the shortcut is Power + Home. I don’t know if this changes anything (maybe someone with a Galaxy Nexus could try it out).

My own app, Notification Agenda (I’m not going to link it so I’m not accused of SPAM or something similar but there’s really no way I can post this question without self-advertising my app cause), doesn’t allow me to take screenshots with the above key combination with my One X. I can take screenshots of any other app but it doesn’t work on my own…

What the hell do you think I’m doing to “disable” this? My app is very simple and there’s not much going on for this to happen. Any ideas?

Every time I try to take a screenshot of my app, I get this in logcat:

08-24 00:15:40.570: E/InputManager-JNI(277): An exception was thrown by callback 'interceptKeyBeforeDispatching'.
08-24 00:15:40.570: E/InputManager-JNI(277): java.lang.StringIndexOutOfBoundsException: length=83; regionStart=-1; regionLength=83
08-24 00:15:40.570: E/InputManager-JNI(277):    at java.lang.String.startEndAndLength(String.java:593)
08-24 00:15:40.570: E/InputManager-JNI(277):    at java.lang.String.substring(String.java:1474)
08-24 00:15:40.570: E/InputManager-JNI(277):    at com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeDispatching(PhoneWindowManager.java:2375)
08-24 00:15:40.570: E/InputManager-JNI(277):    at com.android.server.wm.InputMonitor.interceptKeyBeforeDispatching(InputMonitor.java:307)
08-24 00:15:40.570: E/InputManager-JNI(277):    at com.android.server.wm.InputManager$Callbacks.interceptKeyBeforeDispatching(InputManager.java:663)
08-24 00:15:40.570: E/InputManager-JNI(277):    at dalvik.system.NativeStart.run(Native Method)

That doesn’t happen when the screenshot works. Instead a bunch of other calls to the screenshot app and many other things are logged.

Why is my app preventing the screenshot and generating the error above?

  • 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-12T09:22:54+00:00Added an answer on June 12, 2026 at 9:22 am

    I would check if the app that takes the screenshot (the one that react to the key combination you talk about) is registered as system app. Android by design stops apps from sharing framebuffer, so any app trying to take screenshots won’t do.

    Dig deeper on that app’s behavior and design.

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

Sidebar

Related Questions

This question might not seem programming related at first, but let me explain. I'm
This might at first glance seem rather similar to this question , but in
Note: This might seem like a Super User question at first, but please read
This is a lot more complicated than it might seem at first. What I
Possible Duplicate: Foursquare API for venue user image error I first noticed this problem
Ok so this might be a dumb question, but I can't seem to figure
This might seem a bit silly, but I want to try and solve this
This might seem trivial, but I'm new to JS. I have this piece of
I know this might sound easy. I thought about using the first dot(.) which
(This might be better in the TestComplete forums, but I thought I'd give it

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.