How to change accessibilty settings in android phones ? - Java for Android App Development

I am thinking of making an app for android in which if I select a word in any other app in android phone then a strip come above it. In this strip there is a button named meaning if user click on this button, then its meaning come as a pop-up or in form of notification. These meaning will come from a database of dictionary which will be provided with app.
I just want to know how to change accessibility settings of phone so that if any word is selected anywhere in the phone, strip with meaning button come.

Related

Owner Information

How the Hell do you enter owner info on the start screen. you know the "this device belongs to: "
was wondering about this too...if there is a lock screen (like the pattern thingie) so when someone finds it they cant open it, how will they know whos phone it is?!?! All my other phones I could put in something like, if found, please call ##...
friguy3 said:
was wondering about this too...if there is a lock screen (like the pattern thingie) so when someone finds it they cant open it, how will they know whos phone it is?!?! All my other phones I could put in something like, if found, please call ##...
Click to expand...
Click to collapse
For pattern lock: Settings > Location & Security > Security Lock
From there you can do a passcode or the pattern. I personally use pattern because it can replace the slide to unlock all together while keeping it secure.
I got the pattern lock....but what about adding a note or your personal contact information, thats whats missing...thanks
If there is a way, I haven't found it. I know you can do it on rooted devices, depending on how the rom is set up, but as far as the droid x, I haven't seen a way to do it. You can download an app from the market that will call your phone if you lose it. Also there are apps that will find your phone on GPS. I know this isn't really what your wanting to do, but it will help you if it gets lost.
after many hours on the net I found the answer. you get this by installing the antivirus program from the apps market. you change the "this phone belongs to:" by going to the antivirus program and pressing the menu button form there go to settings, then remote management and finely lost message. you can change the whole message
antirice said:
after many hours on the net I found the answer. you get this by installing the antivirus program from the apps market. you change the "this phone belongs to:" by going to the antivirus program and pressing the menu button form there go to settings, then remote management and finely lost message. you can change the whole message
Click to expand...
Click to collapse
That's just specific to that app. There is no way on the stock rom to set this information you are looking for. Just add a contact called Me to your contact list. That way if you lose the phone, somebody may call you (If they don't keep the phone)
antirice said:
after many hours on the net I found the answer. you get this by installing the antivirus program from the apps market. you change the "this phone belongs to:" by going to the antivirus program and pressing the menu button form there go to settings, then remote management and finely lost message. you can change the whole message
Click to expand...
Click to collapse
Too much work for something too small I think.
One way is to update your wallpaper image to have the text you want (using your favorite image editor). Of course then it'll show on the normal home/launcher as well. But a short "Belongs to John Doe, (555) 555-5555" towards the bottom-center should work.
just found WidgetLocker Lockscreen. I havent tried it yet but I guess you can put widgets on the lock screens so I can put a note there with all this information...worth a try

[REF] Stock Firmware - Features Hints and Tips

