yashsingh1/xdaforums huggingface dataset:
[Android Software Development] LegalSoul:
Little graphic glitch on Asus Rog Phone

Hello, I've encountered a strange little visual glitch on my ASUS ROG PHONE after I started using LMT pie. It happens every time when I release the pie controls. It happens very fast but quite noticeable.

I recorded the screen when the thing happens (slowed down by 5 times just to make the glitch more obvious). The gif is in the hidden block:

[IMG="glitch-slowed-down"]https://media.giphy.com/media/W3TXVoqjyHMnF79G7T/giphy.gif[/IMG]

You can see, that after I release, there are 1 or 2 frames with something like a shifted-cropped piece of the pie and a dark bar (this one is very noticeable in the light-background apps) over the whole activation area.

Here are some things I noticed about it:

It happens only when I set "Activation Area Position" to "Left" ("Right" works fine, which is a bit sad because I'm a left-handed person, so, unfortunately, Left is my only option :()

With small values of Activation Area Thickness (smaller than 20), the glitch gets less noticeable and vise-versa, but it is hard to activate the pie with such small value of thickness.

The device is not rooted as I don't need any root-requiring actions, accessibility is enabled.

Could you please advise something if there is anything? Thank you!
[Android Software Development] DiamondJohn:
:D I pretty much knew it would be, but in my very quick testing, it actually seemed to work. Killing an app is almost always the start of a dirty hack.;) And "many a true word has been said in jest".

I did not actually test just stopping the service, but maybe the kill I did test with, forces the whole app to restart (and load the XML) when the service is started. As I saw, the new XML does appear to be loaded.

And to be clear, I don't actually have a use for it currently, and no-one else appears to be interested, so multi-paged-LMT wouldn't seem to be a "thing" people want, however, maybe a specific intent to reload a modified XML would be an option (and I say again, that no one appears to actually want;)) I remember a few ROMs back I was running an xposed module that allowed a paged navigation bar.

I think I did a check, and also did not see any intent to activate the display of LMT. Such an intent (send-able from a shell script) might also be useful for Tasker users. But again, we can all see that I have no idea what users actually want.:silly:
[Android Software Development] shaqman89:
This idea actually seems interesting for my long old idea (no time to implement it so far), which is different lmt controls on different set of apps.
[Android Software Development] LegalSoul:
Displaying LMT over apps that are also displayed over other apps.

Hello, I was wondering if there is a way to make LMT pie appear in places like Messenger's Floating chat heads (they are displayed over other apps).

Seems like, on my non rooted device (Asus Rog Phone, Android 8.1), these two applications (Messenger and LMT) that both have "Display over other apps" permission enabled, conflict with each other, so LMT is not appearing on top of Messenger's floating chat window.

On my old rooted device, LMT is working absolutely everywhere.

Maybe there is some kind of priority, to tell that LMT is superior and should appear over ANY app.

Any advice? Thank you.
[Android Software Development] Antibaka:
Surely!! I'm checking everyday now for the latest beta. :cowboy:

Mind leaking what are the changes that's gonna be in the version 3.0?
[Android Software Development] noname81:
On newer versions lmt uses the official overlay layer. Old versions used the system alert overlay. This is not allowed with newer api levels anymore and this is why you see the difference now. I'm afraid there is not much I can do here...
[Android Software Development] noname81:
After testing the new beta on Android 10 for some days, it's time for the first beta release. I still see some rare issues on my Pixel (e.g. the pie gets stuck), but it's quite usable already. Main changes are related to Android 10 support.

Please test and let me know if you run into issues.

Thanks
[Android Software Development] l1ghtwe1ght:
Working well on my Pixel 2 XL - thanks so much! :D

Never knew how much I relied on LMT until it was gone... :o
[Android Software Development] kenkiller:
Thank you so much. It was sorely missed.
[Android Software Development] lynnux:
Thank you! I was temporarily using another pie control from PlayStore, it's not the same, had bugs, was slow, etc.
[Android Software Development] parmafran:
Great this is back - couldn't get the last version to work on my pocophone. All good now, Thanks!
[Android Software Development] Artim_96:
Running great here on Pixel 3a, might even say it feels smoother than before. But the coming days shall tell more.

