[Q] How to change value for keyboard system setting (barcode scanning) - General Questions and Answers

Hi,
I'm currently in the process of turning some Nexus 7 tablets into hand-held scanners that we will use with our SAP ERP system to carry out transactions related to inventory management. I was able to configure most of the settings that I needed to and have successfully locked down the tablets causing them to act directly as kiosk type devices (yah). I have one problem left and that is when I plug the barcode scanner into the tablet (via Micro USB) it automatically disables the on screen keyboard. I'm aware that the system recognizes the scanner as a text input device and that is why it disables the on screen keyboard. I found that I can go into the SettingsLanguage & InputDefault, and change the input method for the Hardware/Physical Keyboard to off which in turn allows me to use both the on screen keyboard and the barcode scanner at the same time (perfect! right?). They need the on screen keyboard to type in their credentials with but also scan material id's, batch number, etc. with the barcode scanner. However the problem it that whenever the scanner is unplugged or the power is turned off the hardware/physical keyboard setting goes back to on thus locking the on screen keyboard from being accessed. Since we will have the tablets locked down, we will need some solution that will automatically turn this physical keyboard value to off whenever the scanner is plugged in as the user will not be able to navigate to the system settings (nor would we want them to). I initially thought that I could edit the code to change the default value for this setting to off however after some extensive research I haven’t found where this setting resides or how to change the value. I also thought if I could use a tasker like program to automatically change the setting to off whenever a physical keyboard is enabled that this would also work but I have not found a program that will allow me to automate in the details that I need. Can anyone please shed some light on this problem? Does anyone know where the value resides in the API/Android OS? It there a program that I could use to automate changing this setting whenever a physical input device (keyboard) is recognized by the system? Has anyone ever heard of someone successfully integrating barcode scanning with any android tablets (specifically SAP)?
Thank you for your time!
Cory

hello,
I assume that you have input fields in your tablet screend and when you click it a keyboard shows up. I am also searching a similar application novadays and found out this app: barcode-scanner-keyboard-for-android. you can find it in the market.
Basicly it installs a replacement keyboard to your tablet and during input if you change your stock keyboard to this, you can both scan barcode then send enter command by keystroke or other commands. when you check the link you will understand what i mean.
enjoy.

Related

[Q] Android default spell checker overrides other selection on reboot