Below you will find a list of tips for the Galaxy S III - Stock Firmware. I will try to keep this list updated with more tips as they come in.
Alphabetical Sorting of the Apps Drawer
1) Open the apps drawer
2) Press Menu
3) Select “view type”
4) Select “Alphabetical Grid”
Turning on Swype Keyboard
1) Press Menu
2) Press Settings
3) Select Language and Input
4) Press the settings icon (the cog) next to “Samsung Keyboard”
5) Tick “Continuous Input”
Please note: this appears to only let you Swype in certain applications and text boxes
Adjusting the Lock Screen Settings - including shortcut icons
1) Press Menu
2) Press Settings
3) Press Security
4) Press Lock Screen Options
To Change shortcuts:
Press Shortcuts
To Use s-voice to unlock phone:
Tick “Wake up in Samsung Unlock”
To create your own vibrate pattern
1) Press Menu
2) Press Settings
3) Press Sound
4) Press “Device Vibration”
5) Press “Create”
6) Tap the screen to the pattern you wish to vibrate
7) Press Save
To turn on Battery Percentage Indicator
1) Press Menu
2) Press Settings
3) Press Display
4) Tick “Display battery percentage”
To enable Smart Stay - Screen stays on while you look at it
1) Press Menu
2) Press Settings
3) Press Display
4) Tick “smart stay”
Please note: An indicator of an eyeball will flash on the notifications bar when it is activating, it does not stay on forever, it only flashes on when its letting you know smartstay is keeping your screen on for an additional however many seconds.
How to activate some motion features e.g. direct call and smart alert
1) Press Menu
2) Press Settings
3) Press Motion
4) Press the toggle on the features you wish to use
--Reserved--
Swype
Is Swype available on stock fw, if yes how could it be activated?
It's all in the first post! It's kind of like a cut down version, it's a mash up of the samsung keyboard and swype.
I have installed the swype beta, and while on the s3 the swype keyboard height is about a third shorter than other keyboards I still prefer it over the stock.
If you want a real swype experience then your better off applying for the beta, the version in the s3 is very limited.
Sent from my GT-I9300 using Tapatalk 2
Lennyuk said:
If you want a real swype experience then your better off applying for the beta, the version in the s3 is very limited.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
For some reason the Swype installer doesn't work on mine. When I run it, I get a parsing error.
I'm quite liking the built in Samsung 'swype' feature. But then i'm new to this kind of input, but it's def quicker and more accurate for me than using the standard way. My girlfriend loves Swiftkey on her GSII though and i may try that at some point.
In regards to tips, when in the contact list, you can swipe along the right hand side and flick through the alphabet quicker, as usual, but if you push your finger further left while doing this it will then narrow the search even more.
Hope that makes sense!
stripealipe said:
I'm quite liking the built in Samsung 'swype' feature. But then i'm new to this kind of input, but it's def quicker and more accurate for me than using the standard way. My girlfriend loves Swiftkey on her GSII though and i may try that at some point.
In regards to tips, when in the contact list, you can swipe along the right hand side and flick through the alphabet quicker, as usual, but if you push your finger further left while doing this it will then narrow the search even more.
Hope that makes sense!
Click to expand...
Click to collapse
I won't include that in the first post as it is not s3 specific. But thanks anyway
Sent from my GT-I9300 using Tapatalk 2
@LennyUK How about including how to activate Direct Call & Smart Alert as it's deactivated by default.
Go to Settings -> Motion -> Direct Call / Smart Alert
Does anyone know how and where Tap to Top works?
Sent from my GT-I9300 using xda premium
musafir84 said:
@LennyUK How about including how to activate Direct Call & Smart Alert as it's deactivated by default.
Go to Settings -> Motion -> Direct Call / Smart Alert
Does anyone know how and where Tap to Top works?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
After activating it from motion settings, gently double tap on the top of the phone to go to the top of a list, unfortunately it only works in contacts and email. Another thing is that it sometimes needs more than one trial to work!
sevoflurane said:
After activating it from motion settings, gently double tap on the top of the phone to go to the top of a list, unfortunately it only works in contacts and email. Another thing is that it sometimes needs more than one trial to work!
Click to expand...
Click to collapse
Thanks! And you are right... It does indeed take more than once to work...
Sent from my GT-I9300 using xda premium
Install call vibrate from market to allow vibration when call is activated or deactivated
Sent from my GT-I9300 using xda premium
Must install Light flow from market as well. It uses the LED function of SIII to max. You can customize 8~9 colors for various alerts. e.g i use orange for low battery, red for missed calls, green for missed sms, white for charging, green for full charge, blue for no signal etc.
Although sometimes the charging light doesn't come on when playing around with phone and switching it to sleep mode but hopefully fix will fix this issue.
Must have app though
Enable Palm swipe to capture from Settings -> Motion and show it off to iPhone users...
Sent from my GT-I9300 using xda premium
Swype
Plexicle said:
For some reason the Swype installer doesn't work on mine. When I run it, I get a parsing error.
Click to expand...
Click to collapse
I managed to get Swype installed on my stock Pebble Blue.
Got Swype Installer & attempted for about 10 times over Wifi before it finally started downloading.
Before that, I kept getting the "Parsing.." error.
There was nothing new / different in my attempts - just had to keep hammering at it to download.
Just found these neat tricks on http://www.gsmarena.com/samsung_galaxy_s_iii-review-757p3.php
"There's one more trick - you wake the phone (tap the power button or the home key), then press and hold the screen and rotate the phone horizontally. It will unlock and start the camera as soon as it's in the right orientation to snap a photo"
"Shaking the device lets you detect nearby Bluetooth devices, as well as update your email, news or weather apps."
sak500 said:
Must install Light flow from market as well. It uses the LED function of SIII to max. You can customize 8~9 colors for various alerts. e.g i use orange for low battery, red for missed calls, green for missed sms, white for charging, green for full charge, blue for no signal etc.
Although sometimes the charging light doesn't come on when playing around with phone and switching it to sleep mode but hopefully fix will fix this issue.
Must have app though
Click to expand...
Click to collapse
Light flow is really nice but it didn't work as i wanted it to...
after install and reboot of the phone all suddenly it started to speak if i opened a folder or closed one so i had to remove it for a while lets hope the developer will fix that bug lol
A great alternative!!
Touchpal keyboard is an awesome alternative for swype.
Download it from playstore.
If anyone's phone feels a little sluggish (I know mine doesn't) you could try enabling 2D hardware acceleration to make it a bit more snappy
(settings->developer options->force gpu rendering)
please note this may drain your battery more than usual
Freakadroidz said:
I managed to get Swype installed on my stock Pebble Blue.
Got Swype Installer & attempted for about 10 times over Wifi before it finally started downloading.
Before that, I kept getting the "Parsing.." error.
There was nothing new / different in my attempts - just had to keep hammering at it to download.
Click to expand...
Click to collapse
How does it look on your phone? Is it a shorter keyboard as I've reported in the q and a forum? (as in it's height is about a third shorter than other keyboards).

