2

I would like to create an Android Accessibility Application/Service. This Accessibility app would be able to magnify any screen image produced by any application resident on the android device.

for example, I would like to be able to magnify...

  1. the home screen
  2. Settings menu and sub menus

I would like to magnify Text and images/icons etc..

I've googled and searched the android dev docs for hints/tips/ideas.

Sadly I've hit a dead end.

Is this type of Accessibility application impossible to develop on Android?

1 Answer 1

3

Jellybean - Android 4.2 - apparently has this functionality built-in - see this release article detailing new features in Jelly Bean: "Accessibility: Enable screen magnification to easily zoom or pan the entire screen to get a closer look. Visually impaired users can now enter full-screen magnification with a triple-tap on the screen"

Typically on mobile operating systems these features are built into the OS, and not something that a 3rd party can write; partly for security reasons (a magnifier would have access to the graphic output of other apps, so could in theory send screenshots containing sensitive information back to base on the sly) and partly because magnification is complex, in that it involves interfering with normal video output and also with touch input (touch input has to be scaled in the inverse way that the original graphics area, so that touching a magnified button goes to the right place).

There may be a way of doing this if you are prepared to root your device and poke around at the OS/driver level, but that's not going to help much if you want an app you can put in the store.

3
  • Yeah, i had seen that and tried out "triple-tap" on my android phone... and nothing happened. Also i understood the canRetrieveWindowContent covered the issue about accessing "other" windows in your AccessibilityService(?)
    – Hector
    May 30, 2013 at 12:56
  • 1
    Only to some extent; Android does have an accessibility API that 3rd parties can use, but it's almost exclusively focused on building screenreader-type apps; there's no access to graphic content - and apps that use it have to explicitly ask for this capability (using the flag you mention) and have to be explicitly enabled in control panel. So yes, that does address that security issue, but doesn't help you with magnification. (iOS doesn't even have this ability - its built-in VoiceOver screenreader is the only screenreader option there.)
    – BrendanMcK
    May 30, 2013 at 16:16
  • Also, seems magnification is not enabled by default - "The magnification option is not enabled by default and must be turned on from the magnification option in the Settings > Accessibility > Magnification"
    – BrendanMcK
    May 30, 2013 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.