Mystery cntr button press?
Forum » Apt / General Discussion » Mystery cntr button press?
Started by: wordsfailmewordsfailme
On: 1243017709|%e %b %Y, %H:%M %Z|agohover
Number of posts: 3
rss icon RSS: New posts
Mystery cntr button press?
wordsfailmewordsfailme 1243017709|%e %b %Y, %H:%M %Z|agohover

I was struggling with this for a while until I gave up on it about a week ago. If I could get some assistance, it would be much appreciated.

Goal: I use the Treo side button to trigger a star menu (tag="SIDE") that basically acts as my pop-up launcher. In order to have the side button bypass the keyguard (I use KeyGuardTime+), I have created an if/else kind of situation:

*Default*
Side / Apt / Call / (CNTR)

*Tags 1* - Tab "One"
[a>0] (CNTR) / Tag / Apt / Var0 / a
& / Nav / Cntr /
& / Apt / Call / CNTR

*Tags 1* - Tab "Three"
[a=0] (CNTR) / Tag / Apt / Call / (SIDE)

Ok, so this setup works GREAT, except for one small problem. When I push the side button just after I wake the device up, the keyguard is cleared, but I then get a SECOND cntr button press just before my "SIDE" star menu pops up. For example, if I am in the Contacts application when I wake the device up, and push the side button, the keyguard is cleared, then the second cntr button press calls whichever contact is highlighted, and then my star menu appears.

I know that this probably sounds confusing, because it confuses the hell out of me. Let me know if you need me to clarify anything or if you have any idea of why that second cntr button press is occuring. Thanks in advance!

unfold Mystery cntr button press? by wordsfailmewordsfailme, 1243017709|%e %b %Y, %H:%M %Z|agohover
Re: Mystery cntr button press?
videkattenvidekatten 1243195989|%e %b %Y, %H:%M %Z|agohover

Interesting… I have a Centro though but I think it should work in the same way as on Treo.
First of all, thanks for the keyguard tips, never heard of it before.

When is "a" increased?

You have 2 tags named "CNTR" in the above post..

last edited on 1243196350|%e %b %Y, %H:%M %Z|agohover by videkatten + show more
unfold Re: Mystery cntr button press? by videkattenvidekatten, 1243195989|%e %b %Y, %H:%M %Z|agohover
Re: Mystery cntr button press?
wordsfailmewordsfailme 1243374595|%e %b %Y, %H:%M %Z|agohover

Increase "a":

*Default*
Wake / Apt / Var+ / a

…and about the 2 "CNTR" tags, it seems to work just fine that way. Apt will let you have duplicate tag names as long as they are not on the same screen. I've assigned different variable conditions to each one, so they are never called at the same time (which I assume would cause a crash, but I haven't tested it).

Here's some more food for thought:

*Default*
Side / Nav / Cntr

If I have the Side button trigger a Cntr button press, the keyguard goes away, and I do not have the 2nd Cntr button press phenomenon. However….

*Default*
Side / Apt / Call / (CNTR)

*Tags 1* - Tab "One"
(CNTR) / Tag / Nav / Cntr

…if I have the side button call a tag ("CNTR") that triggeres a Cntr button press, the 2nd Cntr button press occurs. I don't know how big of a help this is, but it seems like the Cntr button press is being triggered twice if it's being called as a tag as opposed to being called in the app profiles. Seems like a programming issue, so there is a chance that there is no lamen solution to this. Thanks for any help in advance!

last edited on 1243374635|%e %b %Y, %H:%M %Z|agohover by wordsfailme + show more
unfold Re: Mystery cntr button press? by wordsfailmewordsfailme, 1243374595|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License