[guide] Disable Hardware buttons on the fly

So for a long time the only issue I have with this device is that while writing on the device, or holding it watching videos or similar accidental pressing of the hardware buttons can be a pain. I always thought it would be ideal to quickly be able to turn the hardware buttons on and off. As it turns out this was always available without root, but not obviously, so if this is of interest read below:
To disable the hardware buttons you need to enable interaction control. This allows you to disable access to certain parts of the screen (not needed), and is typically intended for expo type use, or giving the tablet to children. However while active this mode also cuts all input from the home, back and menu buttons ( ).
Open settings, Device, Accessibility, then scroll all the way to the bottom, and turn on interaction control.
If you read the text it tells you that this can be enabled with the home/volume down combo, or a triple press of home if enabled in "direct access". All good, if you are happy with the home/volume down combo you are all set. However the problem is that I would prefer the triple home option, and in my current rom based on stock 4.4.2 (and possibly therefore on stock as well) Samsung seems to have completely omitted the "direct access" option within the settings menu.
Without the ability to activate "direct access" you are stuck with the home/volume down combo as the only way to enable/disable the feature. However I noticed that the "direct access" menu option was available on my galaxy s4, and that Samsung gives the option to import/export accessibility settings between devices. So I quickly enabled the triple home option on my s4, exported the accessibility options and imported them onto my note 10.1 2014. This worked perfectly, and I can now enable or disable the hardware keys with a simple triple press of the home button.
For those of you without access to another samsung device here is the accessibility settings file to import
https://www.dropbox.com/s/i0uy6xm1nc3jbf7/Accessibility Settings20140926.sasf?dl=0
This doesn't work for me. I get an error telling me it cannot activate while multi-window is in use, even though only one window is open when I attempt this.
mentaluproar said:
This doesn't work for me. I get an error telling me it cannot activate while multi-window is in use, even though only one window is open when I attempt this.
Click to expand...
Click to collapse
You have to un-check multi-window option from pulled down notification first. Samsung should change the meassage to " disable multi window option " rather than say "while multi-window is in use"
Sent from my SM-P600 using Tapatalk
Nice. Thank you.
thank you for this. I will be using it later
How do you import?
enotar said:
How do you import?
Click to expand...
Click to collapse
Settings, device, accessibility, manage accessibility, update, then select the file.

Low Vision: Toggle "Magnification Gestures" With Widget

