[APP] EdgeBlock: Prevent accidental touches on screen edges - Android Apps and Games

EdgeBlock prevents accidental touches along screen edges when you are holding your phone. This is especially useful on the latest phones with curved screen edges and very thin bezels.
I had been having a terrible time watching movies on my OnePlus 7 Pro, my fingers kept accidentally touching the edge of the screen, which caused problems like the video skipping ahead or bring up the cast dialog. another big problem was with the Camera, I kept accidentally changing focus and even closing the app. So I looked on the Play Store and found a few apps that do this, but none of them were satisfactory, so I made my own app.
The big difference between EdgeBlock and the others is you can specify different settings for portrait, landscape and fullscreen mode. Another important improvement in EdgeBlock is that it properly supports gesture modes and notches. The blocked area will always be at the screen edge.
Another huge advantage with EdgeBlock is that it does not require Accessibility Services or any other intrusive permissions. The only permission required is Draw/Display over other apps. As with all my apps, it is ad-free and does not harvest your data.
I have been using this since last summer, but only recently had the time to polish it an release on the Play Store. During that time I've optimized the app for all use cases.
Per app mode - Not needed!
I know one of the first questions I will get is about per app mode. I did create a per-app mode originally, but found it is not needed! Once you enable EdgeBlock there is no need to change the settings for different apps, it just works. You also have a lot of control using the settings for portrait, landscape and fullscreen. Some users my disable EdgeBlock in portrait and landscape, but enable EdgeBlock in fullscreen mode.
The biggest problem with a per-app mode is that it requires either the App Usage permission or an Accessibility Service. The app usage permission works, but must constantly poll for the foreground app. This is an unnecessary waste of resources and battery life. The Accessibility method would work better, but requires an Accessibility service. I do not think an Accessibility service is warranted, since the app functions perfectly without it and I want to keep the app as light as possible.
Download EdgeBlock on the Play Store:
https://play.google.com/store/apps/details?id=flar2.edgeblock
.

@flar2
Would it be possible to use this method to block access to the top edge on the lockscreen to prevent access to the quick settings?
Thanks

mitchst2 said:
@flar2
Would it be possible to use this method to block access to the top edge on the lockscreen to prevent access to the quick settings?
Thanks
Click to expand...
Click to collapse
It's not allowed, the system actions always take precedence

flar2 said:
It's not allowed, the system actions always take precedence
Click to expand...
Click to collapse
Ok thanks for the reply anyway

mitchst2 said:
block access to the top edge on the lockscreen to prevent access to the quick settings?
Click to expand...
Click to collapse
not sure if you are aware, but there is an LSPosed module that does this, called 'NoQSInLockScreen'. works great for me

This is exactly what I'm looking for but it doesn't really work. If you are touching the blocked area while in app, you are unable to touch anything else within the same app. For example if you open Chrome and then place your finger on the edge blocker and with your other hand try to scroll up and down it won't let you scroll because you're touching something else on the screen. As soon as you stop touching the edge blocker you're able to scroll again.
Unless Im doing something wrong or not understanding how this app is intended to be used.
So if I'm playing a game and any part of either one of my hands is touching along the edge other movements within the game get confused because I'm touching the edge as well as trying to make a different move within the game itself.

Buckeyesha said:
This is exactly what I'm looking for but it doesn't really work. If you are touching the blocked area while in app, you are unable to touch anything else within the same app. For example if you open Chrome and then place your finger on the edge blocker and with your other hand try to scroll up and down it won't let you scroll because you're touching something else on the screen. As soon as you stop touching the edge blocker you're able to scroll again.
Unless Im doing something wrong or not understanding how this app is intended to be used.
So if I'm playing a game and any part of either one of my hands is touching along the edge other movements within the game get confused because I'm touching the edge as well as trying to make a different move within the game itself.
Click to expand...
Click to collapse
After a little further testing three of the edges work exactly how I need them to work. But one edge does not. The edge at the top of the phone regardless of orientation does not allow you to touch it and touch something else within the same app. So this is The edge that would have the front facing camera. Basically the edge that would be the top of your phone.

Related

Cover Beta...great lock screen app!

