posted on Feb, 6 2018 @ 05:04 PM
Bought myself an Acer 2-1 chromebook. Nice little thing, and inexpensive. The 2-1 is in reference to the fact that you can open it up 360 and simply
use it as a tablet.
I mainly bought it so that I could use it as the tablet with the screen in portrait orientation. Why? Well, I sing in a band and I got sick and
tired of my physical lyrics book.
So, by day I am a masked software engineer.... I fight bad code everywhere! I'm having a few problems with the chrome book that I'm asking for help
with because I do not really know java, but this is annoying me so much I'm wanting to write a simple little app that will do the following three
1 - When you open it up 360 and go into tablet mode, the keyboard and touchpad do NOT deactivate.... which causes strangeness.... I want to be able
to write code that once I execute the problem, it'll temporarily disable the two, then enable them once the program has been stopped.
2 - When in tablet mode and the app is run, lock the screen orientation into portrait mode. Right now, if I change the orientation but look at it in
a weird way or the stars aren't properly aligned the orientation will go right back to landscape..... I'm thinking maybe there's a physical level
inside that is detecting the tilt...... possibly an accelerometer. Just as with number 1, I wish to lock the orientation in tablet mode, and unlock
it once I end the app I've created...
3 - Where at first the on screen keyboard for tablet mode worked fine. Now, when in tablet mode, I cannot get the sucker to come up. I'm wanting my
code to turn this on, and then release control once I've ended the program.
Now, I'm not wanting someone to write this for me, I want to do it. But, what I am asking for help with is to know if the above three things are
possible.... and what java library/function would I use to do the enabling and disabling?
Thanks a bunch!