Home Long Press - Nexus One Themes and Apps

Is there any app that makes the pop-up selection 9-12 programs? (OR a Home Long Press look-alike replacement)
If not, would changing this require modifying the Android source code? Or would an app be able to change this functionality? (Not sure if it's locked down etc)

I'm checking the code now...useful to have.

+1 for this. I've been starting to use it while im on the browser and i get a text, pretty useful

I believe a few people like Wysie were talking about this on twitter, not sure what ever came of it though.

This is the code that needs to be updated.
http://android.git.kernel.org/?p=pl...nal/policy/impl/RecentApplicationsDialog.java
CM's git: http://github.com/cyanogen/android_frameworks_policies_base
Code:
ActivityManager.RecentTaskInfo
Information you can retrieve about tasks that the user has most recently started or visited.
I see this in the log:
Code:
D/StatusBar( 137): DISABLE_EXPAND: yes
Attempting to make the changes in the .smali assembly code...

Casao said:
I believe a few people like Wysie were talking about this on twitter, not sure what ever came of it though.
Click to expand...
Click to collapse
Can you give any more details?
Double check if that's the correct name? Or tell me who else was involved?
I'm trying to search Google for various things and nothing comes up:
http://www.google.com/search?num=100&hl=en&q=site:twitter.com/Wysie+home

britoso said:
This is the code that needs to be updated.
http://android.git.kernel.org/?p=pl...nal/policy/impl/RecentApplicationsDialog.java
CM's git: http://github.com/cyanogen/android_frameworks_policies_base
Code:
ActivityManager.RecentTaskInfo
Information you can retrieve about tasks that the user has most recently started or visited.
I see this in the log:
Code:
D/StatusBar( 137): DISABLE_EXPAND: yes
Attempting to make the changes in the .smali assembly code...
Click to expand...
Click to collapse
So it's definitely not something that is possible through an app then, correct?

Yes it should be, in fact the code to do this is in reloadButtons() in that file.
Someone can change launcher to direct the home button longpress at a custom handler to display 12 tasks.
I've got stuck with trying to make an assembly fix.
The 6 recent tasks are assigned to 6 hardcoded placeholders on the recent_apps_dialog window. That xml layout will need to be re-compiled and the new placeholder IDs need to be added in at line 720.
info:
jar: android.policy.jar
file: \com\android\internal\policy\impl\RecentApplicationsDialog.smali
lines: 12,14,4,646-720

I would really like to see this happen as well!

This would be a fantastic addition!

britoso said:
Yes it should be, in fact the code to do this is in reloadButtons() in that file.
Someone can change launcher to direct the home button longpress at a custom handler to display 12 tasks.
I've got stuck with trying to make an assembly fix.
The 6 recent tasks are assigned to 6 hardcoded placeholders on the recent_apps_dialog window. That xml layout will need to be re-compiled and the new placeholder IDs need to be added in at line 720.
info:
jar: android.policy.jar
file: \com\android\internal\policy\impl\RecentApplicationsDialog.smali
lines: 12,14,4,646-720
Click to expand...
Click to collapse
In my many many searches (I've been wanting an app like this for 6+ months haha) I read somewhere that the Home Long Press is protected and can't be overwritten by a standard Android app. Is this true?

15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185

pershoot said:
15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185
Click to expand...
Click to collapse
CM only? Noooooo

Is a thread for that home long press? I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.

muncheese said:
Is a thread for that home long press? I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.
Click to expand...
Click to collapse
its for effect, and also with 15 loaded up and sifting through, 'could' make things easier for navigation, without the need for the use of the trackball.

muncheese said:
Is a thread for that home long press?
Click to expand...
Click to collapse
What? This part makes no sense.
I'm wondering what the point of selecting inside that menu accomplishes. Basically making people double click to select the app.
Click to expand...
Click to collapse
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.

Paul22000 said:
What? This part makes no sense.
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.
Click to expand...
Click to collapse
Sorry I'm not contributing to the thread, but I never really noticed how useful this feature was until now. Having 15 or more so apps would be nice, but I'm on a Desire ROM also..

pershoot said:
its for effect, and also with 15 loaded up and sifring through, 'could' make things easier for navigation, without the need for the use of the trackball.
Click to expand...
Click to collapse
I must have girlie fingers then, lol. Hope it can be optional down the line, my initial thought was that you would be able to pull options for the app after selecting it and then hitting the menu button. Maybe like a quick task manager too force kill running apps.
That first line was supposed to say "is there a thread for the mod"

Paul22000 said:
What? This part makes no sense.
Switching directly between apps is much faster using home long press than pressing home, opening the launcher, and finding the app repeatedly.
Click to expand...
Click to collapse
i think he meant of the addition of select then launch. my original statement on it still holds true. i personally dont like to use trackball through 15 apps highlighting each one, especially if there is one with more then word of line text and i want to see what it says.
maybe this will get configurable in settings along with the number of recent apps (which is on the todo list). we'll see...

pershoot said:
15 Recent Apps + AVLock – CM5.0.6 – Nexus -
http://droidbasement.com/db-blog/?p=185
Click to expand...
Click to collapse
after i flashed this my phone wont auto rotate anymore i dont know if thats a known issue or not but its nice like the idea

Related

TaskOS, a powerfull task manager.

VIDEO HERE
NEW COOL VIDEO HERE. Click this link.
Hi there, i just want to have feedback on my TaskOS app.
This application show to the users all the apps he opened and never closed. ( leave applications with HOME key and it will appear. Leave with back key and won't appear.)
The user can scroll between all these apps and launch one by clicking on it or kill it by dragging to the top ( like Palm PRE)
That's a beta, but all the mains features are there.
What do you think of it.
PS: i am looking for ROM developpers that would be able to launch it by long click on the "home" button or trackball/other.
Features
* customizable icon size
* wave effect ( i think i'll remove it)
* confirm killing app or not
* notification to launch easily ( looking for people who know ho to integrate this with long press on home button - trackball)
* more to come...
Will come
* theming the bar
* ignore apps by moving icon to the bottom
Screenshots:
Looks nice but why doesn't it show as many apps as say taskiller?
I'm using a Nexus One btw
For what version of Android is this? Can I run this on my 1.5 device with Sense?
iVisionX01 said:
Looks nice but why doesn't it show as many apps as say taskiller?
I'm using a Nexus One btw
Click to expand...
Click to collapse
I said it here: this application only kills ACTIVE app's. I don't want to kill other apps.
Read informations here: http://geekfor.me/faq/you-shouldnt-be-using-a-task-killer-with-android/
leave (quit) applications with HOME key and it will appear. Leave with back key and won't appear.
Click to expand...
Click to collapse
tbaker077 said:
For what version of Android is this? Can I run this on my 1.5 device with Sense?
Click to expand...
Click to collapse
This version is Android 2.1 on my hero. But yes of course, you can use it on a 1,5 device with sense!
nice thought, i like it!
I'm running 1.6 stock and unfortunately it doesn't show up when
i leave any app with home-key, but i find the idea of holding
home-key pressed in order to show up really nice!
...and yeah, i stopped using *press-here-to-kill-all-tasks*
I kinda like it
some suggestions:
- gestures (like from down to up to open it)
- Lock the slide up feature while scrolling
- Maybe previews of apps (would require lots of mem somehow)?
- click anywhere other than the switcher to close the switcher
- don't display apps twice
BTW: what about making an app launcher like the wave launcher from webOS? shouldnt be too hard and very useful
I like the idea of a Pre app launcher, but I want to say something related to memory may bog things down a little bit.
the_fish said:
- gestures (like from down to up to open it)
Click to expand...
Click to collapse
Drag up to kill
Drag to the bottom of the screen to ignore
Click to pen!
the_fish said:
- Lock the slide up feature while scrolling
Click to expand...
Click to collapse
Not so easy, but that's in my mind.
the_fish said:
- Maybe previews of apps (would require lots of mem somehow)?
Click to expand...
Click to collapse
I don t think it's possible whith SDK
the_fish said:
- click anywhere other than the switcher to close the switcher
Click to expand...
Click to collapse
Why not....
the_fish said:
- don't display apps twice
Click to expand...
Click to collapse
Done in last update!
profete162 said:
Drag up to kill
Drag to the bottom of the screen to ignore
Click to pen!
Not so easy, but that's in my mind.
I don t think it's possible whith SDK
Why not....
Done in last update!
Click to expand...
Click to collapse
alright. Nevermind the thumbnails by gestures i mean like a system one so you drag up from the bottom of the screen to open taskOS but i guess that isn't possible unfortunately... maybe use a longpress menu to open it? would be great if a different solution was possible to open the switcher up
see news here : http://forum.xda-developers.com/showthread.php?p=5404622#post5404622 to launch with Home key, but i guess i won't have answers.
I think Google should allow users to make custom shortcuts by clicking on buttons!
Ignore function does not work on some screen sizes!!!!
I'll have a look thursday! Be patient
Could you possible add a memory counter at like the corner somewhere to show how much free ram we have? Also, any way to make this look/work a bit more like the WebOS cards if possible?
As for resolution I notice you have a Hero, so I take it you made the res for Hero(my Eris has the same res as the Hero)?
profete162 said:
I said it here: this application only kills ACTIVE app's. I don't want to kill other apps.
Click to expand...
Click to collapse
This isn't entirely true.
Some apps need to be force killed.
Android takes care of this only when the situation is really dire.
Why waste the valuable RAM?
Let's say you use App "X" once a day, but it's a resource (memory + cpu) hungry app, like Maps and derivatives.
Now, this is an app which will figure in the active list, but some of them like remaining in the background. Have 5 of those, and your system will work at a crawl.
Now try killing that app. You can really feel the difference, especially if you're using 7201A based handsets (that's 528Mhz).
Take a look at com.eolwral.osmonitor.
IMO, the best task manager around. And it's free (as well as ad-free).
why not mail the author and share some ideas?
You do have a innovative approach to task management (ui-wise).
i don't know if anyone has the same problems, but since last update i keep getting force closes when trying to kill an app!
edit: dis- and reenabling kill popup fixed the problem. weird.
the_fish said:
i don't know if anyone has the same problems, but since last update i keep getting force closes when trying to kill an app!
edit: dis- and reenabling kill popup fixed the problem. weird.
Click to expand...
Click to collapse
Thank for the feedback!
You are the only one people that I heard having this problem... Really strange but i am glad that Taskos work again!
Next time, send me the logcat so i will be able to correct the bug!
Yeah, it would be nice if we could use TaskOS by holding home... The normal Android switcher is so useless.
very nice app ... will be essential if you find a way to use as task switcher (longpress home)
could you maybe add the option to hide statusbar icon?
also kinetic scrolling would be very welcome
Inertia in scrolling: seem to be so hard to implement.... You will have to wait.
Long press home: Developpers don't have access to this! I will investigate with Custom ROM developers. Imagine all apps can acces home button and you press it!
Ability to remove statusbar icon: will be done in next update.
I think that I left a bug in previous update. Nobody told me and i just corrected this evening. Sorry for the inconveniance!
Short presentation video: http://www.youtube.com/watch?v=I9GUlAf5y8k
So does this software now have the ability to load via the home button?

[[Idea]]Notification bar Multi tasking((Picture))

So i have been working on something for awhile it started on paper and Made an example in Photoshop. the Idea is you open the notification bar and you swipe left and right to move through open applications and swipe up to end them Check out attachment.
PS: I am not a programmer so I cant make this happen I just thought of it..
BTW: can you control applications from the notification bar?? if not then this is worthless...
That would be really, really good. And I like your mock-up concept as well.
Sort of like the new Dolphin HD tab browser.
You should suggest this to one of the Launcher devs.
good..because the notification bar is always on top..will be great for multitasking.
That's why I tried to do in TaskOS ( free on the Market.)
I do not use the notification bar, but a long press on the search button ( if your device doesn't have one, in the settings you can choose camera button and will try to add more)
The screenshot should be working in some custom realease of CyanogenMod..
profete162 said:
That's why I tried to do in TaskOS ( free on the Market.)
I do not use the notification bar, but a long press on the search button ( if your device doesn't have one, in the settings you can choose camera button and will try to add more)
The screenshot should be working in some custom realease of CyanogenMod..
Click to expand...
Click to collapse
Putting something like this in place of long pressing the home button would be the best way I would think.
I like the idea *!*!
possible? Maybe. I think of the interaction of seepu+ as an interaction example, but I don't even wasn't to think about the memory that would suck up.
Do you plan on having all the apps in memory up there? Cause that's gonnna be alot of swiping to find what you need.
Also you already have the hold down home button. That's accessible even with the notification bar hidden (various browsers, apps hide the not. bar).
I really don't get the desire to have thumbnails on handhelds for what the activity is doing. 1) they will always bee too small to use by glancin 2) you know what your switching to, before you even bring up the recent apps function. 3) There is very little "visual" activities done on a phone that warrant a "preview" in order to choose which you want to pick.
All of you could also try Power Strip and Quick Desk for great multitasking usage with the search and homescreen buttons
ITS a CONCEPT not going to happen by me...
yes, multitaslk view is more important
i like your idea of thumbnail view of each programs running in the background. it allows us to look through all running programs, instead of small icons
If it is possible, it can be shown either using the search or home button
Good concept, but I'd be thinking of using the icon of the software instead of screen preview. Better for privacy...
johnnie93 said:
ITS a CONCEPT not going to happen by me...
Click to expand...
Click to collapse
its a great freakin concept. a great developer should take a look at this. i would no doubt pay for this
yes I think this is the ****! we don't need the system programs that are running, just the user programs...
[email protected] said:
yes I think this is the ****! we don't need the system programs that are running, just the user programs...
Click to expand...
Click to collapse
The system can't differentiate between what programs the user launched and which were launched into memory automatically.
JCopernicus said:
The system can't differentiate between what programs the user launched and which were launched into memory automatically.
Click to expand...
Click to collapse
Well, it can eliminate system programs, and widgets, and programs with no launcher icon, and services, and...
so Anyone interested in making my concept a reality??
johnnie93 said:
so Anyone interested in making my concept a reality??
Click to expand...
Click to collapse
Send a message to arctu, the genius creator of HelixLauncher and QuickDesk...
What is your problem with the apps that we send you? They do exactly what you want exept they are not in task bar ( because we cannot "draw" into the taskbar)
TaskOS
Power Strip
Quick desk
The "screenshot" will be available in some custom ROMS:
Read this topic
profete162 said:
What is your problem with the apps that we send you? They do exactly what you want exept they are not in task bar ( because we cannot "draw" into the taskbar)
TaskOS
Power Strip
Quick desk
The "screenshot" will be available in some custom ROMS:
Read this topic
Click to expand...
Click to collapse
i have zero problems with whats available im just trying to do something different and i saw that thread i know all about it...
EDIT: in fact im a huge fan of TaskOS i use it all the time!

Looking for Info on ROM Modification

I'm looking for info on how to get into modifying ROM's. I can do the basic stuff like replacing system apps, kernel, modem so far.
Looked at this thread but it wasn't that informative and apparent not entirely correct ether. http://forum.xda-developers.com/showthread.php?t=885048
Things I'm looking for/to-do:
-List of apk's that are absolute necessary to have all ASOP functions work. OR a list of everything that can be removed and have all ASOP functions work.
-Change the time on MMS from received to sent.
-Change system settings defaults
-Faster pull down/up notification bar animation
Things I would like to do but not sure are possible (where should I look to try):
-Change functionality of button/button long press. ie. use google's gesture search when long pressing menu instead of default search.
-When using the "back" button to exit an app auto kill it. Do not kill/act normal if exiting app using "home" button.
-Remove app icons from notification bar that are running in foreground. ie. tasker
-Block apps from running on startup/in background. Yes I'm aware of autorun manager
-Disable lockscreen toggle, possibly add to lock screen chooser? yes I know there is the app no lock.
-If a text message fails to send keep retrying till it does send. (This really bothers me, my old "dumb" sony ericsson did exactly that)
I would like to minimize the use of apps that change functionality as much as possible and would like to make the modifications directly to the ROM.
Question, when using an apk that is modified like the themed black market apk, I assume it does not get updates through the market?
Is it possible to put widgets on the lock screen without the use of widget locker?
I'm guessing there are threads for these, if someone could point me to them I would appreciate it, if not I'll probably find them eventually
Accurate battery mod
Extended power menu options
Lock Screen Chooser
I plan on starting on already made roms from xda to start with.
I would greatly appreciate any info or direction.
Thanks
Did you happen to look at the sticky on "how to create ROMS" located at the top of this forum?
I did, and I did forget about it. It does help a bit, now I can decompile apk's.
Could someone point me to the file in the mms.apk that would contain the value to change the received to sent?
In general there is tons of files in the rom's and apk's, how does one go about locating the files that contain the info that one would like to change?
bnevets27 said:
how does one go about locating the files that contain the info that one would like to change?
Click to expand...
Click to collapse
That's the fun part.
I use the blind squirrel method myself.
Sent from my Captivate.
lol, at 1,250 files for one apk..... how many blind squirrels does it take?
So far I've found something different between a "stock" mms.apk and a mms.apk that displays the sent time.
Code:
Stock mms.apk:
<string name="sent_on">%s</string>
Sent mms.apk:
<string name="sent_on">Sent: %s</string>
Though assume this just means one has the "sent" prefix and one doesn't...
MikeyMike01 said:
That's the fun part.
I use the blind squirrel method myself.
Sent from my Captivate.
Click to expand...
Click to collapse
i will agree with this....

Change Shoulder Buttons

SOURCE CODE ATTACHED
This is the official thread for the "Change Shoulder Buttons" app.
Compatibility:
At this point it looks like the app fully works for some devices, partially works for others, and not at all for some. Different ROMS may also affect functionality.
I am currently working on a "configuration" option which will allow users to calibrate the app for their specific device.
Update
This app has been updated.
No more restart required.
2.3
1. App is now free!
This app is now free!
Link:
https://market.android.com/details?id=com.hatcyl.android.Change_Shoulder_Buttons
Description:
This app will allow you to use the shoulder buttons (L and R) of the Xperia Play for different functions.
You can use them to:
None: Stops the service. Shoulder buttons will stay at default.
Media: L will be previous and R will be next for media.
Camera: R will be focus and take picture.
Volume: L will be volume up and R will be volume down.
Up/Down: L will be up and R will be down.
Navigate: L will be browser back and R will be browser forward.
Advanced:
Tasker Support! (Kinda)
To change button modes do the following:
Action -> Misc -> Action Intent
Action: "com.hatcyl.android.Change_Shoulder_Buttons.ACTION_CHANGE_MODE"
Extra: "Mode:XXXXX"
See screenshot, no quotes, case sensitive.
Note: The game function of the buttons never get disabled. This app just listens for those buttons and then executes a command.
Coming Soon:
1. Custom Mode
2. Support for more Xperia Play devices / ROMS.
3. Real Tasker Support Way Later
4. Some automation maybe
Please post all questions, comments, bugs, and requests in this thread.
Thank You!
How about assigning the keys for volume control? In book reading Apps, L and R are much more convenient than the volume buttons when I have to flip the page.
A widget for quick mode switching could be nice as well.
Sure I can add that. But remember, a restart is still required.
Widget, probably not ... or maybe later ... im not so good with them.
Sent from my R800x using XDA App
Nice app...but when I set the shoulder buttons for media it keeps skipping and rewinding music when I'm playing a game... Lol.
cutthroat31 said:
Nice app...but when I set the shoulder buttons for media it keeps skipping and rewinding music when I'm playing a game... Lol.
Click to expand...
Click to collapse
You mean because you press L and R right?
Once I figure out how to change the buttons without a restart then we could use something like Tasker to change them based on different conditions. Camera if CAMERA is open, Music only if music app is opened, Game otherwise. Or maybe just manually change them faster.
hatcyl said:
You mean because you press L and R right?
Once I figure out how to change the buttons without a restart then we could use something like Tasker to change them based on different conditions. Camera if CAMERA is open, Music only if music app is opened, Game otherwise. Or maybe just manually change them faster.
Click to expand...
Click to collapse
Yeah it's when I press the L and R.
Oh ok...I'm not too familiar with changing stuff on my Play yet so I'm still learning as I go but great app nonetheless.
hatcyl said:
This is the official thread for the "Change Shoulder Buttons" app.
Why is this app not free?
For every app I sell (this and other apps) I will donate 50% of the PROFITS to other XDA members who have been useful to me.
Link:
https://market.android.com/details?id=com.hatcyl.android.Change_Shoulder_Buttons
Description:
This app will allow you to change the shoulder buttons (L and R) of the Xperia Play.
You can change them to:
Game: Default set up. Buttons will work for games.
Media: L will be previous and R will be next for media.
Camera: L will be FOCUS and R will be CAMERA.
Please post all questions, comments, bugs, and requests in this thread.
Thank You!
*Note: Yes there is a free app (which may not be working right now?) and yes, we all know how to do this mod (Simple file change) and yes, I made this app in a few hours and yes, it can use some more work but, this is like a fund raiser for XDA members. Please don't ask "Why is this not free?"
Click to expand...
Click to collapse
This seems like a paid version for an app that is already free.
https://market.android.com/details?id=seb.button.changer
Same functions, same results.
Yep, there's already a free app by an XDA member.
any way to achive this without restart? Would it work if you assign each button to a separate app (similary to assigning to camera currently I assume and probably restart first time only). The app you assign simply check what is required in an extra config file which can be changed on the fly without need to restart. Is this possible at all or is there a particular limitation how android works with those buttons? Thanks in advance
Leraeniesh said:
This seems like a paid version for an app that is already free.
https://market.android.com/details?id=seb.button.changer
Same functions, same results.
Click to expand...
Click to collapse
zerojay said:
Yep, there's already a free app by an XDA member.
Click to expand...
Click to collapse
Yup, I actually posted that in the OP.
It hasn't been working for some people including me, maybe different models are different.
Anyways, if this app sells at all that developer will be first in the donate list along with the guy who found a way to use the official PSX emulator with custom images.
---------- Post added at 02:09 PM ---------- Previous post was at 02:05 PM ----------
ps3taker said:
any way to achive this without restart? Would it work if you assign each button to a separate app (similary to assigning to camera currently I assume and probably restart first time only). The app you assign simply check what is required in an extra config file which can be changed on the fly without need to restart. Is this possible at all or is there a particular limitation how android works with those buttons? Thanks in advance
Click to expand...
Click to collapse
This is coming soon, it was in the market description but I posted it in the OP.
About your idea, it wouldn't work for two reasons.
1. You can't assign a button to an app (that I know of)
2. You wouldn't want to open an app every time you hit a button (especially when playing a game) it would be too slow.
I am exploring two ideas to get this working.
1. Find what causes those files to be loaded. Find away to restart that and force it to load the files again.
2. A much harder way, but this one will work for sure (I've got a proof of concept but no time yet.)
Thank you for explaining. I look forward to the no reboot version. Page up and down option would be great. Many thanks in advance
Sent from my R800i
Can you add functionality to the default web browser? Like make L be the back button and R be the Forward button?
I really liked that function on my PSP browser (years ago when I used it every so often).
Also, add the functionality to the default Launcher? L for next left screen, R for next right screen. I'm not sure if either of these is even possible, but just throwing some ideas at you!
I'd be down to purchase it if you added either one. Thanks!
typikal82 said:
Also, add the functionality to the default Launcher? L for next left screen, R for next right screen.
Click to expand...
Click to collapse
Take that even further, how about a completely Xperia-Play optimized launcher? ADW is open source if not mistaken.
LegionTHEFecalExcretion said:
Take that even further, how about a completely Xperia-Play optimized launcher? ADW is open source if not mistaken.
Click to expand...
Click to collapse
Ha ha, you guys are trying to change a simple file edit into a full blown alternate OS.
Sorry guys, not happening anytime soon, I still havent been able to change buttons without a restart yet!
Sent from my R800x using XDA App
I'd settle for the web browser L and R function
I will settle for pgdown pgup or even dpadup and down for shoulder buttons as long as they don't overwrite their function implemented already in games, emulators and camera mod apps. There is another post regarding shoulder buttons for ereaders - i'm away from my pc so cannot link - but it recommends another app there too.
Sent from my Sony Tablet S using Tapatalk
Installed this, disabled my buttons!
Axxion said:
Installed this, disabled my buttons!
Click to expand...
Click to collapse
Sorry, the files are different in 2.3.2 vs 2.3.3.
I will disable the app for now. I deserve that 1 star rating for that.
Anyways, download the attached file, extract the file inside and copy it (using any file manager, I use EStrong) to /system/usr/keylayout override any existing file.
Reboot afterwards, this should fix your issue.
Again sorry, I'm bringing the app down for now. I'll almost done with a big update that will not require restarts anyways.
It's alright dude! I fixed it myself, just restored from my backup. Thought you outa know though! Look forward to the no reboot version!!
(p.s. Yours is the only button change app that actually worked...apart from the obvious issue ...so thanks!!)
For anyone who was waiting. App has been updated.
No restart required anymore.
More modes coming soon.
... ...
This app pretty much uses the same approach I am going to use to translate buttons presses into touchscreen presses.

[APP] Scambio - switch to previous application

Bind home button to this app within your launcher to quickly switch between the two latest apps with home double click.
Supports ADW Laucher (standard and CM versions) and GO Launcher.
The activities currently excluded from switching are:
com.android.launcher
com.gau.go.launcherex
com.google.android.googlequicksearchbox
com.google.android.voicesearch
org.adw.launcher
a couple of issues:
it should be possible to determine if an app is a home replacement and filter it out automatically
the activity is restarted rather than continuing on where it left off
I found another app which seems to address those points, but haven't tried it yet: http://code.google.com/p/ninja-switcher/source/browse/trunk/src/com/mooltik/SwitchActivity.java
fugounashi said:
a couple of issues:
it should be possible to determine if an app is a home replacement and filter it out automatically
Click to expand...
Click to collapse
It is, but still I do not know any other launcher that supports home button binding to a specific app, so I am not sure how would it be used.
fugounashi said:
the activity is restarted rather than continuing on where it left off
Click to expand...
Click to collapse
Could you explain better this, please?
fugounashi said:
I found another app which seems to address those points, but haven't tried it yet: [...]
Click to expand...
Click to collapse
Seems almost the same, hopefully they could provide a build.
how it works with more that 2 app?
Sorry if I was unclear. Works with the last two applications used.
> It is, but still I do not know any other launcher that supports home button binding to a specific app, so I am not sure how would it be used.
it's no problem for me as I use ADW/CM and you've already accommodated that, I just meant it as a more general solution
> Could you explain better this, please?
I think you need to add task.baseIntent.setFlags(Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY); otherwise it will restart the activity (e.g. go to the initial browser page, rather than the current one)
> Seems almost the same, hopefully they could provide a build
yes, seems the same except for those 2 points, and that they haven't provided an apk!
thanks again!

Categories

Resources