Hi I just got a Nexus 6p and its been great but I have low vision and if I keep the option turned on the phone, it becomes very laggy so I would like to only use it when I need to.
Help would be greatly appreciated!
Thank you .
This isn't exactly what you wanted, but it's kind of close...
I use ADW as my launcher, which allows me to set custom shortcuts on my home screen. Other launchers might offer the same functionality.
I long pressed on my home screen and selected the Add tab on the popup. I then tapped Custom Shortcut, and tapped "Pick your activity." Next, I tapped Activities, scrolled down to Settings and expanded the list. It's rather long, but in that list there is one called "Accessibility(.Settings$AccessibilitySettingsActivity)". I selected that one, gave it a name (what it displays under the icon), and pressed OK. This created a settings gear icon on my home screen that when tapped goes straight to the accessibility options in the settings menu, and then you can tap the toggle for Magnification.
Alternatively, you should be able to do the same thing with Tasker if you have it installed and it's a bit easier. Make a new Task, give it a title (anything) and press the plus to add a step. Select Settings, then Accessibility settings (first option). There is some "if" options, but you can just tap your back button to go back to the step list. Create a widget for Tasker (1x1 task) and select the name of the task you just created. You then need to select an icon for the "widget" by tapping the icon in the lower right that looks like 9 squares in a grid. There are a bunch of built in icons you can choose from, or use your own. The result will be an icon on your desktop that goes to the accessibility options screen, allowing you to quickly toggle the magnification gesture.
Again, sorry this isn't exactly what you asked for, but it would save some taps. Luckily the mag gesture toggle is high enough in the list of options that it should always be on the screen when you open the accessibility settings, so you won't need to scroll.
Lastly, if you are rooted, you could use Tasker to also hit the toggle for you. If you want instructions for that, please do let me know and I'd be happy to share how to do that. It would allow you to tap the "widget" and it would then launch the accessibility settings, wait a second and then tap the toggle, and go back to the home screen. That way you wouldn't need to toggle it yourself.
fury683 said:
This isn't exactly what you wanted, but it's kind of close...
I use ADW as my launcher, which allows me to set custom shortcuts on my home screen. Other launchers might offer the same functionality.
I long pressed on my home screen and selected the Add tab on the popup. I then tapped Custom Shortcut, and tapped "Pick your activity." Next, I tapped Activities, scrolled down to Settings and expanded the list. It's rather long, but in that list there is one called "Accessibility(.Settings$AccessibilitySettingsActivity)". I selected that one, gave it a name (what it displays under the icon), and pressed OK. This created a settings gear icon on my home screen that when tapped goes straight to the accessibility options in the settings menu, and then you can tap the toggle for Magnification.
Alternatively, you should be able to do the same thing with Tasker if you have it installed and it's a bit easier. Make a new Task, give it a title (anything) and press the plus to add a step. Select Settings, then Accessibility settings (first option). There is some "if" options, but you can just tap your back button to go back to the step list. Create a widget for Tasker (1x1 task) and select the name of the task you just created. You then need to select an icon for the "widget" by tapping the icon in the lower right that looks like 9 squares in a grid. There are a bunch of built in icons you can choose from, or use your own. The result will be an icon on your desktop that goes to the accessibility options screen, allowing you to quickly toggle the magnification gesture.
Again, sorry this isn't exactly what you asked for, but it would save some taps. Luckily the mag gesture toggle is high enough in the list of options that it should always be on the screen when you open the accessibility settings, so you won't need to scroll.
Lastly, if you are rooted, you could use Tasker to also hit the toggle for you. If you want instructions for that, please do let me know and I'd be happy to share how to do that. It would allow you to tap the "widget" and it would then launch the accessibility settings, wait a second and then tap the toggle, and go back to the home screen. That way you wouldn't need to toggle it yourself.
Click to expand...
Click to collapse
Thanks a lot!
So it sounds like theres no way to make a widget the will toggle it specifically, without rooting my device.
And if I do root it and use Tasker it will take almost the same time as if I didn't.
If thats no other way then I guess I should root it even though Id prefer not too.
Unless theres another way, Instructions would be great! Thanks again!
Are you familiar with Tasker? It's a paid app, but it's absolutely worth it and you'll find lots of uses for it. I use it to auto reply to text messages while I'm driving, mute my phone when I'm at work (calendar based) turn on wifi when I'm at home (location based), etc.
First thing you need to do is find the location of the toggle on the screen. Go to Developer Settings and turn on "Show Pointer Location". This will make a gray bar at the top of your screen that lists your X and Y coordinates at the top when you are touching the screen. Go to the accessibility settings and touch the toggle, taking note of what the X and Y coordinates are for that touch input.
To simulate touch input, can make a task that opens the accessibility settings as I described above, then add a "wait" command (Task > Wait), enter a value of 1 second. Next enter a command for Code and select Run Shell. Under the command, type "input tap x y" where x and y are the x and y coordinates that you found for the toggle. Make sure the "use root" box is checked. Lastly, add a Tasker command to go to the home screen (back to where you started with the "widget").
Back all the way out of Tasker to save that task, then go back in and press the play button at the bottom left side to test your setup. You should see it launch the accessibility settings, wait a second, toggle, and go home. The first time you run it you will need to grant Tasker root permissions, so be ready for that. If you're not quick to approve it, the task may proceed and go to your home screen before you press approve, so you might need to run it again a second time after you approve it.
If you need more help with, or have any questions, please do let me know. Happy to help.
fury683 said:
Are you familiar with Tasker? It's a paid app, but it's absolutely worth it and you'll find lots of uses for it. I use it to auto reply to text messages while I'm driving, mute my phone when I'm at work (calendar based) turn on wifi when I'm at home (location based), etc.
First thing you need to do is find the location of the toggle on the screen. Go to Developer Settings and turn on "Show Pointer Location". This will make a gray bar at the top of your screen that lists your X and Y coordinates at the top when you are touching the screen. Go to the accessibility settings and touch the toggle, taking note of what the X and Y coordinates are for that touch input.
To simulate touch input, can make a task that opens the accessibility settings as I described above, then add a "wait" command (Task > Wait), enter a value of 1 second. Next enter a command for Code and select Run Shell. Under the command, type "input tap x y" where x and y are the x and y coordinates that you found for the toggle. Make sure the "use root" box is checked. Lastly, add a Tasker command to go to the home screen (back to where you started with the "widget").
Back all the way out of Tasker to save that task, then go back in and press the play button at the bottom left side to test your setup. You should see it launch the accessibility settings, wait a second, toggle, and go home. The first time you run it you will need to grant Tasker root permissions, so be ready for that. If you're not quick to approve it, the task may proceed and go to your home screen before you press approve, so you might need to run it again a second time after you approve it.
If you need more help with, or have any questions, please do let me know. Happy to help.
Click to expand...
Click to collapse
I just realized I need to buy an adapter for that USB C lol.
Before I go ahead with all of this work, your completely sure there is no other way to toggle magnification without rooting?
Thanks!
drewtass said:
I just realized I need to buy an adapter for that USB C lol.
Before I go ahead with all of this work, your completely sure there is no other way to toggle magnification without rooting?
Thanks!
Click to expand...
Click to collapse
Sorry for the delay. I am not aware of any widgets. I couldn't find a widget on the Play Store or light Google searching.
Regarding the adapter, the 6p should have come with a short USB A to USB C cable specifically for connecting to a PC.
drewtass said:
Hi I just got a Nexus 6p and its been great but I have low vision and if I keep the option turned on the phone, it becomes very laggy so I would like to only use it when I need to.
Help would be greatly appreciated!
Thank you .
Click to expand...
Click to collapse
Have you used the built in magnification gesture? You turn it on in accessibility settings, then when you need something to be bigger, just tap the screen 3 times rapidly. You can use pinch to zoom to adjust the text size. When you're finished with it, tap the screen 3 times again. I use it when an app's text is just too small.
EMcTx said:
Have you used the built in magnification gesture? You turn it on in accessibility settings, then when you need something to be bigger, just tap the screen 3 times rapidly. You can use pinch to zoom to adjust the text size. When you're finished with it, tap the screen 3 times again. I use it when an app's text is just too small.
Click to expand...
Click to collapse
Haha Yes I have tried it you have to tap your finger 3 times to magnify which means every time you tap something once it waits to see if you will tap more times and cause slight lag.
Niceeee idea bro, i will try it
moqueet said:
Niceeee idea bro, i will try it
Click to expand...
Click to collapse
Are you saying you will try to make a widget like this?
fury683 said:
Sorry for the delay. I am not aware of any widgets. I couldn't find a widget on the Play Store or light Google searching.
Regarding the adapter, the 6p should have come with a short USB A to USB C cable specifically for connecting to a PC.
Click to expand...
Click to collapse
No problem!
Lol I was so excited for my new phone I never checked but I found it !
Thanks I will root it when I get the chance.
i have the same exact problem,i absolutely love the feature as i wouldn't be able to use any phone with out it but it also gets frustrating sometimes (the touch delay) for example in the dialer app or Instagram.
a toggle in the notification panel would be great or an app through which you specifically enable/disable the gestures for each individual app.
any other alternative would be appreciated, somebody posted the same issue here with a possible fix (which i am not exactly sure how to implement) https://code.google.com/p/android/issues/detail?id=39685
hassanabid94 said:
i have the same exact problem,i absolutely love the feature as i wouldn't be able to use any phone with out it but it also gets frustrating sometimes (the touch delay) for example in the dialer app or Instagram.
a toggle in the notification panel would be great or an app through which you specifically enable/disable the gestures for each individual app.
any other alternative would be appreciated, somebody posted the same issue here with a possible fix (which i am not exactly sure how to implement) https://code.google.com/p/android/issues/detail?id=39685
Click to expand...
Click to collapse
Nice to know I'm not the only one.
Sorry for the late reply been busy with school. It would be nice to have this option maybe like a button shortcut .
Hey guys so that way of using tasker is very slow and not feasible.
Is there any other way of making a quick toggle magnification gestures. It would be nice if I could hold the menu button to enable it. (IPhone tripple tap home button to toggle)
Thanks again.
I have low vision as well and have also found that leaving the magnification gesture turned on causes the phone to be laggy even when I don't actually have the magnification turned on. Instead of using that, I rooted my phone, changed the global DPI and I use App Settings (an Xposed module) to increase the font size in some apps or force the standard DPI in apps that have issues with the custom one.
There's a gestural workaround I've employed: if instead of just putting down my finger I drag my finger slightly (in any direction) then the lag almost disappears. Doing this helps a lot but obviously its a bit of an awkward gesture.
Al--g said:
There's a gestural workaround I've employed: if instead of just putting down my finger I drag my finger slightly (in any direction) then the lag almost disappears. Doing this helps a lot but obviously its a bit of an awkward gesture.
Click to expand...
Click to collapse
How did you set it up?
There's no set up. I just do that gesture to get the scrolling to stop when I have magnification enabled.
GuinnessX said:
How did you set it up?
Click to expand...
Click to collapse