But many thanks for the update
[Android Software Development] gimpy1:
Thx. I've been using v. 3.0 on my Oreo 8.x rom for some time now. Is this new version good on oreo or not?

Stay with the 3.0 version or go with the new version while I'm on oreo?
[Android Software Development] noname81:
It's also good for Oreo (and all other older Android versions).
[Android Software Development] donlu30:
Been using this since 1.2. 3 beta works just as good on my pixel 2 as 1.2 did on my old razr. Thanks for the quick turnaround dev!
[Android Software Development] Antibaka:
Couldn't get the split screen, wifi, power toggle button to work. Is this because the accessibility for lmt couldn't be turned on?
[Android Software Development] noname81:
Do you have root? WiFi is e.g. now in Android 10 a root feature.
[Android Software Development] Antibaka:
Also the recent apps isn't working. I'm in pixel 2 xl, android 10, non root. We should have a telegram group for this
[Android Software Development] noname81:
This needs accessibility service without root. Did you activate it?
[Android Software Development] Antibaka:
i did, just like how i did in all the previous versions, but it isn't reflected in the app this time
[Android Software Development] Antibaka:
Okay, I did a restart

and it's reflecting in the app already. Working pretty sweet
[Android Software Development] aznriceballman:
Sometimes when I'm typing, the keyboard hides itself randomly
[Android Software Development] noname81:
Could it be, that by mistake you open the pie at the bottom and hit e.g. the back action?
[Android Software Development] tardis_42:
Been running the new beta on 10 on my rooted Pixel 2 XL for a few days. Works most of the time, but maybe once a day stops popping up and won't come back without a device reboot.
[Android Software Development] noname81:
Yes I saw this. I need to analyze this issue. It's quite bad since you need a reboot.
[Android Software Development] mslatter:
[MENTION=1864347]noname81[/MENTION] Thanks SO much for continuing with this on Android 10! It made my day today being able to install this app back on my phone. How do we send a donation?
[Android Software Development] noname81:
The donation link is mentioned in the app on the info page.
[Android Software Development] mslatter:
Done! Have a great weekend and thanks again!
[Android Software Development] noname81:
I saw this happening on my phone the last days now. I have one use case where I can reproduce the issue 100%:

- Start a YouTube video in fullscreen mode (landscape)

- While the video is running switch off the phone

- Wait some time and power on the phone again

- Pie is not coming up anymore and restarting lmt doesn't help

I checked some other overlay apps and they suffer from the same problem. I checked the Android framework code and the problem is that non system overlays are deactivated in this use case due to a bug in Android 10. Overlays are reactivated if one opens e.g. YouTube again or if e.g. the camera app is started.

Can you confirm this use case and the workaround without reboot on your phone?
[Android Software Development] tapa_t:
Pointer settings & permission?

Hey guys,

I have 2 Xperia F5321, one with OS 6.0 and the other with 7.0.

Both not rooted and installed with LMT 3.0 beta.

Pie pointer is enabled on both and I can see them on the screen, but pointer won't click on 6.0. It's working on 7.0.

LMT is given permissions on drawing overlay, accessiblity, app usage.

What am I still missing? Is it in LMT settings? System settings?

Appreciate your input.
[Android Software Development] Mao04:
Are you planning on implementing exclusion areas so we can still use LMT with Q's gesture navigation?

developer.android.com discusses this.

Thanks.
[Android Software Development] noname81:
Hi, thanks for the info. I just saw this feature and implemented the exclusion areas. So with the next beta LMT should be compatible to Q's gesture navigation.
[Android Software Development] GoldElocks:
Can someone upload the latest beta please. Original link is not working.

Edit:

Nevermind... Worked with different browser.

I could not update to 10 until I knew there was a working LMT. If this wasn't around I probably would be on the regular Pixel device rather than the XL. Really appreciate your work noname!
[Android Software Development] tardis_42:
Mostly I've been losing pie when my phone gets low on RAM, or that's the only thing I can figure anyway. Can confirm that launching camera fixes it though, thanks.
[Android Software Development] noname81:
Ok, thanks for the info. This confirms it's a bug in Android 10. Unfortunately there is not much I can do from lmt side. We could raise a bug in the issue tracker for Android.
[Android Software Development] stanley321:
I can confirm launching camera reactivates LMT too!

