Fullscreen SDL apps not using full width since 8.1 update - Planet Gemini PDA Questions & Answers

(I'm going to be cheeky and cut-and-paste this (with some edits) from an earlier post on the Gemini Planet Facebook page, so some people may recognise it if you spend time there.)
Since upgrading my Gemini from Android 7.1.1 to 8.1 I've hit a snag with the Amiga emulator UAE4ARM and other emulation apps that use the SDL library for handling video.
It looks as though the new OS may not be providing the correct screen width to whatever function the SDL libraries is using for their fullscreen display. Whether or not the Gemini's navigation bar is hidden, I lose 10% or so of the screen on the right hand side (or the left, if the navigation bar has been moved) when running these apps fullscreen.
{
"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"
}
All of the apps I've seen this happen to are emulators (UAE4ARM, Vice64 and Unreal Speccy Portable) and while I'm not certain whether Unreal Speccy uses SDL the other two definitely do, which leads me to suspect it as the common factor. The DOS emulator Magic DOSbox uses a different display methodology and works perfectly in fullscreen landscape.
I've tried all available methods for hiding the navigation buttons; Gemini's new settings, UAE4ARM/SDL's built-in Immersive Mode and the Granular Immersive Mode app. All methods exhibit this truncated screen effect. It's interesting to note that in terms of raw pixels, the truncation appears at the same horizontal position that the navigation bar would appear if it were visible. This also coincides with the right side of the titlebar clock, and is only a few pixels to the right of where Planet's own App Bar cuts off, whether or not the navigation buttons are visible.
Everything points to the OS reporting the wrong screen width to certain apps and libraries when the navigation bar is hidden. None of these apps exhibited this behaviour under 7.1.1, but it's unclear to me whether this is a change in Android functionality or a result of something Planet have specifically tweaked for the Gemini firmware (perhaps related to the new built-in ability to hide the navigation buttons?)
I've tried the obvious Google searches but with fairly generic parameters such as "Oreo" "8.1" "width" "SDL" etc. I'm getting a lot of false positives and nothing of actual use.
Does anyone know what might be causing this, and whether there's a workaround to change whatever value the OS is reporting to SDL? I'm pretty sure I've exhausted all of the tweaks available under Developer Options but I don't mind using tools such as ADB to apply tweaks if necessary. I'm even prepared to root the Gemini if that's what's needed, although I'd rather avoid that if possible. I'm really hoping for the equivalent of an .ini or .plist file (you can tell I'm not an Android developer!) that I can tweak.
My next stop will be to contact Planet and let them know, in the perhaps vain hope that this is a simple bug/oversight that they can fix with a later update. The problem with Planet is that their e-mail based support system has no proper feedback channel, so you often don't even know whether your issue has been acknowledged let alone investigated. So I figured I'd run it past the folks in here first, in case I'm missing something obvious.
TIA for any assistance.

Related

[HELP] On-Screen Keyboard Options Pop-up ALL THE TIME