Factory Mode Test

Many would have noticed a system app called "Factory Mode" in stock FW. And I have been trying many codes but could never enter factory mode. An app from Google Store does the trick easily.
An app called "Shortcut Master (Lite)" can be used to test many functions of sub devices in Le Max 2 as below:
1. Install the above said app from Google Play Store.
2. Open the app and the first page shows some mini details about how to use it.
3. Touch on the 3 vertical dots on right top. It provides a list of options like "Secret Code Explorer", "App Explorer", etc.
4. Select "Search" and at the bottom where it says "Enter text to search" type "factory" - case does not matter.
5. The app will search and show list of apps with "factory" as part of keyword.
6. Select "FactoryMode" - com.letv.factory.MainActivity. Three options will pop up. Select "Launch".
7. It will popup another screen with multiple options to run tests in Chinese and English.
WARNING: Do not touch second button with Chinese caption on column one below -SUB_MMI button. It will force factory reset without any warning.
8. 4 of the buttons are in Chinese and 4 are in English.
SUB_MMI - Option 1 processes auto sequential testing up to proximity sensor if I am right.
Option 2 tests LCD - for colors, intensity, side buttons, navigation button. Only back could be tested as Home and Menu behaves exactly like they are.
Third button in Chines opens a list of all sub devices and the selection options are in English.
SL_MMI - Touching this opens up another screen and the second button inscribed in Chinese pops up another list of tests in English.
Please explore.
All navigation buttons work all the time as defined and hence test mode can be exit at any time.
I do not know if Finger Print test exists and if yes where.
Hope someone who knows Chinese find out and post a detailed post. And I do hope it helps a few who wonder how to check if certain sub are working or not.
And a BIG thanks to the developer "vndnguyen" for his work on "Shortcut Master".

Categories

Resources