Thank you for your investigation.
[Android Software Development] DiamondJohn:
My understanding, when a phone gets low on RAM its the LMK that is killing an app. You can set the OOM (to -17) to "hide" it from the LMK (Low Memory Killer) and maybe avert the above from happening.
[Android Software Development] AbhishekS:
Edit: Deleted
[Android Software Development] AbhishekS:
Hey guys! Is there a way to trigger Google Assistant without root? I'm using Android 10 on OnePlus 7 Pro.
[Android Software Development] Artim_96:
What exactly do you want to do?

But at least I don't know of a solution. Nova can create activities, but it can only open the explore section of Assistant. Everything else just gives permission denied or doesn't open anything
[Android Software Development] AbhishekS:
Aah it's okay, I found a solution.

I downloaded the Google Assistant application from Play Store and set a Pie item to launch that application. Launching applications works without root so this did the trick! :D
[Android Software Development] aznriceballman:
How did you hide the nav bar? I used ADB but it seems like the features are still activating at the bottom which is causing this depending on how I hit the space bar it registers as a back gesture
[Android Software Development] noname81:
Thanks! That looks better... :) Input device is not 7 but 2. Can you please do the second procedure again with input device 2 and send me the logcat?
[Android Software Development] danielcarneiro:
Sorry, had to leave the office. Will do it in a few minutes. Cheers.

---------- Post added at 10:22 PM ---------- Previous post was at 10:12 PM ----------

http://hotfile.com/dl/138784347/9b61852/2011-12-28-19-17-53.txt.html

when I do the double swipe up gesture, the menu goes up, instead of LMT.

cheers
[Android Software Development] noname81:
Ok, like ephestione says: All's well that ends well! ;) LMT was able to recognize the gesture:

079: 12-28 19:18:38.894 D/LMT::TouchServiceNative(18035): Result: SwipeUp,0.96 SwipeUp,0.97 SwipeUpDouble

Now just connect an action to that gesture and it should work! Enjoy!

Edit: One thing: Kill LMT once or restart your phone, because LMT is in debug mode right now...
[Android Software Development] Pat123:
Can confirm it works great on Galaxy S2 with input dev set to 2.
[Android Software Development] danielcarneiro:
Best app ever!

Yes, it is working. Thanks a lot. Again, this is one of the best apps, and one of the most useful. I’ve used it for almost 2 years, and was really missing in my SG2. Great work and thank you. Cheers.
[Android Software Development] ephestione:
I was forgetting one feedback: touch service looks like it self closes after a while, and I have no auto killer running, obviously restarting manually the service returns lmt to normal
[Android Software Development] danielcarneiro:
Like ephestione, mine also seems to be self closing! if you go and restart the service, it works again, but after some time, it closes again.
[Android Software Development] noname81:
I don't have that problem on my device! Whenever android decides to schedule the service out due to high memory load, etc. the service is immediately being restarted by the system afterwards. Can someone post a logcat when this problem happens?

Sent from my HTC EVO 3D X515m
[Android Software Development] krzych:
Cool. Can't wait for sorted list. But as far as I'm not blind, selecting activity still doesn't work. I don't know how it is supposed to work - to display one app and then ask about activity or display two of them already - either way, there is only one Sygic without any activity selection possible.

As I said before, Sygic is a monthly trial, you can download it from Market for free, so it would be very nice if you could test it by yourself (after sorted list it should be seconds to check if there are two Sygic's or just one), because I even don't know how to test it thoroughly.

Anyways, thanks for really good job there :).
[Android Software Development] noname81:
Ok, I think I found the problem. It is described here:

http://code.google.com/p/android/issues/detail?id=14340

"Sorry about this, will be fixed in a post-3.0 release." :D Another one said: "AFAIK this is happening on some newer Android versions. I saw it on 2.3.3 I think, but no longer on 2.3.4"

So which Android version are you currently using (I have Android 2.3.5). Nevertheless I implemented the described workaround and will release it with version 0.6...
[Android Software Development] noname81:
It's still not possible to start a special activity via app dialog in LMT. This dialog is for the straight forward way where a user wants to connect an app with the default activity as comfortable/fast as possible. If you want to start a special activity, use the advanced command "Activity" and write down your activity in the form:

com.android.lmt.InfoActivity

"com.android.lmt" is here the package name and "InfoActivity" the special activity from that app to be started. So in your case, start Sygic by hand and record a logcat. You'll find an entry telling you which activity was started:

I/ActivityManager(17816): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.lmt/.

LMT } from pid 17963

For LMT the started activity was here com.android.lmt.LMT

HTH!
[Android Software Development] ephestione:
I am on 2.3.6

Probably recording a logcat as soon as I realize LMT isn't active anymore, wouldn't show anything of the actual LMT killing, since it occurred some time in the past, is that right? Hopefully you won't need a logcat anyway, given the last developments ;)
[Android Software Development] Bejda:
Hello,I have the same stopping service issue on sgsI9000.

Service works at boot but after some time I see the "root access granted to LMT" pop-up,this is the moment I notice service has stopped.After that the root access pop-up start to came back frequently,root access is still granted but here's what I get when watching LMT specific log with OSMonitor:

http://db.tt/POlpSnqX

I'll try to catch other logs if this one doesn't help,will have more time for this later.

:)
[Android Software Development] noname81:
Thanks for the log! That is exact the problem they are describing (posted the link above). Android decides to kill a sticky foreground service (I don't know why, but...) and afterwards the service is being restarted but only onCreate() and not onStartCommand() from the service is being called. So I think my workaround for that Android bug in v0.6 will work!? :D
[Android Software Development] krzych:
Ow, a pity :(. Ok, I'll try to manage this. But still, most apps (like launchers especially) have all activities listed - simple to chec - get GO Launcher, check its sqlite database (forgot the name) - I used it to extract package "real" or "human readable" names from shell. There is all about activities there. I know it does not show you the way, but surely shows it can be done and is needed in launchers... I believe you will figure it out some day :).
[Android Software Development] noname81:
I know how to implement it. It's just a flag when requesting the packages to get all activities. I was just too lazy... ;)

First thing is now ICS/Galaxy Nexus on my list. After that I'll implement that for you...
[Android Software Development] onslaught86:
Fantastic, absolutely fantastic. Came across this in my HD2 days, only just now coming to appreciate its potential - I'm convinced N9 and/or WebOS-style gestures are the future of UI navigation. Your hard work is very much appreciated, I'm sure this will grow into an essential application for all rooted users.

Can confirm input 4 is working on the Motorola RAZR (Presumably for Droid RAZR too).

Really do wish a slow single-finger gesture could be mapped ala iOS's 'Activator' or the aforementioned N9. Rather than app-launching, per se, I'm more interested in using gestures for things like task switching and simulating hardware buttons. Currently, a combination of double-swipe up & MultiTask Manager is getting close to what I'm trying to do, but I'd imagine the proposed 0.6 update with an activity list will do the job even better.

Would rather avoid involving unnecessary extra apps, services, or scripts if possible - this makes things a bit difficult with the RAZR's flavour of MotoBlur (Also common to, I believe, the Droid X2/Droid 3/Droid Bionic/Atrix 2) which behaves very differently with the task switcher & home button in general if you're using a third-party launcher vs. the strange stock BlurHome. It's actually possible to create shortcuts to the BlurHome's app drawer groups directly, even in other launchers, but I haven't had any success using the 'Activity' call within LMT, hence hoping the activity list will do the trick. :)
[Android Software Development] krzych:
Ow maaaaaaaaaaaaan! Just do it with the next release :D LOL, lazy... sheesh!
[Android Software Development] CQDOTCOM:
I wish the Home Longpress function would be made possible on the Samsung Galaxy S after LMT launcher supports ICS

as it is especially irritating and troublesome to use the hardware home button as a task switcher.:(
[Android Software Development] ephestione:
Out of curiosity, why do you say so?

When I was on my iPaq's, I often used hardware buttons, they were faster than using the plastic pen to click on menus.

Same went with the HD2, until the power button killed the touchscreen connections and I had to send it for servicing, so I started being paranoid about pressing hardware buttons.

On the Note, since the home button is the only one, and looks sturdy, I became more confident again, and in fact if it wasn't for a little paranoia still, I would use that exclusively to open task manager, because it's so nice to press :p

Do you have the same reasons to prefer touchscreen gesture for launching taskmanager?
[Android Software Development] noname81:
If i understood you correctly it is "single swipe activation area"...

Sent from my Nexus 4
[Android Software Development] enryea123:
hello noname, your app is amazing.

i would like to suggest you some features:

-possibiltity to remove or hide the toast notification at system startup.

-possibility to always keep the "in app" menu button: although i dont have a menu button in my pie, it disappears in every app (like chrome or play store).

i would suggest you also to write in the first thread how the keyboard listener works (it would be faster to find the answer).

I'd love to have the "bottom pie" option, i hope you will reconsider adding this feature because it would be SUPER awesome.

thank you
[Android Software Development] noname81:
- the toast: really? :D

- keep app menu button: Not a LMT problem but a problem with the navbar hide app you're using. In Paranoid Android e.g. the menu button is still available after hiding the navbar

- pie from bottom: why don't you try the isas? You can have invisible swipe areas from the bottom!
[Android Software Development] enryea123:
1) ok the toast notification is a stupid problem but i hate having houndred of notifications when i turn on my phone :). I thought that since you added that feature you could also add the possibility to remove it. anyway if you don't mind adding this feature don't worry ;).

