use LG private api to transport any IME softkeyboard into second screen
LG G8X dual screen is convenient for coding. But the build-in LG keyboard sucks, and other 3rd party soft keyboard IME is not supported by dual screen.
So I have to hack into LG keyboard and find out the magic private API that can transport any IME into second screen.
So here it is the magic API:
Class.forName("android.view.inputmethod.InputMethodManager").getMethod("setForceInputMethodLandscape", Boolean.TYPE).invoke(inputMethodManager, Boolean.valueOf(z));
But you can not call it directly because it is private API and in blacklist, use this https://github.com/tiann/FreeReflection to bypass the limitation.
the screenshot is the hacker's keyboard on second screen, though buggy, but it works!
hacker's keyboard is opensource,maybe someone can embed this dual screen function into hacker's keyboard!
https://github.com/klausw/hackerskeyboard
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download this Dual Screen IME toggler at my github: https://github.com/NoviaDroid/LG-Dual-Screen-IME-Keyboard
After some tweak, here is what hacker's keyboard looks like on second screen.
you can also create a custom gamepad on second screen if you like, use the API above.
Your file seems to no longer be available on GitHub. Can you repost?
novia_droid said:
use LG private api to transport any IME softkeyboard into second screen
LG G8X dual screen is convenient for coding. But the build-in LG keyboard sucks, and other 3rd party soft keyboard IME is not supported by dual screen.
So I have to hack into LG keyboard and find out the magic private API that can transport any IME into second screen.
So here it is the magic API:
Class.forName("android.view.inputmethod.InputMethodManager").getMethod("setForceInputMethodLandscape", Boolean.TYPE).invoke(inputMethodManager, Boolean.valueOf(z));
But you can not call it directly because it is private API and in blacklist, use this https://github.com/tiann/FreeReflection to bypass the limitation.
the screenshot is the hacker's keyboard on second screen, though buggy, but it works!
hacker's keyboard is opensource,maybe someone can embed this dual screen function into hacker's keyboard!
https://github.com/klausw/hackerskeyboard
View attachment 5149225
View attachment 5149227
Download this Dual Screen IME toggler at my github: https://github.com/NoviaDroid/LG-Dual-Screen-IME-Keyboard
Click to expand...
Click to collapse
It's available (https://github.com/NoviaDroid/LG-Dual-Screen-IME-Keyboard/releases), but my phone doesn't install it by some reason.
@novia_droid, thanks for your research, it's really useful. Could you please compile dual screen version of latest Gboard?
Hi I also looked into the lg ime apk. And tried your apk too.
But when i press dual ime on button, the screen goes black. The main screen.
@novia_droid
Having such a keyboard that sticks to the screen even when no text field present much like a physical keyboard would be great. You could alt + tab and scroll with it for instance.
check this feature out on lg g8x after android 11 :
Related
This is a Windows Mobile program that allows you to control volume and backlight level. The main advantage is a finger friendly interface. It works fine on SE xperia x1, also, all the features suppose to work on most of the latest HTC phones such as touch HD or Diamond. On any other device the backlight adjustment feature will not work, but the volume control should work. This is a first release, and I plan to update it step by step. Currently the application supports only VGA and WVGA resolutions. Bellow there is a list of features:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Finger friendly GUI – done
VGA and WVGA resolutions – done
Hook of the volume buttons – done
Landscape mode – done
Hook of the volume icon in taskbar – in a progress
Add autostart – in a progress
If you can please leave a feedback about bugs or how does the program work with your device or may be the feature that you want to see in this program.
Download: View attachment FastSettingsInstaller.CAB
i like this app, havent used it for very long but no bugs so far and everything is working fine
Thanks
Mirko
Great little app. No problems so far and automatically mapped itself to the volume keys on my HD2 which I really like. I really needed this.
Nice work Maxmkh and big thanks.
Just a quick update. I know Maxmkh has stated that an autostart would be in progess but I thought I'd try and add the exe to he start up folder. This, however, didn't work. For anyone who was gonna try it.
Nice, I'll try on my Xperia X2. If it works i'll post here.
TY.
DayLon.
it works on my mega, qvga except the backlight bar not there as it for wvga. good. been looking for it . android have seperate volume control for ring,message,media and seperate alert tone. hopefully this can go that direction
Key hooks
Hey there! nice app! I really like it, but there a little problem regarding key hooks when I use X1BC. Is it possible to release a version without the key hooks or trying to use the volume key through X1BC. thanks!
I was wondering if there was a way to use the playstation controls as a keyboard very similar to the way it is on a PSP when typing. Where the hardware buttons help to type. For example, The shoulder buttons move the cursor left and right, X confirms the key, [] backspaces, start is enter, select changes the style of onscreen keyboard. etc. etc.
I do not have an Xperia play yet, still have my htc fuze, but it would be nice if it had this feature because im very proficient with typing on my PSP. Thanks.
No...but it can be used to scroll through the home screens and the app drawer.
Sent from my R800x using XDA App
umm, i guess that's cool. As long as the buttons are usable for other things than games. I was kinda hoping other people had the same idea as me, and used those buttons for more. i was either hoping to find the PSP style on-screen keyboard, or the makeshift keyboard from gt4, which uses the analog to select a block on a 3x3 grid and the face buttons to select a letter. It's called the Danzel keyboard.
Sigh, i wish the PSP homebrew community was on the Xperia play. I guess it's time to learn to program.
How about the below idea
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
or
?
Tried to describe it here http://forum.xda-developers.com/showthread.php?t=1187053
Maybe also making square PS key to backspace, triangle to shift (single press upper case next key, double press Caps Lock), X and Start buttons Enter, O and Select buttons spacebar. Unless Select button could be used to switch qwerty... row to numbers 1234... etc. Turning the touchpad into 2-mode keyboard, so main mode lettering could be printed in black on the touchscreen as above and secondary (numbers, symbols, etc) in grey next to them in grey and/or smaller size...
Menu button below PS directional ones to popup the built-in onscreen keyboard for numbers/symbols, etc input?
Having just spent $20 on 8 different keyboards and trying various 'free' keyboards as well, Im wondering what you all find works well for the Note.
Right now, I find Better Keyboard 8.9.9 on the Amazon Market ($3) the keyboard that is working well for me, primarily because it extends the size of the 2nd and third row keys to fit the phone's width which makes the keys easier to hit. All the settings are stock except I disabled auto correct as it keeps changing my abbreviations to words I dont intend (bldg for example keeps getting changed to either bulldog or another word that is slipping my mind).
Supposedly Swiftkey has very good text prediction which might be interesting but I havent used it enough yet to know. Not yet sure the difference between the tablet version ($3) and the phone version (free) nor do I know which I should use for the Note. My assumption is the $3 version would offer more than the free version but I havent had a chance to look at it.
Of course, one of the other things about the keyboard stuff is that it requires using for a few days to determine if a keyboard is working for you.
Im also looking for a good speech to text app, it needs to be something I can select from the keyboard when it appears - ie. clicking the little microphone in the corner on whatever keyboard appears (not sure if Android lets you use a custom keyboard and change the voice recognition app from Google Voice to something else). It is important to be able to toggle the voice recognition from the keyboard as I am using some custom software on my Android phone for work that requires me to do text entry, the app does not support anything other than a keyboard meaning that I want to bring the keyboard up, tap the mic in the corner, say what I need to and have that automatically put into the field. Google Voice is ok but Im wondering if there isnt something better.
My favorite by far is the tablet Swype beta. Some people find the keys to be too small, but I find that it works great for me, and my fingers are fat. Also, using the spen makes it the fastest and most accurate text entry method I have used by far. It also includes speech to text through dragon dictate, which can be activated by the key on the keyboard and is very accurate, more accurate than the stock android voice recognition in my opinion. Here is a picture of the keyboard:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
On the S2 swype keyboard, i had symbols on all the letters of the keyboard so i didnt have to switch to the symbols menu on the side, this was very nice when typing messages as i didnt have to go into another keyboard to get symbols like -_:;() etc. I could just long press one of the letters with the correct symbol on it, and i would get the symbol i wanted. This seems to have disappeared on the S3 keyboard, or at least i cant find a way to enable it.
If this isnt possible id say it is a major step back.
Can anyone help?
Just to clarify:
SGS3 keyboard type on the left, and SGS2 keyboard type on the right:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I want the SGS2 (swype) style keyboard on the SGS3.
The difference is the sgs3 has a 'samsung' keyboard with some swype features built in. The sgs2 had a samsung keyboard but also the swype keyboard, and it's the swype keyboard you are showing.
I have installed the swype beta keyboard on my sgs3, but the keyboards height is about one third shorter than a standard keyboard. Haven't found if there is a work around yet. But I installed it because I prefer having those symbols too. I hate having to press a button to another screen to add them.
That sucks on Samsung's part. Can't be a $$ thing with licensing, as they knew before releasing the phone that it's going to be a major $$$ maker
goughymachine said:
The difference is the sgs3 has a 'samsung' keyboard with some swype features built in. The sgs2 had a samsung keyboard but also the swype keyboard, and it's the swype keyboard you are showing.
I have installed the swype beta keyboard on my sgs3, but the keyboards height is about one third shorter than a standard keyboard. Haven't found if there is a work around yet. But I installed it because I prefer having those symbols too. I hate having to press a button to another screen to add them.
Click to expand...
Click to collapse
Can you paste a screenshot of swype on SGS3?
Haven't come across a good Hints/Tips/Tricks thread for this phone, so figured I'd start something up. Feel free to add anything!
Tired of white notifications when using Dark Mode?
Install "Power Shade" from the Playstore to open up customization options for your notification window, and better yet, set the background colour of notification windows to anything you like!
It also ads the option for a little bar that lets you "swipe down for notifications" rather than using LG's option for a button in the tray.
Link ---> https://play.google.com/store/apps/details?id=com.treydev.pns&hl=en_US
Unfortunately Power Shade removes the option in the notification to change your audio source (BT, phone speakers, etc.)
I simple fix is an app called "Smart Audio Switch" that allows a permanent notification that brings back functionality.
Link ---> https://play.google.com/store/apps/details?id=com.codococo.smartaudiorouter&hl=en_US
Want to use "Wide Mode" and use both screens for any app?
Most of you already know about this, but the app called "G8X Wide Mode" allows you to use any app across both screens.
Link ---> https://play.google.com/store/apps/details?id=net.refy.android.g8x.widemode&hl=en_US
Want to use the LG Game Pad for games that only play in portrait?
One of the only games I play on my phone is called "Vista Golf" which is just a little mini putt game, but with gorgeous yet simple graphics, and an endless number of randomly generated courses.
I was excited to play the game with the game pad, however the game pad really only works in landscape, and Vista Golf plays in portrait.
I use an app called "Control Screen Orientation" which you can use to force apps into landscape.
Link ---> https://play.google.com/store/apps/details?id=ahapps.controlthescreenorientation&hl=en_US
This enabled me to use the LG Game Pad with the game, and setup a custom controller and works great.
Hate the old "Lollipop" Rolodex style task switcher?
For the life of me I have no idea why LG implemented the old rolodex style task switcher, seems so out dated.
Fortunately there is a simple fix.
If you go to Settings>Display>Home Touch Buttons and change from "Buttons Only" to "Gesture and Buttons", it completely changes the style of the task switcher.
You still get a back and a home button, and a simple swipe up from anywhere on the nav button pane will bring up a proper task switching menu.
You can go from this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To this: