Can someone help me out? - Touch CDMA Android Development

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

Related

How to switch between task?

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

Task Switcher on Camera

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

(Wanted) Optical Sleep Wake

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 !

[Q] Sticking buttons

Lately I have noticed that buttons on my phone stick. It first started happening when i would text, it was annoying because when i would type any word with an 'A' in it it would select the text than overwrite it. It took me a while to figure out the shortcut for select all with the menu button and, in these cases, i could tap the menu button to resume typing as normal. I couldn't believe a capacitive button could stick like that, but it wasn't too often.
Then last night as I was typing a whole bunch of apps started launching. Again I had to look up the shortcuts for apps to find that my search button that was stuck.
So I have experienced this on several ROMs and I'm thinking it's a hardware issue, but I'm one of those stubborn folks that would rather try to live with things instead of getting a new phone. I already have my invisible shield installed, my ROM set up how I like, etc...just rather not go through the hassle. Has anyone experienced this before? Is this a sign my capacitive buttons are going to fail or something?
kern417 said:
Lately I have noticed that buttons on my phone stick. It first started happening when i would text, it was annoying because when i would type any word with an 'A' in it it would select the text than overwrite it. It took me a while to figure out the shortcut for select all with the menu button and, in these cases, i could tap the menu button to resume typing as normal. I couldn't believe a capacitive button could stick like that, but it wasn't too often.
Then last night as I was typing a whole bunch of apps started launching. Again I had to look up the shortcuts for apps to find that my search button that was stuck.
So I have experienced this on several ROMs and I'm thinking it's a hardware issue, but I'm one of those stubborn folks that would rather try to live with things instead of getting a new phone. I already have my invisible shield installed, my ROM set up how I like, etc...just rather not go through the hassle. Has anyone experienced this before? Is this a sign my capacitive buttons are going to fail or something?
Click to expand...
Click to collapse
Have you tried reflashing with rsdlite? If that doesn't fix it I would think hardware in some way
Sent from my XT860 using xda premium
Endoroid said:
Have you tried reflashing with rsdlite? If that doesn't fix it I would think hardware in some way
Sent from my XT860 using xda premium
Click to expand...
Click to collapse
No I haven't tried that, may have too i suppose.

[SOLVED] Anyone Know How...

Okay, so I want to be able to do a couple of things. The first is nagging me, as I'm sure there's a way to do it, the second I'm not so sure about.
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
2) This I'm not so sure of. Because of the charging port being on the side of the phone, it works best in my car when it's held in a landscape orientation in my windshield-mounted dock. This is great for everything except one thing: the dialer. I know in most AOSP custom ROMs I've used on other phones, the dialer rotates with the phone. Since I've rarely stuck to stock on a phone before, and we're kind of forced to here, is there a way to get the dialer to rotate?
chrisliphart said:
1) I want to be able to access the multi-tasking/Recent Apps list from anywhere. My idea is to push and hold Menu to get it to pop up, since Home uses Google Now when it's pushed and held. I know there was a way to do that with the search key back when we had 4 keys using LaunchKey, but I can't find anything to let me assign push/hold functionality to Menu. I'm rooted, so I'm sure there's a way to do this...
Click to expand...
Click to collapse
Double tap the home key brings up the recent apps.
Sent from my HTC first using xda app-developers app
1. What jonslice says.
2. Download another dialer in the play store.
Holy crap. I feel so stupid now. How did I not know that? LOL
And yeah, downloaded another dialer. Forgot I could do that (since I've never really done it before). Thanks guys!

Categories

Resources