2)uhm i guess you are right, at the moment i'm on cm10.1 and i'm using this app (http://xdaforums.com/showthread.php?t=1497558), i'm going to try something else.

3)i've already tried them. they are interesting but i feel more comfortable with the pie, moreover when i perform a swipe gesture, the app below the "ltm layer" recieve the swipe too (i hope you understand what i'm saying).

sorry for my poor english
[Android Software Development] Kralik:
Just a quick report, since I didn't find it in the thread before: using Input Device 2 for the Samsung Galaxy Tab 7.7 works.
[Android Software Development] manjee:
Thanks, I'll try and do it. Sorry for my limited skills in English :o

Oh I see you have a nexus 4 too! Great device isn't it? :D I had to set 210% in Y touch screen factor to include the nav bar. Would you mind sharing your settings ?

Edit: it doesn't seem to be 'single swipe activation area'.

I'll try to explain again as my previous description was confusing.

Objective[\b]: to have the nav bar, and only the nav bar as an active zone with 3 ISA configured.

'single swipe activation area' seems to define the width (distance from the edge of the screen) from where the swipe has to start to trigger the event.

Is it possible to add an option to tune the Y dimension of the box?

Hope you understood my poor English :beer:
[Android Software Development] noname81:
You English is pretty good. I added my touchscreen to screen factors to the OP some days ago.

Regarding the isa activation areas: For bottom and top isas the single swipe activation area value in the settings defines the height of the area. The width is always screen width/3. For left and right isas it defines the width. Here the height is always screen height/3.

Please keep on mind that only the starting point of the swipe must be in that area. So you can swipe out of that area to the middle of the screen. The second value to tune the isas is the swipe min bbox size. With it you can define that the swipe must be at least x pixel long to trigger the isa action. Too small values will lead to situation where even "touches" in that area could trigger the action. You normally don't want that because you still want to be able to click links, etc. in that area without triggering a lmt action. Hth...

Sent from my Nexus 4
[Android Software Development] noname81:
double post...
[Android Software Development] manjee:
Thank you. It confirms my analysis. Would it be easy to implement a setting for the height of the left and right isas ? Or even better a dedicated isa on the navbar ? :D
[Android Software Development] k_rhyme:
this app working great on motorola razr hd xt925 Jelly bean ;)

sometimes force close
[Android Software Development] resynx:
Sorry if this has been asked before but I couldn't find anything. I'm just getting into using LMT and I'm really liking the whole idea so far, save a lot of screen space on my Nexus 4! Now I've tried setting custom icons for the pie and the icons always come out really small. The size is correct, 120x96, but it is always very small and doesn't come out to the default icon sizes. I am using Zenyth Keys by the way.

Thanks!
[Android Software Development] noname81:
Can you post a logcat for the crashes? Thanks!

Sent from my Nexus 4
[Android Software Development] noname81:
Yes, I know. I introduced user image scaling to avoid the problem. Will be part of the next release...

Sent from my Nexus 4