hai, sorry for my bad english i have a project to modify android phone
for blind people, thus i use android text to speech. I've managed to
create a SMS and phone application using TTS library from http://
code.google.com/p/eyes-free/ and use myTTS.speak to speak a text. the
problem comes when i use talkback to speak other application like a
launcher, browser etc. when i use talkback they can speak those app,
but when i open my app ( SMS and Phone) there are two sound, first
from talkback and from built in myTTS.speak in my app, how i can
disabling talkback only in my app(SMS and Phone)?so the speak only
come from my app built in TTS, because i'll need talkback when i open
other app
Thanx
--
For Android accessibility documentation, click on this link:
http://eyes-free.googlecode.com/svn/trunk/documentation/android_access/index.html
You received this message because you are subscribed to the Google
Groups "eyes-free" group.
To post to this group, send email to eyes...@googlegroups.com
To unsubscribe from this group, send email to
eyes-free+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eyes-free?hl=en?hl=en
// Don't send any accessibility events since this is a fully self voicing // app. @Override public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent evt) { return true; }
And there's a couple of sample applications on the eyes-free project site e.g. RockLock, and see the following file for the example I pasted above for you.http://code.google.com/p/eyes-free/source/browse/trunk/RockLock/src/com/marvin/rocklock/RockLockActivity.java
AccessibilityServiceInfoobject and set it to have the packageNames that you are interested in. You can then do setServiceInfo with that from inside your AccessibilityService, and that tells the system to only notify you about events from those package names. Anything else will still get passed on, so this will allow your custom service to coexist with TalkBack.
| // Don't send any accessibility events since this is a fully self voicing |
| // app. |
| @Override |
| public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent evt) { |
| return true; |
| } But doesn't do anything. can you please help me out in telling me how to override this the accessibility function |
Have you tried accessibilityserviceinfo????
--
You received this message because you are subscribed to a topic in the Google Groups "Eyes-free Programming and development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eyes-free-dev/DN5FXGmyJWg/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to eyes-free-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'm developing an aplication for the visual impaired. As I'm using TTS, i want to disable all TalkBack notifications.
I've read a lot of post, but nothing seems to work. Is there any way to do this ?
Thanks !!