Instead of cursor position you might use the position where the screen
is touched, using dispatchTouchEvent(). For retrieving labels
(strings) of running programs you likely need to dig deep into

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree

while anything you would change there will not be available to (blind)
end users with production devices.

By the way, I similarly inquired about future screen reader
functionality last month in a post at

http://groups.google.com/group/tts-for-android/browse_frm/thread/ef1e91b4c84cfc79

but that discussion did not yield much feedback yet.

Regards


On Feb 12, 7:46 pm, redmapleleaf <redmaplel...@gmail.com> wrote:
> You have described pretty much what I think is needed to be done. Text
> capture must be done at the lowest level so that it can span all the
> applications. And so my next question is how can this be done? Is
> there a low level api can the screen reader application can tap into
> to retrieve the text string? For this to work, I imagine there must be
> two support functions
>
> 1. function1: when called return the coordinate of the cursor
> 2. function2: called with the cursor coordinate and return the near by
> text string whenever possible
>
> Is there any such function in the android sdk???

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to