Good morning
I'm trying to change some settings on system using a root device. I'm trying to
change the speech rate of the TTS.
I use this code to do that:
int _value = 100; // sample value
Settings.Secure.putInt(this.getContentResolver(),
Settings.Secure.TTS_DEFAULT_RATE, _value);
Settings.Secure.putInt(this.getContentResolver(),
Settings.Secure.ACCESSIBILITY_ENABLED, 0);
Settings.Secure.putInt(this.getContentResolver(),
Settings.Secure.ACCESSIBILITY_ENABLED, 1);
the problem is the application need these permissions in the manifest file:
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
I am using a rooted device but the application is still not working.
Please, could you give me any suggestions?
thanks in advance
Regards
Jonathan Chacón Barbero
Accessibility, usability and new technologies consultant
Accessibility should be a base of the project, it should not be a patch of the
product
Tlf/Phone: +34 679953948
e-Mail: [email protected] | [email protected]
Blog: http://www.programaraciegas.net
Twitter: http://www.twitter.com/jonathanchacon
LinkedIn: http://es.linkedin.com/in/jonathanchacon
Facebook: http://www.facebook.com/jonathan.chacon.barbero
Messenger: [email protected]
GTalk: [email protected]
Skype: Tyflos_
FaceTime: [email protected]
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.