I got the built-in Android App Switcher working.... use the camera button.
You need the new kernel/NBH below -- this is based on dzo's 4/8 kernel
Camera button.
< 0.5 second press = BACK
0.5 - ~1.5 second press = HOME
> 1.5 second press = APP SWITCHER (pops up after you hold it long enough)
For home, you just have to do a leap-of-faith. If you hold it too short, you'll go back. If you hold it too long, the app switcher will come up. I reduced the time you need to hold it to 0.5 seconds. It was 1 second before.
Useful tip: You can use the App Switcher on the home screen.
Please don't ask to change the task switcher button! The task switcher is mapped to the HOME button by Android itself. I only fixed the kernel to enable Android to recognize the button push properly. To actually move the task switcher to a different button, you need to rebuild Android.
What I mean: http://developer.android.com/images/system-architecture.jpg
I fixed the red part. The stuff that allows you to change the App Switcher button is in the blue part (Application Framework).
Myn's build (should work on any build):
NBH files (both donut and eclair):
http://dl.dropbox.com/u/58383/android/ROMUpdateUtility.7z
Need 7zip to extract (makes file size smaller).
jnadke said:
I got the built-in Android App Switcher working.... use the camera button.
You need the new kernel below -- this is based on dzo's 4/8 kernel
Camera button.
< 0.5 second press = BACK
0.5 - ~1.5 second press = HOME
> 1.5 second press = APP SWITCHER (pops up after you hold it long enough)
For home, you just have to do a leap-of-faith. If you hold it too short, you'll go back. If you hold it too long, the app switcher will come up. I reduced the time you need to hold it to 0.5 seconds.
Myn's build (should work on any build):
NBH files (both donut and eclair):
http://dl.dropbox.com/u/58383/android/ROMUpdateUtility.7z
Need 7zip to extract (makes file size smaller).
Click to expand...
Click to collapse
very nice man. People have been wanting this to work for a long long time. We all appreciate it
Anyone know if this works on cupcake? I'm using vilord's tattoo build.
kiwilime said:
Anyone know if this works on cupcake? I'm using vilord's tattoo build.
Click to expand...
Click to collapse
If you're using NoMoRootfs (i.e. androidinstall.tar) then you can use this kernel.
I thought Cupcake has an App Switcher. Not totally sure.
incubus26jc said:
very nice man. People have been wanting this to work for a long long time. We all appreciate it
Click to expand...
Click to collapse
Np. Took me less than 10 minutes to fix it, and a lot longer to get the NBH build environment up (didn't realize tinboot had a norootfs branch......).
oh man this is nice!
thanks alot!!
Flashing now... Seems to work great... Doesn't allow you to switch to old apps... which I'm sure is stock functionality... for example, I have JuiceDefender launcher on startup and I couldn't access it via the task switcher, I had to go into OSMonitor, click on it, then switch to it that way...
fldash said:
Flashing now... Seems to work great... Doesn't allow you to switch to old apps... which I'm sure is stock functionality... for example, I have JuiceDefender launcher on startup and I couldn't access it via the task switcher, I had to go into OSMonitor, click on it, then switch to it that way...
Click to expand...
Click to collapse
It will only let you switch between the last 6 applications you used. It won't show them until you use them (which is why I had 2).
jnadke said:
Np. Took me less than 10 minutes to fix it, and a lot longer to get the NBH build environment up (didn't realize tinboot had a norootfs branch......).
Click to expand...
Click to collapse
Lol, yeah - that caught me too when I was messing around with nbhs a while back. Thanks for making the changes. This is a welcome (re)addition.
If i do a backup from the bootscreen options list, then reflash with this version, Can I to a restore so that I do not have to totally start from scratch?
Gersonian said:
If i do a backup from the bootscreen options list, then reflash with this version, Can I to a restore so that I do not have to totally start from scratch?
Click to expand...
Click to collapse
just flash nbh files whenever
they dont affect your data
inertone said:
just flash nbh files whenever
they dont affect your data
Click to expand...
Click to collapse
Never mind... figured it out. A little searching never hurts.
This is freakin sweet. Thanks, for making this happen!
Edit: Nevermind, apparently it just needed a reboot. Working fine now.
Although, something was preventing it from sleeping. I don't know what. I knew it wasn't sleeping because even after 30 seconds, any button would wake it up (and Spare Parts reported the last time since it slept was 8 hours).
Original:
Apparently the kernel I built isn't sleeping properly.
I don't know why, feel free to go back to dzo's older 4/8 build.
I commited the changes I made. Dzo can recompile when he gets back and see if the sleeping problem is resolved.
My battery ran down to 33% in 8 hours. Not sleeping at all.
This is just opening up the recent apps screen, isn't there an actual task switcher?
mrono said:
This is just opening up the recent apps screen, isn't there an actual task switcher?
Click to expand...
Click to collapse
It's the Recent Applications screen, but it actually does switch tasks. The other applications open up in the state you left them (unless they were garbage collected).
Also, for example, if you have Messaging and Opera open, then task switch from Opera to Messaging, when you use the back key it will back to Opera rather than the home screen.
works well. Testing right now
I have not had any sleeing issues. Working great.
works great for me too. love it. phone sleeps fine (orange slow LED, any button does not wake). thx jnadke
tatnai said:
works great for me too. love it. phone sleeps fine (orange slow LED, any button does not wake). thx jnadke
Click to expand...
Click to collapse
yeah man thanks again!
this was greatly needed!
plus i got used to the timing of the button
i count in my head..."1 mississippi...home!" lol
Related
Im using this instead of HTC X-Button that came with the Kaiser. So far so good.
Also posted in 'General Discussion' section.
nice. I'll give it a go on my mogul
Thanks
Thanks for the post. Much easer to use with the "finger" seems to be running fine on the kaiser.
Does it exibit the X vs OK bug where for example you set the time, and pressing OK closes the app without saving the choice? It's been brought up that this version has the two choices both closing apps. Can you test?
I am also going to give it a go
RemE said:
Does it exibit the X vs OK bug where for example you set the time, and pressing OK closes the app without saving the choice? It's been brought up that this version has the two choices both closing apps. Can you test?
Click to expand...
Click to collapse
it's happened to me on 2 ocassions... i don't know what's triggering the problem, though. i simply disable the Task Manager "close using X" feature if i want to make an app change and have it stick (saved).
How do I get the menu to open using AE Button Plus? I can't seem to find the correct exe to associate to a button.
Cheers,
Kimocal
I am trying to install this app on a new Samsung SCH-i760 (WM6 Pro) but it isn't working out so well. The install goes fine, the control panel applet shows up and all the options appear to work. However, the button does not do anything different. There is no menu on the today screen and the close button does nothing when held down.... Any ideas?
As above, is it possible to do that in HTC Dream? Mine is rooted and flashed to 4.2.3.
What I mean is that, when I am using this application (ABC), then I want to open another application (XYZ). After using XYZ, can I swtich to ABC with the state still being there? Meaning it will not open like a new application, but go directly to the screen that I was previously at?
Hold the home button to see running tasks.. then pick one.
bryant_16 said:
As above, is it possible to do that in HTC Dream? Mine is rooted and flashed to 4.2.3.
What I mean is that, when I am using this application (ABC), then I want to open another application (XYZ). After using XYZ, can I swtich to ABC with the state still being there? Meaning it will not open like a new application, but go directly to the screen that I was previously at?
Click to expand...
Click to collapse
it will only go back if the phone has enough ram to keep it stored, else android will kill the process
goldenarmZ, if i'm not wrong when holding down the 'Home' button, is actually opening up recent opened applications.
B-man007, means there is no way to switch around tasks?
bryant_16 said:
goldenarmZ, if i'm not wrong when holding down the 'Home' button, is actually opening up recent opened applications.
Click to expand...
Click to collapse
If they're still in memory, it will switch back to the same instance you were using, if not it'll launch a new one.
How to make one application stay in memory?
Advanced Task Manager can stop processes from getting killed.. It's in the market.
Yeah, I have that application too but how you make it not being killed?
Is there a faster way? Holding home just seems like it takes forever.
tdusen said:
Is there a faster way? Holding home just seems like it takes forever.
Click to expand...
Click to collapse
holding home takes literally 2 seconds for your apps to pop up. that doesn't seem like forever to me, lol
tazz9690 said:
holding home takes literally 2 seconds for your apps to pop up. that doesn't seem like forever to me, lol
Click to expand...
Click to collapse
exactly its faster than alt-tab
Hi guys,
I am currently using the latest CyanogenMod (have been for more 7 months). I have found that it takes about 1 full seconds (at times maybe more) to load the Dialer app when I press the "Call" button. I would like to find out how can I speed up this function, as for me, the phone dialer app is the MOST crucial function for a PDA phone.
I find that it is much faster for me to get to the "Home" app after I have enabled "Home App in Memory" using "Spare Parts". Is the reason why the dialer is slow due to it having to load up every single time? Can we run "Dialer" the same way as "Home App in Memory"? Going back to the Home screen takes less than a second from any app that I may be using, at any time. Can you guys help me to make the same happen for Dialer? Ideas?
Thanks! Hope I am not the only one with this minor quirk.
The problem is that Wysie's Contacts (which is used in most of the roms out there) takes so long to load it's ridiculous. The only permanent fix would be to extract the original contacts app from one of the stock roms and push it to your phone. Of course you may lose certain features in the process.
That is to the best of my knowledge, anyway.
Try clearing your call log.
r4d14n7 said:
The problem is that Wysie's Contacts (which is used in most of the roms out there) takes so long to load it's ridiculous. The only permanent fix would be to extract the original contacts app from one of the stock roms and push it to your phone. Of course you may lose certain features in the process.
That is to the best of my knowledge, anyway.
Click to expand...
Click to collapse
Ah, so it's Wysie's contacts app that is slow right? Hmmm... is there an .apk file for the original stock app? I think speed really is very important in this sense. I do not have to have all the fancy stuff if it slows down my ability to phone another person. Thanks for your suggestion.
Sleeepy2 said:
Try clearing your call log.
Click to expand...
Click to collapse
It works, but for a while only (when the log grows longer then the lag comes back again). Thanks, this would be a temporary 'fix'.
It has to do with the gruoping. I don't have root any more so I can't check. See if you can turn the grouping off or if there is a way to auto clear the log. There are a lot of great features in that contact apk that make it a must.
Damn, I wish I could get root so I could have it back.
I tried doing a search but I honestly don't know what to enter--tried button layout, android controls, etc--no dice.
On the Touch, it used to be that if you held the camera button down, it took you straight to home. That does not seem to be the case anymore. Can anyone tell me if the Touch has a way to do that now--and if not, how in the world are you getting out of the browser without losing all of your progress? Task Switcher doesn't seem to allow me to choose my home screen, and if I switch to something else and then exit out of that, my browser is waiting for me, like the sneaky bastard it is.
spectheintro said:
I tried doing a search but I honestly don't know what to enter--tried button layout, android controls, etc--no dice.
On the Touch, it used to be that if you held the camera button down, it took you straight to home. That does not seem to be the case anymore. Can anyone tell me if the Touch has a way to do that now--and if not, how in the world are you getting out of the browser without losing all of your progress? Task Switcher doesn't seem to allow me to choose my home screen, and if I switch to something else and then exit out of that, my browser is waiting for me, like the sneaky bastard it is.
Click to expand...
Click to collapse
if you aare using an nbh that has the task switcher built into it, then you need to only hold the camera button for a second for home.
tap - back
hold for a sec - home
long hold - task switcher
Awesome! It's going to take some getting used to, but this is a huge help.
Now if I could only figure out how to install themes...
spectheintro said:
Awesome! It's going to take some getting used to, but this is a huge help.
Now if I could only figure out how to install themes...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=628353
go to how to install an update
I am wanting to know if anyone can port the program for the nexus to the aria, that when the trackpad is pushed the phone will wake. I know that coming from an Iphone that is a huge benefit.
seconded.
it's a pain to reach over to push the power button every time because the phone slides towards if you if face up on desk pushing trackpad button much more elegant solution.
Hello, I am a new member and I thought I'd join and tell you what I found. I've been using my Aria for about a week already. I used lock2.0 (bugs and keeps your phone running idle, not standby), nolock (basically takes away lock all together and only wakes it up), this widget screen mode (bugs) thing and a couple others..
Anyways the best solution (in my opinion) is this app called "lockbot." It wakes the phone up using the trackpad and volume keys. The free version lacks the password but if you get the pro, you can add the pass code functionality (not for me especially if you need to do an emergency call plus you can always download a kill app in case your phone gets stolen). A good thing about it too is that you can modify your lock screens i.e. iphone style, x10 style, froyo style, etc. I got 5 different types cycling randomly. You can also change a few options i.e. lock during a call so you dont do a "face hang up" or shake to unlock. The only real bug I found so far was the x10 lockscreen because it would lag for about a second.
I know a few may say "oh the side keys will get hit and drain the battery" but honestly, after using the app for like 5 days, I haven't notice any change in battery consumption. Not wearing out your power button pretty much outweighs losing a minuscule of battery life.
Hope it helps. Of course you can try out the other apps to see if they suit you =)
kudvu002 said:
I am wanting to know if anyone can port the program for the nexus to the aria, that when the trackpad is pushed the phone will wake. I know that coming from an Iphone that is a huge benefit.
Click to expand...
Click to collapse
I'm using lockbot now and it's exactly what I was looking for. I'll keep an eye on battery life and report back if it seems to drop.
Awesome suggestion, thanks!!
Btw I was going through the configurations. Apparently you can set a lock code for the lockscreen once you swipe it. You have to pay for the swipe lock but it's free to put in a numeric lock code.
Cheers
I tried lockbot and uninstalled it.
-It does not support the Aria's native resolution.
-Won't let you load BG pics smaller than the 480 x 846 or whatever the res of the device it was made for is.
-When you press the power button to lock and then immediately hit it again, it never locks, just shows the home screen again.
Would it be hard to port the N1's app? I just want something simple that works
nope
didn't work out for me.
almost locked me out of the phone.
I think it doesn't play well with task killer.
Im using an app called "no lock" disables the slide lock and you can jus press the optical button, volume or power buttons to unlock the phone.
pcruz said:
Im using an app called "no lock" disables the slide lock and you can jus press the optical button, volume or power buttons to unlock the phone.
Click to expand...
Click to collapse
Same here, works great.
Sent from my HTC Liberty
This just became available on the Incredible...I am sending the file that needs to be edited to the dev who created it for the Incredible so he can make it work for the Aria as well. You can take a look at the thread here:
http://forum.xda-developers.com/showthread.php?p=7267384#post7267384
If anyone has access to the phone now and knows how to use adb you can pull the file off and send it to him. If not I'll send it to him later tonight.
Optical wake working for me
EDIT-Short Version...
-:Have Clockwork Recovery Installed and know how to use ADB:-
-DOWNLOAD ATTACHED qwerty.kl (may need 7zip to extract file from archive...)
-BOOT into CLOCKWORK recovery with NO USB PLUGGED INto phone!!!
-PARTITIONS>MOUNT /SYSTEM
-adb push qwerty.kl /system/usr/keylayout|adb reboot
END EDIT
First android phone! I love it. I too wanted optical press-to-wake, particularly because my ATT case made the power button a bit of a pain to press. First real post, been here a bit, I mostly just read/search.
Anyways...I had been searching around the file system getting myself acquainted with android and found /system/usr/keylayout.
It has 4 files in it, one of which is qwerty.kl. It sounded promising so I checked it out.
Long story short, I took a look at it, tried changing our DPAD_CENTER to WAKE instead of WAKE_DROPPED (just like the power button, seemed logical ), but it didn't work. Did some more searching and saw that the key was key # 272 on another phone instead of 232 in our qwerty.kl. I have it working now. Here's the thread I read to figure it out http://forum.xda-developers.com/showthread.php?t=729923
I did this in windows...(I have ADB working and Clockwork Recovery, you should get these too, invaluable tools)
1. Boot into clockworkmod recovery
2. Go to Partions Menu and Mount /System
3. adb pull /system/usr/keylayout/qwerty.kl (this pulls a file, qwerty.kl, and puts it in your adb tools directory)
4. Now you need to open the qwerty.kl file and edit it.
5. Use notepad, or notepad++, or vi, anything really.
6. Search qwerty.kl for key 232 DPAD_CENTER WAKE_DROPPED
7. Change 232 to 272
8. Change WAKE_DROPPED to just WAKE
9. Save the file
Now we need to push the file back to the device. This sounds very easy, and is, except I had trouble and got stuck in clockwork twice and had to pull the battery, as I think when I went to select reboot or unmount in clockwork (using the trackpad...), my newly changed trackpad was probably making everything act up. So I tried twice and had to pull batt twice before I just figured I would streamline my commands. (edit-trackpad works normally in clockwork after next step.)
10. do this! adb push qwerty.kl /system/usr/keylayout|adb reboot
This will push your new qwerty.kl file to the phone and reboot it without you having to use the trackpad which could leave you potentially stuck in clockwork recovery, thus avoiding the inconvenience of taking off your case/back.
I attached my qwerty.kl in a 7z archive so you hopefully can just extract it to wherever you need it and just adb push it to /system/usr/keylayout.
Good luck. Let me know if it works.
When the phone reboots you will be able to press the optical trackpad and wake the phone!
I haven't really tested it more than waking the phone a half dozen times but it seems to do what I want. When getting stuck in clockwork concerns me, I will simply edit my qwerty.kl file as needed when doing clockworkmod recovery work as it is a fairly simple and straightforward process.
EDIT-phone functions EXACTLY as before except can now wake via trackpad press!
Questions, why were you using the trackpad in clockwork?
Also, I like how no lock works since I have a security code on my device. When I dont feel like entering my code everytime the screen blacks out, I just run no lock and I wake the device up using the trackpad. Will your modification do the same? Or once I wake the device up, it will take me to the security screen?
SysAdmNj said:
Questions, why were you using the trackpad in clockwork?
Also, I like how no lock works since I have a security code on my device. When I dont feel like entering my code everytime the screen blacks out, I just run no lock and I wake the device up using the trackpad. Will your modification do the same? Or once I wake the device up, it will take me to the security screen?
Click to expand...
Click to collapse
Because I could...? haha. I think it did the same thing when i tried selecting with the power button as well, can't recall, and didn't futz with it enough to remember it today. Could be a clockwork error or my own...
This doesn't get rid of the lock screen, it just wakes the phone with a trackpad push which I believe was the original intent of the thread. "No lock," well...gets rid of the lock screen which is a different function all together. I don't use a code/pattern on my phone, just the standard drag down lockscreen, its not terribly inconvenient to me.
I find it a bit more convenient since my thumb is already there when I pick up the phone. Also, whenever I would demo my phone to anyone else (whether they owned an iphone or not) they would ALWAYS try to push the trackpad to wake it, and I would ALWAYS have to point them to the awkward power button.
I'm not a huge fan of installing random stuff, and this does exactly what I want. Simple fix ftw.
yollasho said:
I'm not a huge fan of installing random stuff, and this does exactly what I want. Simple fix ftw.
Click to expand...
Click to collapse
this is awesome. going to try it once i get home. thank you so much!
edit:
pushed the file with no issues whatsoever. very very helpful.
mattbollenbach said:
this is awesome. going to try it once i get home. thank you so much!
edit:
pushed the file with no issues whatsoever. very very helpful.
Click to expand...
Click to collapse
Really glad it worked for you!
Thank You. your procedure worked flawlessly.
HTC should really rethink their "wake up" button, using power button up on top is a real pain.
yollasho said:
Good luck. Let me know if it works
Click to expand...
Click to collapse
It works ! Thanks man.. very nice find
Very usefull ..
@MOD
Sticky @ Development section please !
haven't done this yet so feel free to correct me but this looks to just change the wake button from the power to the optical. is there a way to allow both to wake the phone?
either way great work.
ryan92084 said:
haven't done this yet so feel free to correct me but this looks to just change the wake button from the power to the optical. is there a way to allow both to wake the phone?
either way great work.
Click to expand...
Click to collapse
Both wake the phone !