https://play.google.com/store/apps/details?id=com.coverscreen.cover&hl=en
Doesn't seem to work alongside Active Display.
TalB123 said:
Doesn't seem to work alongside Active Display.
Click to expand...
Click to collapse
What do you mean? It doesn't open the app directly but sliding cover away seems easy enough...
I just made a video of what I see. Does yours react the same way?
http://www.youtube.com/watch?v=cYiAFK7rcBM
Yeah, mine looks the same. My point is that when I use Active Display to unlock my phone, I'd like it to unlock completely, not open my lockscreen. Cover is simply doubling my effort to unlock my phone, with the only added benefit being that mini-launcher which I may or may not end up using. But unlocking my phone sans Cover opens my launcher anyway, so where's the added benefit? Plus, opening a notified app through Active Display (id est, dragging your finger up to a notification) just puts Cover in the way.
tl;dr - Cover provides Active Display users little to no benefit, and kinda just gets in the way, so what's the point?
I, along with (as of writing this) 30-ish other Play Store reviewers, will be waiting for the app to support Active Display before using it.

Always on Display Landscape Mode

I decided to open this thread due to the fact that the Galaxy s7 Edge Always on Display does not recognize/rotate in landscape mode when the screen is off.
For some it may not matter. For others it will. For me it matters.
Now I was able to achieve landscape mode on my Lockscreen
Adding these two lines to build.prop:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
Also I achieved Landscape on my launcher with Nova Launcher, then in settings, look and feel I enabled auto rotate.
As for the always on Display I have not been able to find any information.
If anyone has any information on the subject it would be greatly appreciated.
Thanks.
Demonstration video below (YouTube):
https://youtu.be/5ARSmmi4hTA
Leonidas87 said:
I decided to open this thread due to the fact that the Galaxy s7 Edge Always on Display does not recognize/rotate in landscape mode when the screen is off.
For some it may not matter. For others it will. For me it matters.
Now I was able to achieve landscape mode on my Lockscreen
Adding these two lines to build.prop:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
Also I achieved Landscape on my launcher with Nova Launcher, then in settings, look and feel I enabled auto rotate.
As for the always on Display I have not been able to find any information.
If anyone has any information on the subject it would be greatly appreciated.
Thanks.
Demonstration video below (YouTube):
https://youtu.be/5ARSmmi4hTA
Click to expand...
Click to collapse
How can i activate auto rotation to landscape mode in touchwiz? Not only in a app
Skickat från min SM-G935F via Tapatalk
hasek82 said:
How can i activate auto rotation to landscape mode in touchwiz? Not only in a app
Skickat från min SM-G935F via Tapatalk
Click to expand...
Click to collapse
Not sure just yet. This method does not work with touchwiz unfortunately.
At one point I could rotate my display in any direction (even upside down) and always on display, as well as touchwiz, would rotate. For some reason that no longer works. I guess a bug gave me what I wanted for a bit. The camera app can be used upside down and you can temporarily use the phone upside down after closing the camera app but it doesn't seem to effect Always On Diaplay. I want to use my phone as an alarm clock on a stand, preferably in landscape so this is a disappointment.
gdude2307 said:
At one point I could rotate my display in any direction (even upside down) and always on display, as well as touchwiz, would rotate. For some reason that no longer works. I guess a bug gave me what I wanted for a bit. The camera app can be used upside down and you can temporarily use the phone upside down after closing the camera app but it doesn't seem to effect Always On Diaplay. I want to use my phone as an alarm clock on a stand, preferably in landscape so this is a disappointment.
Click to expand...
Click to collapse
I'm sure all in due time and if we all spread the word and gain interest we can make this happen. Just have to figure out the proper resources and direction to take to remedy the issue.
Would be nice if samsung just enabled rotation support for always on display and Lockscreen.
I'm using
https://play.google.com/store/apps/details?id=nl.fameit.rotate
For autorotate. Works for touchwiz and lockscreen.
Unfortunately not for Always on screen
kingchris said:
I'm using
https://play.google.com/store/apps/details?id=nl.fameit.rotate
For autorotate. Works for touchwiz and lockscreen.
Unfortunately not for Always on screen
Click to expand...
Click to collapse
Haha I use to use that a long time ago. Really brings me back to see that app.
Leonidas87 said:
Haha I use to use that a long time ago. Really brings me back to see that app.
Click to expand...
Click to collapse
Me too. Used this app in the past with my s3/s4 and my first mirrorlink radio
Under display turn Always on off and try turning on night clock I like it better than always on
the night clock is to dark at daylight
I've developed an android app for bringing Always On to all android devices with AMOLED screens. It's called "Always On: Ambient Clock" . And it does support landscape mode.
I can't post a link now since I have only 5 posts but you can search for it on Play Store.
Needs the ability for everything being displayed to move random after about a minute. For it to stay stationary is not good for the display.
Also it prevents the wave to wake feature from working on samsung devices.
Needs some work.
Leonidas87 said:
Needs the ability for everything being displayed to move random after about a minute. For it to stay stationary is not good for the display.
Also it prevents the wave to wake feature from working on samsung devices.
Needs some work.
Click to expand...
Click to collapse
Hi, I just pushed an update for fixing burn-in issue.
I don't think it's possible to add the wave to unlock feature as the proximity sensor is used to detect if the device is in pocket or flipped.
Sent from my SM-N920C using XDA-Developers mobile app
Turki Alkhateeb said:
Hi, I just pushed an update for fixing burn-in issue.
I don't think it's possible to add the wave to unlock feature as the proximity sensor is used to detect if the device is in pocket or flipped.
Sent from my SM-N920C using XDA-Developers mobile app
Click to expand...
Click to collapse
I think if you set a slight delay for in pocket detection may help. Or make it less sensitive, it goes black if I just hover my hand over the screen. Should be a delay or less chance of accidently enabling it.
Samsung has it on the s7 edge that you can have pocket detection and wave to wake.
Must be a way around it.
What is the font of the Samsung default clock?
Thanks in advance
Figured out a workaround.
I realize this post is almost a year old but I have discovered a workaround, at least for the Photo Frame option of the Always On Display. If you make a separate album in your photo gallery with your pictures ROTATED to landscape orientation, and then assign that specific album, it will work.
nice app - just installed it -anyone know if the battery usage / screen burnin issues on this are better / worse than the s8 always-on?
I really appreciate the landscape - hate in the middle of the night the night to see it sideways
Found a way if your rooted
Leonidas87 said:
I decided to open this thread due to the fact that the Galaxy s7 Edge Always on Display does not recognize/rotate in landscape mode when the screen is off.
For some it may not matter. For others it will. For me it matters.
Now I was able to achieve landscape mode on my Lockscreen
Adding these two lines to build.prop:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
Also I achieved Landscape on my launcher with Nova Launcher, then in settings, look and feel I enabled auto rotate.
As for the always on Display I have not been able to find any information.
If anyone has any information on the subject it would be greatly appreciated.
Thanks.
Click to expand...
Click to collapse
If you are rooted and have Xposed installer go ahead and get gravity box and enable lock screen rotation it should work it worked for me on my Galaxy S6

