Android app or setting to sleep screen on keyboard unplug? - General Questions and Answers

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.

Related

App to hide keyboard while using HID Apple Mighty Keyboard

Issue:
I use a BT keyboard and Evernote for taking notes in my lectures. Everything works fine but the on screen keyboard pops up whenever I tap on a word to edit it or add more notes in between.
I want to know if it's possible to make an app that will disable the on screen keyboard from popping up when I'm using a my BT keyboard.
I'm using Cyanogen 6.1 RC1.
Sent while sitting on the toilet.
Possible? Yes, absolutely.
Does using a BT keyboard require you to select a specific input method? If not, a makeshift way to do it would be to download one of the Miimote apps and select that as your input method, rather than "Android Keyboard" or whatever.
If not, I'm sure someone has or can make an "invisible keyboard" to set as your input method.
Dude I think that will solve my issue. I'll test it out later but I think you hit the nail on the head. I appreciate it.
By the way you don't need to choose an input method with CM6 and Apple keyboard.
Sent while sitting on the toilet.

[Q] Auto change keyboard input when dock connected.

I currently use the thumb keyboard, and this is a potential problem that i could bring up with their developers. But currently the problem i have is when using the tablet(undocked) i use thumb keyboard, when i then dock the tablet the input method is still set to thumb, the dock and everything works except it is in a US layout, annoyingly " and @ are swapped. To fix this everytime i have to click the keyboard icon in the notification bar and select asus english uk keyboard.
Anybody know of an app in development to automatically switch this, and back again when undocked.
Or does anybody know the code to detect docking and undocking? and i could try write something.
Cheers
jambo89liam said:
I currently use the thumb keyboard, and this is a potential problem that i could bring up with their developers. But currently the problem i have is when using the tablet(undocked) i use thumb keyboard, when i then dock the tablet the input method is still set to thumb, the dock and everything works except it is in a US layout, annoyingly " and @ are swapped. To fix this everytime i have to click the keyboard icon in the notification bar and select asus english uk keyboard.
Anybody know of an app in development to automatically switch this, and back again when undocked.
Or does anybody know the code to detect docking and undocking? and i could try write something.
Cheers
Click to expand...
Click to collapse
I think at this stage you'll have to change it manually, I'm not aware of anything such as an app that can change it automatically based the whether the dock is connected.
http://forum.xda-developers.com/showthread.php?t=1118164

[Q] How to change value for keyboard system setting (barcode scanning)

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.

Satechi BT MediaRemote Bluetooth Multi-Media Remote Control

I found something interesting on the Amazon store I thought I would share, I found this is incredibly useful for me so hopefully is to someone else.
this should work on pretty much any Android device but I'm posting it here as it is the only one I can/have tested it on.
I cannot post links yet but it can be found on Amazon UK under the name "Satechi BT MediaRemote Bluetooth Multi-Media Remote Control"
It's a small Bluetooth remote for iPad/iPhone/Mac and very quietly mentions Android so I decided to buy one and see how it goes as I needed something like it for my car.
Anyway it arrived this morning and I love it, I've successfully used it and I've been able to remap keys using the "External Keyboard Helper Pro" app by "Apedroid" which allows remapping of keys to media keys or launching apps.
All keys on the remote can be remapped except the wireless symbol which un-pairs and goes into discover mode.
My requirements were a remote that allows me to change tracks while driving but it also got Google now working in my car Bluetooth system. (it did not connect properly when I launched it via car voice controls)
I have now got the keyboard button remapped to switch to the maps app and the mute button to launch Google now so once Google now is done I have a button to go back to the navigation screen .
I have also been fairly successful in getting this to work with Tasker however it required a small workaround by exporting the task as an app (via Tasker App Factory) and then using "External Keyboard Helper Pro" to launch it.
My only issue with the remote at the moment is that it connects as a hardware keyboard meaning I cannot type while using it (obviously not an issue in the car though)
All this was done on a non rooted Nexus 4 on 4.4.2 so root is not required by the way.
If anyone has any questions feel free to ask, I'm going to figure out how I can bind the other 9 keys on the remote
Oh and finally if you do use the app in question and use Tasker I'd recommend exporting a Tasker task which launches the intent "android.intent.action.VOICE_COMMAND" rather than using the built in voice control key setting.
Dude!! I have totally been looking for this! I like playing podcasts from my phone while I'm working in the garage, so I hook the phone up to my stereo but whenever I need to pause it or adjust the volume, I gotta go clean up or slide out from under the car... This will be perfect!! I'm totally ordering this right now!! Thanks brother (or sister?)!!
Sent from my Nexus 7 using Tapatalk
Cazomino05 said:
...
Click to expand...
Click to collapse
Seems very good indeed.
http://www.amazon.com/gp/product/B00DY9UFB8/ref=cm_cd_asin_lnk
http://www.satechi.net/index.php/satechi-bluetooth-remote-control-for-android
Could you please check if there are any answer call buttons or microphones on this thing? Personally I hope not because it happens so easy in your pocket.