I've just installed QuickSpell from MobiSystems on my Nexus. When I go into the Language & input section of Settings, and change which spell checker to use, my selection is not "sticky" - the setting reverts to the Android default.
When I make the selection of QuickSpell, I get a verification dialog box - "Attention! This spell checker may be able to collect all the text you type, including personal data like passwords and credit card numbers. It comes from the app QuickSpelll.Use this spell checker?" (doh! isn't that what I just selected?)
I select "OK", of course, then go on to do whatever I was going to do.
When I power off, then power back on later, this setting reverts to the Android default. It does this even if I disable the Dictionary Provider app, which seems to re-enable itself too when rebooted.
Another similar odfity in the Language & inputs settings is the "voice typing" option. This too is not sticky, even if I have all the voice-related apps even if I have all the voice function apps disabled. I'm not sure if any of these are re-enabled by reboot, but I suspect so since I know I have had to disable something(s) off this sort repeatedly.
The only system-level type modsI have is the Nova launcher. I run Lookout Premium for security, but I know that that is not the source of the problem. They quickly replied to my email about this and said that Lookout does not make changes of any kind to any settings. They merely detect what apps do in re: privacy and report on their behavior, letting the user decide whether to uninstall or continue using apps that can/do access potentially private data, include Lookout itself.
Having to re-enable QuickSpell as my default with each reboot is a pain in the fingers (carpal tunnel, you know, from a zillion years as a now-retired software engineer. A new keyboard app is next, since I really hate this one. I'll take suggestions on that too.)
Becky

[Q] Lock Screen Security

Hi, I am trying improve the security on my phone, There has been a recent report about a guy who was forced to enter his unlock screen password to border officials at the airport (although he didn't comply). This is a HUGE abuse of power and an even bigger violation of privacy.
I hope never to be in that situation, but if i am i want an easy way out so i am looking for the following solutions:
Entering a secret code / Pattern on the lockscreen that would trigger a factory reset
And / Or
A secret code / Pattern on the lockscreen that would load a "dummy" home Lanucher
as far as i can tell neither exist. Any help/Advice would be great, thanks
Just enter into the guest mode?
HOW??
aniketpatil87 said:
Just enter into the guest mode?
Click to expand...
Click to collapse
How? I mean suppose that official is infront of you , how will you switch to gusest mode wihout letting him know .... i mean in power off option ?? or any other way?
What you are describing is similar to the plausible deniability mode of Truecrypt. However Android doesn't have this function natively, and I don't see how you can implement it without doing some major modification to the system.
What about bringing a secondary phone as a distraction instead?
There is already one major bug in Google Play services 7.0.97 reported by Android Police which alllows attackers to unlock the phone without any password since it takes around 15 ~ 20 seconds to re-apply the lock. Another hole seems that attackers could steal your phone if your phone just gets into the standby mode with disabled sceen. There are general known attacks with such smart-lock enabled function which allows to bypass the pin.
not sure if this is relevant , but on any phone i've owned with a 'swipe-down-status-bar' when phone is showing lock screen all i have to do is swipe the status bar down and can click on any icon to bypass lockscreen then back out of that setting , i.e. settings , apps , wifi , etc. and will be on home screen.
"all I can really do , is stay out of my own way and let the will of heaven be done"
mrrocketdog said:
not sure if this is relevant , but on any phone i've owned with a 'swipe-down-status-bar' when phone is showing lock screen all i have to do is swipe the status bar down and can click on any icon to bypass lockscreen then back out of that setting , i.e. settings , apps , wifi , etc. and will be on home screen.
"all I can really do , is stay out of my own way and let the will of heaven be done"
Click to expand...
Click to collapse
That only works if you didn't set any password lock.
I have es file manager, and i zip and password protect files or folders wich i need but dont want people finding if my phone ever gets stolen. you can check that out.
Maybe there's gonna be something I oversee, but you could (easily) do this with Tasker.
You could use tasker to make an 'app' to login with a different profile on your android. By opening that app, you go into a self-defined stealth-mode, where you disable everything you want to hide and where you open a minimal homescreen.
Tasker + Secure Settings should have all the tools you need to set it up without destroying your real security.
Maybe dual booting to an empty ROM with sdcard access removed and only a small amount of fake information down on the device?
Would not help if they decided to copy your entire devices info for a close exam but should fool most guards into thinking you don't use your phone much.
Just reboot into that ROM at any time you think anyone would ever check.

Android app or setting to sleep screen on keyboard unplug?

I have a keyboard and mouse hub connected to my Motorola XT1575 phone (Android 6.0) and my PC. So, am typing this question into my phone with my keyboard. I can then use a hotkey to switch the keyboard & mouse to my PC.
Currently, my phone sleeps after 2 minutes of inactivity. What I'd like is for this to be overridden when the phone detects the keyboard has been unplugged. In other words, when the hub detects a keyboard shortcut and routes the keyboard input away from the phone, the phone's screen would go dark.
Surprised that I couldn't find an app to support this. Would love to hear that I overlooked one or that there's a setting to do what I need. If not, I am a developer, though never programmed on Android, and would love to hear suggestions on how difficult this would be to code.
buttonsrtoys said:
I have a keyboard and mouse hub connected to my Motorola XT1575 phone (Android 6.0) and my PC. So, am typing this question into my phone with my keyboard. I can then use a hotkey to switch the keyboard & mouse to my PC.
Currently, my phone sleeps after 2 minutes of inactivity. What I'd like is for this to be overridden when the phone detects the keyboard has been unplugged. In other words, when the hub detects a keyboard shortcut and routes the keyboard input away from the phone, the phone's screen would go dark.
Surprised that I couldn't find an app to support this. Would love to hear that I overlooked one or that there's a setting to do what I need. If not, I am a developer, though never programmed on Android, and would love to hear suggestions on how difficult this would be to code.
Click to expand...
Click to collapse
One word, "Tasker"
Its the best automation app on the Playstore.
All you have to do is create a profile with the different variables. For example;
Keyboard detected->Keep screen on.....sorta like IFTTT.

Can anyone tell me how to decrypt a pixel 3 with ADB?

Pretty much exactly what it says in the title. I'm blind and use a screen reader, it just so happens that my screen reader of choice at the time has a bug that prevents it from bypassing encryption after reboot. As such I'm unable to do anything because I don't have speech, and unable to enable talkback or another working screen reader because my accessibility shortcut is configured to toggle the previously mentioned broken one. Would rather like to fix this without erasing the phone entirely if at all possible.
Thanks.

auto boot delay

Hello,
I'm curious I can get some help. I have an android box that hooks up to my TV. I have an app I use called "Key Mapper" that allows me to remap my keyboard keys so I can create shortcuts. One of the issues I find with the app is that sometimes I have to exit out of it and reopen it and re-enable accessibility within the App.
In Android Settings I already have accessibility enabled so it should be good, but when I reboot the device it seems to always stop working until I close out of the process and re-open it up.
My theory is that maybe I need to delay the auto boot of the application. It starts up with Android automatically but if I can have it delayed start that may resolve the issue. Is there an app or some way I can adjust the auto boo setting to delay it say 10 seconds after Android loads up?
m0d hipp¥ said:
Hello,
I'm curious I can get some help. I have an android box that hooks up to my TV. I have an app I use called "Key Mapper" that allows me to remap my keyboard keys so I can create shortcuts. One of the issues I find with the app is that sometimes I have to exit out of it and reopen it and re-enable accessibility within the App.
In Android Settings I already have accessibility enabled so it should be good, but when I reboot the device it seems to always stop working until I close out of the process and re-open it up.
My theory is that maybe I need to delay the auto boot of the application. It starts up with Android automatically but if I can have it delayed start that may resolve the issue. Is there an app or some way I can adjust the auto boo setting to delay it say 10 seconds after Android loads up?
Click to expand...
Click to collapse
After your OS finishes booting and loads the full OS stack, a system-wide message called Broadcast Intent will be sent to all apps, notifying them that your device has completed booting (this intent is called BOOT_COMPLETED). Then it's up to the individual app to use that broadcasted intent to pre-load in memory whatever they want (or simply not react at all).
The thing is you want to delay auto boot for that specific application, so there are 2 options for that:
you turn off auto boot in the App itself (if it provides such an option).
you block the app from receiving the intent broadcasted.
The second option is also achieved either by using a task killer to force kill the app (which defeats your point IMO) or it manipulate the app from receiving the intent entirely. Both of these options require root access.
If you have root I suggest The App: SD maid (pro version). Under app control you can modify which system Broadcasts that Keymapper recieves (among them could be boot_completed). See attached screenshot from my device for example.
Hope I helped somehow
Thank you for your response. That was super helpful! The device I am playing around with is a Mekotronics R58x, and it had some sort of modified root that was conflicting with Magisk. I read somewhere on these forums that someone suggested renaming the su file if it exists in /system/xbin/su; which it did. I renamed it and rebooted and after that everything worked wonderfully. Keymapper was still autobooting like previously, but this time all the services loaded right up and I didn't have to restart the app it just worked.
Basically I think the issue was this custom su file that was conflicting with Magisk and causing a headache with the keymapper. I'm glad I stumbled across the fix, but either way your post was also very helpful! Thank you!

Categories

Resources