Screen Rotation Bug? / EMUI 4.0 / NXT-L09C636B170 / Android 6.0

Just got a new Mate 8 this week, and after not having a smart phone to use since 2010, I'm really liking what I'm seeing so far with my limited exposure . . . even fine with the stock EMUI interface too.
One thing I noticed right away was the phone's inability to rotate a full 360°. Left and right horizontal rotation is fine, as well as the normal vertical, but try to go inverted, and the screen did not rotate at all for the home screen or for any app I tried. Funny, because I actually had a Chinese phone back in 2008 called an i9, which had the same rotation issue for only the inverted position.
I tried turning auto rotation On and Off, rebooting, etc., but no help. I did not try any hard reset on the phone, but I did go to Google Play and installed a rotation app called Set Orientation. When running, using the app's Automatic (full) rotation setting, the phone now rotates properly to the inverted position on the home screen as well as the few apps I tried so far. This made me happy that the hardware doesn't seem to be the issue with it not rotating inverted.
I did a forum search for rotation issues, and did not see any threads for this specific issue.
So has anyone else had this partial rotation issue and maybe an easy fix for it?
Also, I was wondering if there might be any downsides to having to always rely on an app like this, as maybe it won't always be compatible with other apps which may need to have the screen rotate to the inverted position?
Thanks,
~ Craig ~
If I seem to remember correctly, even the 6p didn't rotate a full 360 degrees. I actually think it is app dependant. I use this rotation control.. https://play.google.com/store/apps/details?id=com.pranavpandey.rotation
Sent from my HUAWEI NXT-L29 using Tapatalk
tdamocles said:
If I seem to remember correctly, even the 6p didn't rotate a full 360 degrees. I actually think it is app dependant. I use this rotation control.. https://play.google.com/store/apps/details?id=com.pranavpandey.rotation
Click to expand...
Click to collapse
Yes, I'm already using a rotation control app that has worked to allow inverted vertical rotation too, but I'm wondering why you believe it's not a bug, but possibly only about app dependency if it does full 360° rotation ?
I have to admit I haven't been too well up to date on Android devices and apps for at least 4 years now, and I know some apps want to prevent certain screen orientation settings, forcing the view in certain modes. However, it seems like some software setting is out of kilter, or even a bug to me for this particular partial rotation issue, not just about app dependency.
For instance, why would the home screen, with auto rotation turned on in the settings, allow for rotation to both horizontal positions, the normal portrait position, but not allow for an inverted portrait rotation?
Also, for even the internet browser apps, which from what I recall for several other Android tablets I owned years ago, they would all allow rotation to all screen positions for 360° when rotation was turned on, with this phone it wouldn't allow inverted portrait rotation, that is, not until I installed the Set Orientation app and used it. Do Chrome and Firefox for Android typically not allow for inverted portrait viewing unless forced by an orientation app or rooting the device to change system settings?
I did find that using the Set Orientation app it interferes with the factory installed camera app display when using the phone in either horizontal position, so I need to disable it when using the camera to take landscape images.
It isn't a huge issue, just a minor inconvenience (along with a couple others) which I came across but can certainly live with, because I'm really enjoying the phone so far for the most part.
~ Craig ~
Look at the phone/dialer App. I don't even think that allows any horizontal rotation or full rotation. Almost all lock screens on different phones don't allow rotation either unless you have a custom ROM installed. I just don't think it's a bug . I think it's done like that for a reason, good or bad. I think it may be a phone restriction because I think my Nexus 9 allows full rotation on some apps. You just might have to live with it.
I think the home screen doesn't rotate 360 degrees because who views phone stuff upside down?
For example, I had 360 rotation turned on for my phone/dialer app and if your laying down the App will go inverted . If the proximity sensor isn't quick enough and doesn't turn off your screen, you might hit the hangup button like I did one time.
Look, Netflix is landscape only.
Sent from my HUAWEI NXT-L29 using Tapatalk
tdamocles said:
I think the home screen doesn't rotate 360 degrees because who views phone stuff upside down?
Click to expand...
Click to collapse
On a device with small and relatively symmetrical bevels on the top and bottom like the Mate 8, or my previous LG G4, it's very handy to just pick up the phone and use it, irrelevant of the orientation.
I never use the power button and/or fingerprint scanner so a simple double (or on the Mate 8 usually triple) tap wakes up the device and hey presto, use it as it is. Is it the "right way round"? Great. Was it upside down? Does not matter, use it like this for now as well.
So for that reason I would also like to have an upside down possibility (haven't installed xposed yet as I find the need for it not great enough, for now). Other than that I find not a lot of real disadvantages of having the possibility anyway.
Note: not all apps worked as planned upside down but the dialer, homescreen, browsing, etc. made no difference regarding holding the phone

Edges are being cut/shorten on Instagram

Hello guys,
I am fairly new with Huawei phones and phones with a notch.
Especially when using Instagram (browisng stories), the sides of the app are being cut, like the image is just smaller than on a normal/different phone. So if there is a text just on the edge, it would be cut and you would not be able to read it.
I was wondering if there is anyway to fix it.
I heared there is something like "fullscreen mode" for apps, but when I go to Settings and click it, Instagram is not on the list. Could I disable it (cause maybe it is enabled), just for this specific app?
No root etc.
Kind regards!
Larlen said:
Hello guys,
I am fairly new with Huawei phones and phones with a notch.
Especially when using Instagram (browisng stories), the sides of the app are being cut, like the image is just smaller than on a normal/different phone. So if there is a text just on the edge, it would be cut and you would not be able to read it.
I was wondering if there is anyway to fix it.
I heared there is something like "fullscreen mode" for apps, but when I go to Settings and click it, Instagram is not on the list. Could I disable it (cause maybe it is enabled), just for this specific app?
No root etc.
Kind regards!
Click to expand...
Click to collapse
Im experiencing the exact same issue. What you can do is hiding the noth in system settings. Then you`ll get Insta (including stories) in fullscreen. BUT: Then the buttons for Text, Pen, image dont react to your touches. Its a complete mess. Can you confirm the problems with touch in hide notch mode?
I will check my IG app in a sec, but I think fullscreen mode is only available for apps that don't support the display.
I think apps like IG that natively 'support' these displays just don't display in the fullscreen mode settings.
_richyg_ said:
Im experiencing the exact same issue. What you can do is hiding the noth in system settings. Then you`ll get Insta (including stories) in fullscreen. BUT: Then the buttons for Text, Pen, image dont react to your touches. Its a complete mess. Can you confirm the problems with touch in hide notch mode?
Click to expand...
Click to collapse
The problem still occurs with hide notch mode ON, it is a bit better, but still edges on the sides are being cropped.
@Ephixi4 yeah I reinstalled the app, but fullscreen is not an option for IG. So it seems like it is either problem with a ROM or IG problem with not displaying their content properly for different res/notches.
Larlen said:
The problem still occurs with hide notch mode ON, it is a bit better, but still edges on the sides are being cropped.
@Ephixi4 yeah I reinstalled the app, but fullscreen is not an option for IG. So it seems like it is either problem with a ROM or IG problem with not displaying their content properly for different res/notches.
Click to expand...
Click to collapse
Yes, I checked that, too. It doesnt show the entire screen. Did you check if the buttons work properly, when hiding notch is enabled?
_richyg_ said:
Yes, I checked that, too. It doesnt show the entire screen. Did you check if the buttons work properly, when hiding notch is enabled?
Click to expand...
Click to collapse
I use the finger print scanner instead of navigation bar, that seems to work just fine.
I really wonder if it's OS issue for cropping app like that or IG.
Hoping for workaround soon.
@Larlen so I have notch visible but I have my soft keys hidden and I use the fingerprint scanner as navigation button.
Had no issues with IG app, maybe because of that?
But it seems more that the app is not very well designed to fit these screens and notch. When you want to edit a picture the brightness toggle is cropped because of the notch.
Sent from my EML-L29 using XDA Labs
It doesn't seem to be an issue with the notch, rather an issue with the screen ratio, with the notch not hidden it's 18.7/9, and with it hidden its 18/9, and it looks like alot of the apps are not optimized for 2/1 screen ratios yet
Larlen said:
I use the finger print scanner instead of navigation bar, that seems to work just fine.
I really wonder if it's OS issue for cropping app like that or IG.
Hoping for workaround soon.
Click to expand...
Click to collapse
Well, I wasnt talking about the system navigation. I use the fingerprint sensor, too. I was talking about the Instagram Buttons in Story Mode, when hiding the notch. The Buttons for editing a story pic, before you actually post it.
These Buttons (for inserting a text, or a gif etc) dont really work...
Can yoo confirm? or dont you guys just dont use instagram storys?
_richyg_ said:
Well, I wasnt talking about the system navigation. I use the fingerprint sensor, too. I was talking about the Instagram Buttons in Story Mode, when hiding the notch. The Buttons for editing a story pic, before you actually post it.
These Buttons (for inserting a text, or a gif etc) dont really work...
Can yoo confirm? or dont you guys just dont use instagram storys?
Click to expand...
Click to collapse
I can confirm this. The story buttons are not responsive. I can get them to work sometimes after tapping on them continuously but it's super annoying. However, I found out that swiping up opens the sticker menu so that's a workaround at least.
gtsim9 said:
I can confirm this. The story buttons are not responsive. I can get them to work sometimes after tapping on them continuously but it's super annoying. However, I found out that swiping up opens the sticker menu so that's a workaround at least.
Click to expand...
Click to collapse
Well, yes, but when I swipe up and see the emojis, they dont react neither...
Have the same issue. The buttons are not responsive because they are in the notch area. I've found they do work when you tap below the buttons as if they were below the notch area. The phone thinks the are still in the same spot as usually but it shows them in the top corner.
My insta stories also cuts of edges from pictures I made vertically. It's because of the screen ratio. I can't get them right even if I cut it the right ratio with an other app.
Why instagram still did not updated the app. The problem annoys too much. Anyone knows a workaround?
I use the fingerprint sensor to navigate and not the classic Android bottom bar.
I just tried right now on a story: if I use instead the classic bottom bar, I can see the whole story. If I hide the bottom bar, then the story takes the full screen and it crops the edges, right and left...
As someone said, it has to do with developers and not the phone I guess.
I hope IG will fix it soon
hey guys i am using the nova3i and have the same problem. What sux more that my friend told me that even my stories are being cropped once seen by them on their devices .

[Dev] What Apps would you like to run on the Cover Screen?

Hi Guys! If you could, what Apps would you like to run on your cover screen, given that it's really small or what type of information you wish you could access from the cover screen?
I am a developer, so maybe, just maybe I will be your genie to your wishlist of cover screen apps.
Go ahead, be as creative as you could be! I look forward to hear ideas other than using the Cover Screen as a Notification LED please.
there is no native android support outside screen... so you can't to do anything...
if you are wizard - make please for start AOD on cover screen
andrealin said:
there is no native android support outside screen... so you can't to do anything...
if you are wizard - make please for start AOD on cover screen
Click to expand...
Click to collapse
I obviously can do some magic.
That's why here to collect ideas which the actual users may would like to see, I won't be super keen on AOD implementation as that would eat up battery, but sure, could be an option. I have my own list of to-dos for the first version of the Super App, just want to see what users come up with.
something can toggle wifi Bluetooth sound flashlight.....
I used aod on all my samsungs. and even on large screens it didn't add much to the battery drain. But how many forums I read, most users are at a loss why the small Samsung display, which is logical for aod, was not used in this model.
about adding functional - enabling bixby routines would be logical without opening the phone.
moji666 said:
something can toggle wifi Bluetooth sound flashlight.....
Click to expand...
Click to collapse
Yes, they are nice ideas, noted already.
andrealin said:
I used aod on all my samsungs. and even on large screens it didn't add much to the battery drain. But how many forums I read, most users are at a loss why the small Samsung display, which is logical for aod, was not used in this model.
about adding functional - enabling bixby routines would be logical without opening the phone.
Click to expand...
Click to collapse
Well, if Samsung natively implements sure, not much batter drain, but as a third-party developer there are limited access to the APIs (at least not without root.) But yeah, I will see what I can do about it. Bixiby routines, interesting.
I second the toggles for bluetooth/sound/flashlight. Also would like the notification ring as well.. like the ring we see when we charge it.
super. I hope you will finish this soon
Thanks forbyour work is it possible to choose thé number of lines of notification liké the Google assistant message (3 lines) and an vertical scrolling and longer time before extinction for notifications ?
Please
jagan2 said:
Hi Guys! If you could, what Apps would you like to run on your cover screen, given that it's really small or what type of information you wish you could access from the cover screen?
I am a developer, so maybe, just maybe I will be your genie to your wishlist of cover screen apps.
Go ahead, be as creative as you could be! I look forward to hear ideas other than using the Cover Screen as a Notification LED please.
Click to expand...
Click to collapse
any news?
Sent from my SM-F700F using Tapatalk
I have a couple days with the flip and for my confort don't spend to much effort to open and for the sake of won't scratch more often when I put on every surface close position, I semi-close pacman like position and put like a stand so the metal frame only touch the surface not the glass and that way when I have to open only use one hand to fully open.
But in that position all the notifications appear on the main screen, so no way to see what notification have, it's there a way to show the notifications on the second mini screen in open position?
I agree, just a simple AOD digital clock would be sweet
bobbydharrell said:
I agree, just a simple AOD digital clock would be sweet
Click to expand...
Click to collapse
Yes just like always on display all time that you choose if you want always on display all time on the outside screen even when its open.
Sonos app!!!!!

Categories

Resources