I don't know is it an issue only I have, or maybe it's a well-know problem that Touch Pro2 users have to deal with but whenever I hit the lowest, middle part of the screen, the Keyboard's Options pop-up, although there's no icon to click. The on-screen keyboard on the other hand never pop's-up by itself, so the issue only regards the Option's box.
{
"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 find this highly irritating, 'cause it happens EVERYWHERE: when I try to hit OK in G-Alarm; when I'm not too precise with the Sense slider or - and this is extremely irritating - when I play games designed for Portrait mode (the upper screen was taken while playing "The Simpsons Arcade"). Portrait mode games are just unplayable (hence the controls are often in the lower screen parts).
I don't really use the options box. If I ever use the on-screen keyboard (which isn't often) I have it always set to Phone Keyboard when in Portrait, and to Full Qwerty in Landscape. I never change those options so if it's possible to disable the Option's box all together that'll be just fine.
I'm not sure is it relevant, but I use an official ROM upgrade to Sense 2.1
Oh come on! I'm sure someone can help. Please? This is a truly irritating bug.
dude, i've never had this happen unless the keyboard icon was present in the middle. sure, if i hit a little weird (which technically I think is to the right of the icon (?)) that screen pops up..
I have no idea why its happening, but since no one has replied, I wonder if it is a glitch or bug w/ just what you got..? have you tried any other roms or resetting to factory default?
Not yet - I'd hate to reinstall all my applications, set them all over again and tweak the phone from scratch (I know I can do a backup but if I would decide to install a new ROM I would switch from the official upgrade (Sense 2.1 with WM6.5) to a cooked 2.5 and the backup wouldn't work).
I don't really fell like doing that just to fix one minor problem.
It's like with bugs on Windows PC - people usually let you to format your disc and install the OS again, but I'm always able to fix any issues I have without formating the device (I haven't done that in a year).
But I'm not that good with Windows Mobile, so I'm asking for your help, oh mighty ones
I'm sure it's something that could be fixed within the registry of with Total Commander - I just don't know how to find the bug myself.
Maybe someone could post his/hers setting from the registry (from directions that have something to do with the on-screen keyboard) so I could compare them with my reg keys?

[APP] on{x}

Found this app via a lifehacker write up, developed by Microsoft ironically.
Basically lets you setup automations on your phone like sending a text to your wife that you're on your way home automatically when you leave work.
There's a collection of recipes you can pick from their site but you can also code any automation you'd like.
I'll let you guys read the article which explains it in more detail. It's currently in beta in the play store.
http://lifehacker.com/5916841/supercharge-and-automate-your-android-phone-with-onx
Here's a screenshot of some recipes on the web interface.
{
"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 already use Tasker to manage these things. This is only interesting for the functionality it provides by being location-aware, and able to detect the difference between walking, driving, or being at rest. However, usually that kind of detection translates to a massive drain on your battery life.
How often is it scanning for your location? What's the context it uses to trigger a location scan? What are the parameters for the accelerometer to determine walking, driving, etc?
Such an app is useless if I can't set my own parameters for how often/aggressively the app is scanning for a context.
haven't used tasker...does it allow you to actually code the tasks like on{x} does?
I think what you're asking is all dependent on what you decide in the code. I'll post two examples: first one is text my wife when I'm going home and second is play music while walking
lazaro17 said:
haven't used tasker...does it allow you to actually code the tasks like on{x} does?
I think what you're asking is all dependent on what you decide in the code. I'll post two examples: first one is text my wife when I'm going home and second is play music while walking
Click to expand...
Click to collapse
You can essentially write code for Tasker as well, it's just not presented in any recognizable language to the user, it's more like a simplified approach to coding. You start with a context and write a task for that context. Tasks are written as a series of actions, and you can input if/then/else statements to check for conditions before executing actions. For more complex tasks, you can set variables for several different contexts and have the tasks check against all of them.
Tasker is fully aware of location, wifi, Bluetooth, proximity sensors, screen settings, sound settings, headset plugs, accelerometer orientation, or just about anything the phone is capable of sensing, and also allows third party plugins to add more functionality in terms of contexts available and additional actions that the tasks can execute.
The difference with on{x} is that it has additional preset contexts for when you are moving and where you are located. It's not difficult to write something similar for Tasker, but you're going to run down the battery because the phone is constantly scanning for your location and running operations to translate accelerometer readings to either the walking, driving, or rest states. Whether or not this is actually the case with on{x} remains to be seen, but unfortunately they haven't made public what kind of algorithm they're using to set the phone into these various states.
Pretty interesting app, can't wait to really dig into it
What are some of the best tasks so far you goes have found?
On a side note, I just told my girlfriend I found it weird this is only on Android and she said "How come? Microsoft doesn't have a phone platform" and I thought she was joking, but she genuinely forgot about WP7
Sent from my Galaxy Nexus using xda premium
Problem is, how much will this app affect the battery life?

[APP] SideSqueeze 2.08 - add squeeze gestures to your S9!

What is SideSqueeze?
SideSqueeze is an innovative and unique app that uses the barometric pressure sensor in your device to detect squeezes and screen presses. It is compatible only with Samsung Galaxy devices from 2017 onwards, although some people have reported varying degrees of success with Pixel devices.
What It Does
SideSqueeze gives your S8/S9/S10 series Galaxy the ability to respond to squeezes, double squeezes, triple squeezes, quadruple squeezes, long squeezes, and/or inertial squeezes, as well as force presses on the screen. For example, you can double squeeze your phone to activate Google Assistant...or maybe you'd like to quadruple squeeze to toggle auto-rotation. And now with Tasker integration, you can even create elaborate tasks to do just about anything and trigger them with any type of squeeze! SideSqueeze's new modular GUI allows you to pick and choose what you want to do with ease.
Features (not all available in trial version)
7 detectable squeeze types (single, double, triple, quadruple, long, long double-squeeze, and inertial)
3 detectable press types (single, long, and 2-finger)
Independently selectable criteria allow you to assign multiple actions to any trigger type (if lockscreen open, if homescreen open, if camera open, if S-Pen detached, if within 5-seconds of power on, if the phone is ringing, if in-call, or if screen is off)
New app picker to launch any app of your choosing
Tasker integration to launch any task of your choosing
Quick Settings tile to toggle detection engine
Wide selection of common actions, such as flashlight toggling, status bar toggling, etc
Adjustable pressure thresholds
Calibration assistant to customize SideSqueeze to your device's unique characteristics
Efficient detection algorithm that is designed to be as lightweight and low-power as possible with no significant impact on battery life
Questions?
See the in-app Help section for answers to commonly asked questions.
Where do I get it?
SideSqueeze 2 is now available on the Play store!
Screenshots
{
"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"
}
Version 2.07 (just released to the store last night) offers better reliability and faster response-time, especially when "Disable baseline verification" is set (checked) on the settings panel (go to the About or Help tab, tap the gear icon on the top-right corner). Also, SideSqueeze is on sale for $1.99 through July 13th!
I'm interested, but no comments here or feedback on the Play Store since July is concerning.
Thought this type of thing needed specialised hardware built into the phone don't understand how this would work properly.

Question How can i auto hide notification/Navigation bars on my Galaxy A22 (4G)?

Hello all!
So basically i want this:
1st - I want this notification bar with all its icons to Auto-Hide ALWAYS, and show up only when i swipe it down,
and than after set amount of time to auto-hide.
2nd - I want this navigation bar at the bottom to also Auto-Hide ALWAYS also, and when i swipe UP to be shown,
and than after set amount of time to auto-hide.
1st 2nd
{
"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"
}
So that's basically it.
How can i achieve that?
P.S.
So i am about to get my new phone "Samsung Galaxy A22 (4G)" in about 5 days, so i want to prepare for it.
Im buying glass protection, mask (something like this) and also, since its an AMOLED (OLED) screen, and It's known that OLED screens can get burn-ins,
(my other OLED phones already have burn-ins in some form or another) so i want to take care of it as much as i can, as i always did, but
what i noticed is that burn-ins on my previous devices are from navigation and notification bars mostly...actually ONLY from those two!
So i was thinking on removing those two to auto hide them.
There is a partial solution since i use NOVA launcher prime, it can hide notification bar but only
from home screen.
Whenever i'm in any other application it's shown again, unless that aplication it self hides it and go full screen, like youtube in full screen for example.
I want it to always be hidden unless i swipe it to be visible. Same with navigation bar. I want clean screen and only on demand bars.
Plus, i want it in generan even if its not OLED but more so with OLED!
Now here's the thing, i cant find a solution! I thought its a simple thing or that there is an option in settings,
but there is none. I also tried some play store apps, but they dissable keyboard and back button. Some even say i need to enable permission
by entering command from PC and so on... i dont wanna get some malware or whatever on my phone.
I came here for some elegant, simple solution without so many steps, and even if some permissions are needed i feel more comfortable you guys telling me i can safely do that than some sketchy app or tutorial online.
Thanks in advance guys!

Themes / Apps / Mods Get the best multitasking/tablet experience

G'day everyone, just wanted to share a way to get awesome multitasking to get a nicer experience as a "tablet".
There's an app in the Galaxy store called GoodLock.
In the app is a heap of outstanding customisation tools you'll love. One particular one is called NavStar. It replaces the taskbar at the bottom on your screen with a "Task Stack". It's essentially a long list of all your currently running apps and interaction works the same way as the default taskbar... drag and drop an app from the Task Stack to the screen.
Instead of having only 8 apps in the default taskbar, the NavStar Task Stack shows all running apps, much like a desktop computer, for a much better multitasking experience.
On the inside screen, the task stack is shown next to the nav buttons. It disappears on the cover screen and only shows the nav buttons. Then checkout the GoodLock app called HomeUp... you can customise the entire multitasking interface (I have recent apps shown in a grid).
The only downsides are you can't use nav gestures with the task stack, and there's a bug the dev needs to sort out where when you rotate the screen, the stack disappears and you have to swipe the notification centre down to show the stack again. If youre using the cover screen then unfold it, it also disappears. I have a fix for it further below.
Now there are 2 tweaks for the task stack I've sorted out. One unfortunately requires root.
The first one is to get a tablet UI. It requires rooting and installing the Magisk module MagiskHide Props Config. Using this module, you need to change the build prop "ro.build.characteristics" value from "phone" to "tablet.
This gives you the date in the statusbar, a nicer/different notification centre and probably a couple over things I haven't noticed yet.
When done, it also gives you the task stack on the cover screen... that's the biggest reason I'd say to do this mod if you root.
If you set the nav buttons on the left hand side of the screen, you will get all 3 buttons and a couple apps in the stack on the cover screen. If you set the buttons on the right, the cover screen stack will show a lot more apps but the only nav button that will show is the back button on right hand side.
To get around this (if you want your buttons on the right), I have an app called Gesture Control. This way, I can have my nav buttons on the right which then allows me to use the back button on the cover screen to go back and use swipe up gesture to go home and swipe up and hold to access recents.
I also have a macrodroid task set up to disable the gestures on the inside screen (I don't need gestures as I have the 3 buttons) and enable the gestures on the cover screen.
The second tweak is using macrodroid/tasker to fix the task stack disappearing.
I have tasks set up so when the screen is rotated or the device is unfolded, a gesture pulls the notification centre down about 100 pixels then immediately back up in 50 microseconds... this shows the stack again and the status bar has a tiny little flicker you barely notice.
It's unfortunate that this bug exists and hopefully its fixed soon because it is an awesome desktop-like experience.
{
"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"
}
As an add-on to the above - in order to be able to display the Task Stack in NavStar you first need to go into the phone's Settings - Display and disable "Taskbar" there.
Otherwise the "Show Task Stack" option will be greyed out in NavStar.

Categories

Resources