Android Wear, what I love and Hate

Ok as some of the members of this forum may know I got off to a shaky start with my Android wear watch (a Sony SW3).
I've now had it about four weeks and have over come the major problems I initially had, so I thought I would start a tread highlighting the things I love and the things I hate so others can assess if a smart watch is for them.
Firstly, what I love:
- Reading messages from Text, Email, Whatsapp and Messenger
It's so simply to just quickly look at my wrist see if I'm interested, if not I delete, if I am, may read further on the watch or if the message is to long, find my phone and continue there.
- Voice control
A really unexpected plus for me. I thought 'OK Google' was a bit of a gimmick at first, but how wrong could I have been. It's fantastic (OK, I feel a bit of a nerd saying OK Google to get it started, but that's a tiny problem). Driving and going to be late, OK google, Send text message to XXXX, then speak your message eg ' Sorry running late will be with you in 30 minutes. The translation is actually pretty accurate and it's done, you don't have to take your eyes off the road!
- It's an accurate watch, not sure where it gets it's time from but I guess it comes from the phone which in turn gets the time from the network which means no more setting, not running fast or slow. Not sure how it works when you change time zone though but I'll find that out soon enough.
- It's waterproof. Don;t forget to turn the touch screen off, but I've now been swimming with it, I regularly shower with it. Not a hint of a problem.
- Control you music system. I use Sonos around my home and I can turn the volume up and down, change track. Ok it's limited but it still an unexpected benefit.
- Control Bluetooth music with Spotify. Really a feature best used in the car. There's an app that will fire up Spotify on your phone which in turn will use the blue tooth audio to connect to your car. No more digging around to find you phone, unlock it, fire up spotify, find your play list etc etc etc.
- Incoming calls. Nice feature as I can decide if I want to take the call without having to find my phone to see who's calling.
What I hate (ok hate is a bit strong, but)
- The UI I think is not properly thought through You have al these options, tilt to wake, tilt to scroll through cards. Clumsy at best and a battery drain at worst (tilt to wake particularly) Even the touch screen to wake is not that cleaver as it can be operated but a lot of things touching the screen not just me, eg a sleeve, particularly one that is damp
- Voice control Ok I know I've said above that voice control is fantastic but it has one major down side, it needs internet connectivity. If it doesn't have it, it just doesn't work! Wish it would use the processing power of my phone to process voice.
- Wifi, ok I accept this is probably a bug, but wifi doesn't currently work properly, for some reason it will drain all the all the battery for no apparent reason and it does it very fast. I've now turned it off and only turn it on on the occasions because it's great to have full functionality
- Screen, the screen is fine, but that's damming it with faint praise. I would really like to see a higher quality screen and a little bit bigger would be nice.
- Incoming calls. When rejecting a call, it would be good to be offered a 'rejection message' that is sent via text giving a reason for the rejection.
When rejecting calls you can slide up instead of left por right swipe ano it will show up predefined messages that it will automaticly send to The caller.
::enviado do meu oneplus one via tapatalk::
My complaints (1 month usage) is the app tray feels bloated. Not every app needs to be displayed. Not every app has options set through the watch. Also the layout feels cramped to me. I would prefer some options (icons only, 1x2, list mode, 1x1 mode, text/no text, recent shortcuts at top on/off, etc.)
2. Embedded speaker for taking quick calls without digging for your phone last minute. 1 problem a watch introduces is that your phone starts to be left behind. I now leave my phone on the counter while I buzz around my home. Phone rings, its a mad dash down stairs to find my phone.
3. Some sort of keyboard. I'll take the old school T9 input. Just let me type a few things.
player911 said:
My complaints (1 month usage) is the app tray feels bloated. Not every app needs to be displayed. Not every app has options set through the watch. Also the layout feels cramped to me. I would prefer some options (icons only, 1x2, list mode, 1x1 mode, text/no text, recent shortcuts at top on/off, etc.)
Click to expand...
Click to collapse
Download wear mini launcher from the playstore. It's a brilliant replacement that let's you customise the watch to how you want it.
I totally agree with you. I also use Android wear for
Reading messages from Text, Email, Whatsapp and Messenger
Voice control
Agree with some points according to my experience with my old android wear.
Hope my new one will work better.
My most of my complaints are solved with the Asus ZenWatch2. It is a solid upgrade to the LG G Watch. Once Marshmallow drops, we'll get a new app tray and speaker support (Zenwatch2 and Huawei) for calls.
I tried the alt launchers and it doesnt replace the stock launcher but runs over top of it. So it just adds to the chaos. However after the nostalgia wore off, I dont really use apps thus dont need to go into the app drawer.
Keyboard: try FlickKey
player911 said:
3. Some sort of keyboard. I'll take the old school T9 input. Just let me type a few things.
Click to expand...
Click to collapse
Try FlickKey Keyboard for Wear. It adds a keyboard to any app that wants to call it. Right now, that is limited to Wear Messenger, Coffee for Wear, and K-9 for Wear - you need one of those messaging apps to be able to use it. BTE, FlickKey is not a T9 style keyboard - it works better than that.
I have tried various keyboards. What I was referring to was an option, by default, in Android wear to have a keyboard input. I don't use any of those apps, thus having a keyboard right now would be irrelevant.
What apps would you like to use a keyboard with?
player911 said:
I have tried various keyboards. What I was referring to was an option, by default, in Android wear to have a keyboard input. I don't use any of those apps, thus having a keyboard right now would be irrelevant.
Click to expand...
Click to collapse
I certainly agree that users should be able to decide for themselves if they want to use a keyboard or not, and which one they want on their smartwatch. What apps would you like to use a keyboard with? FlickKey can be added to any app with just about 15 lines of code. So message the dev who makes the app you want FlickKey in and let them know they can easily add it for free.
I find Android Wear to be very useful - when it works. Performance on my original 360 hasn't been very consistent either but I'm sure the S400 watches fare much better. Seriously though - every Android OEM needs to switch to AMOLED as soon as possible since it's much more suitable for smartwatch use.
I have installed AW on a Samsung Gear 2 (ported to the watch by @biktor_gj) and it runs really great !
Much much better than the default Tizen where it comes with normally.
Since I am using AW, I'm really hooked on it.
I love to be able to navigate with my watch and/or get notifications (from Google Maps) about any traffic jams or hold ups on my route.
I love to be able to use my voice to respond to whatsapp messages or even use my voice to make a new message without even holding my phone.
Really looking forward to the upcoming version (Marshmellow?), which suppose to have speaker support, because the Gear 2 has a build-in speaker.
So that means I can make calls too again from my watch (which is now only possible in Tizen, but not AW).
Hangouts and Messenger and Email (I know there are email clients that support wear and flickkey). I doubt Hangouts or Messanger will get it support.

Categories

Resources