[REQUEST] hardware keys remaper - G1 Android Development

i search forthis long time so let me know if there are some application that allows what i want. I know it can be only for root users.
I have an idea to application that allow user change function hardware keys.My idea is change search button to bring up app switcher.Be couse i really never used that button. I know many situation when we hold "HOME" to bring it up but it take me back to home+show preview screens +bring up app switcher (i know previews can be turned off by launcher but i want previews, they are cool).You dont need hold anything.It will be much faster switching betwean applications.
So you push HOME to back to home or bring up previews
and push SEARCH button to bring application switcher.
it is good idea?
sorry for bad english.

+1
a key-switcher app would be great

It's a pain in the ass, but there is a way to do this yourself.

Zoltair Wright said:
It's a pain in the ass, but there is a way to do this yourself.
Click to expand...
Click to collapse
thx dude i try it but it does not work i remap
key 127 SEARCH
to
key 127 EXPLORER
but it does not work.Guy Decad3nce developing it to HERO he answer me:
The problem is that the intent activity with the APP SWITCHER(Explorer, I think) can't be changed without adding a reference binary, which is what I'm working on^ .
If anyone wants to help me. Looking at AdamWill's work.
Click to expand...
Click to collapse
forum:
http://forum.xda-developers.com/showthread.php?t=695936

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?

Softkeys

Is there a way to change softkey assignmets?
For example, assign NubDial to longpress Search Softkey
Thanks!
nickustinov said:
Is there a way to change softkey assignmets?
For example, assign NubDial to longpress Search Softkey
Thanks!
Click to expand...
Click to collapse
there is. the only reason i asume so is because Handcent SMS lets you reassign search key.
Is there a way to re-calibrate them too then? I really don't like that the coordinates are set above the actual icons...
kolyan said:
there is. the only reason i asume so is because Handcent SMS lets you reassign search key.
Click to expand...
Click to collapse
Yeah that's for sure - there are several apps doing that for themselves.. I thought there is an app letting you do that for other apps.
Anyway, would be nice if someone coded one
N
I'm interested in this too, but seems that nobody followed up on this thread. Is there any of you that figured out how to do that?
thanks
There's an app... called let me think... Button Shortcut... free on the market that allows you to remap (some/all?) of the long press functions.
I did exactly as above until I installed HelixLauncher2... mapped long press on search to NubDial.
djmcnz said:
There's an app... called let me think... Button Shortcut... free on the market that allows you to remap (some/all?) of the long press functions....
Click to expand...
Click to collapse
Thanx for that..trying it now..
Edit: ok..one can set the "search button long press" for any app.

[SOLVED] Toggle Wi-fi with Long Press of Search Soft Key?

Hi all,
I would absolutely love to be able to toggle my Android wi-fi connection with a long press of the search soft key. This would be ideal when launching some app that would benefit from a faster connection and would save me returning to the home screen, activating the wi-fi and then returning back to the app.
I've searched everywhere to find an app, or combination of apps (Button Shortcut + something else) that could achieve this but have hit a dead end.
Anyone know of an app that could achieve this?
Alternativily I do have the Android IDE set-up at home, does anyone know how I can hook the long button press (from within all app's) and toggle the wi-fi connection?
Thanks in advance,
Nexus One user (I'm not rooted)
Ok, so I've come to the conclusion there's no apps out there at the moment that will do this so I have started writing my own.
I have successfully hooked the search button and can get a basic activity launched with a long press of the search key from the home screen and within other apps.
All I need now to is to find the code that allows me to enabled/disable wi-fi. Can anyone point me in the direction of a good example?
Thanks, will share my app once its finished!
I now have this working on my Nexus One, needs a couple of tweaks but it's nearly ready to release to the Android Market.
Would anyone care to do a bit of beta testing for me? If so I can PM the apk once it's ready.
Also, if appropriate can a mod please move this into the "Android Apps and Games" forum.
I have now released this to the Market as "In-App Wifi Toggle".
awesome app, thanks for sharing!
raviff said:
awesome app, thanks for sharing!
Click to expand...
Click to collapse
Thanks, glad someone likes it!
Can you tell me what phone and version you're using and what button you're using to activate the app?
I like it. I'm using an N1. I put it on the search soft key.
Works great on my HTC Legend with 2.1 Sense!
Thx!
Sent from my HTC Legend using the XDA mobile application powered by Tapatalk
Very nice... Has anyone tested this on a G1?
I have been using the Toggle WiFi app set to the keyboard shortcut (search-w) but this seems a little more "fluid"...
love it great idea fast easy way to turn wifi on and off
Vermithrax said:
Very nice... Has anyone tested this on a G1?
I have been using the Toggle WiFi app set to the keyboard shortcut (search-w) but this seems a little more "fluid"...
Click to expand...
Click to collapse
I have a friend with a G1 who's been doing some testing for me. The version on the market at present will only work on a short press of the green/call button. The search button on the pull out keyboard doesn't work. Now obviously a short press of the green/call button is normally assigned to shortcut to the phone app and most people won't want to re-assign this and so I have made some adjustments so it will now work on a long press of the green/call button. I will be releasing this update to the market in the next couple of days when I get a moment.
FYI I've just uploaded the new version with the added long press of Call/Green button.
Vary nice app, works as described on HTC Droid Incredible. Like how the systems gives me the choice of Wifi toggle or google search on the long press now. Very nice. Would have paid for it....
Any chance of releasing the source code for us wannabe devs to learn from? I'd love to modify the app to call a specific person on a long search press, as I find the dialer to be the most annoying part of Android.
Hi just downloaded it and works fantastic on my Legend!!
Thank you very much!
lowkee said:
Any chance of releasing the source code for us wannabe devs to learn from? I'd love to modify the app to call a specific person on a long search press, as I find the dialer to be the most annoying part of Android.
Click to expand...
Click to collapse
I will eventually release the source code yes once I've put my website together but not right this minute I'm afraid.
On a seperate note I've been beavering away coding "In-App Bluetooth Toggle". Frankly, its been an absolute slut because I would like the app to work with all versions of Android from 1.5 upwards but the bluetooth API only became available from 2.0. I've been using a complex combination of hacking and reflection to get the pre 2.0 versions working and now have a single app that works on both a v1.6 G1 and v2.1 Nexus One.
Are there any v1.5 (Hero/Moment/Magic/Pulse/CLIQ) users out there willing to do some debug testing for me? I can email you a APK file.
Any help appreciated!
You know what I'd love, it if there was a way to emulate all of the hardware keys, like Menu, Home, Back, etc on the screen rather than by using the hardware keys. Any possibility for something like that using your idea here for Wifi toggle?
thesecondsfade said:
You know what I'd love, it if there was a way to emulate all of the hardware keys, like Menu, Home, Back, etc on the screen rather than by using the hardware keys. Any possibility for something like that using your idea here for Wifi toggle?
Click to expand...
Click to collapse
Would you expect such an emulator to be visible always, in every application? That would seem rather intrusive in my opinion.
Great App. It works good on the HTC Wildfire. The only problem is I(we) don't have a call hardkey, therefore I can either use the wifi or the bluetooth toggle or use the popup menu(which is not very "clean")
Hi!
Can you share how you manage to capture long press on search button by code? It will be greatly appreciate
Thanks in advance!

remap rosie buttons

in zens slide port, the normal shortcut add button leads to faves. is it possible to do something like that? i like how the app drawer is in the middle, just makes more "sense"(get it?)
tia!
ADDON:
(my ideal setup)
honestly, id like to JUST have an app drawer. we have a hardware phone button that works in taking you to the dialer in any app your in, long press has made the add button obsolete, but ovbiously the app drawer is still needed by default.
i know i know, go to launcher, but i like sense :-D
i know how to use metamorph, so i COULD make buttons transparent, but to switch around the actions...i think will take more dev'ing than im capable of. unless someone has a hardcore article i could read on remapping.
mountaindont said:
in zens slide port, the normal shortcut add button leads to faves. is it possible to do something like that? i like how the app drawer is in the middle, just makes more "sense"(get it?)
tia!
Click to expand...
Click to collapse
Ive been thinking about that ever since he fixed it. Ive even tried porting that setup over to damage but some of framework is different, and im not really all that good with this stuff....Itd be nice setup though, i like app drawer in the middle too.
MagnusRagnarok said:
Ive been thinking about that ever since he fixed it. Ive even tried porting that setup over to damage but some of framework is different, and im not really all that good with this stuff....Itd be nice setup though, i like app drawer in the middle too.
Click to expand...
Click to collapse
honestly, id like to JUST have an app drawer. we have a hardware phone button that works in taking you to the dialer in any app your in, long press has made the add button obsolete, but ovbiously the app drawer is still needed by default.
i know i know, go to launcher, but i like sense :-D
i know how to use metamorph, so i COULD make buttons transparent, but to switch around the actions...i think will take more dev'ing than im capable of. unless someone has a hardcore article i could read on remapping.
mountaindont said:
in zens slide port, the normal shortcut add button leads to faves. is it possible to do something like that? i like how the app drawer is in the middle, just makes more "sense"(get it?)
tia!
Click to expand...
Click to collapse
Sounds like a job for JsChiSurf
Kcarpenter said:
Sounds like a job for JsChiSurf
Click to expand...
Click to collapse
js doesnt really take requests lol, it has to be like POOOOOOOPULAR demand.
lets start a petition!!!!!!!!!!!!!!!!!! j/k
ohhh chisurf...............you around? :-D
bumped for an edit to the OP :-D
mountaindont said:
js doesnt really take requests lol, it has to be like POOOOOOOPULAR demand.
lets start a petition!!!!!!!!!!!!!!!!!! j/k
ohhh chisurf...............you around? :-D
Click to expand...
Click to collapse
I left my JsChiSpot light back in Gotham city....surely we could hack something together to get him to notice us and come to the rescue.
Kcarpenter said:
I left my JsChiSpot light back in Gotham city....surely we could hack something together to get him to notice us and come to the rescue.
Click to expand...
Click to collapse
LOL i might seriously consider adding that too my sig for a few days
ok. but we'd have to have a consensus on the setup we'd want. i vote for JUST an app drawer, for reasons ive stated in the OP. can we agree on that?
im open to suggestions!!!
mountaindont said:
LOL i might seriously consider adding that too my sig for a few days
ok. but we'd have to have a consensus on the setup we'd want. i vote for JUST an app drawer, for reasons ive stated in the OP. can we agree on that?
im open to suggestions!!!
Click to expand...
Click to collapse
Eh, I'd still really like to have the phone button, my green call button sticks some times and acts weird, not to mention I hardly ever use the hard buttons except for ending a phone call or closing an app. I guess its just a habit I have developed.
Kcarpenter said:
Eh, I'd still really like to have the phone button, my green call button sticks some times and acts weird, not to mention I hardly ever use the hard buttons except for ending a phone call or closing an app. I guess its just a habit I have developed.
Click to expand...
Click to collapse
ok im taking my girl to see kickass right now, and ive promised my torrent community a decent cam over the one floating around right now; in the meantime...reckon you could find anything you can on remapping? ill gladly get this project started up and probably finish it if since it seems like we're the only ones who seem to want it LOL
You guys kill me. Just saw this thread, as I happen to read miscellaneous posts while eating lunch .
I've never really looked at the feasibility of re-mapping buttons for such a purpose. Given that I personally don't have a similar want/need, not sure how much "effort" I'll put into, but I'll take a peek and see what, if anything, can be done.
Personally i love the sense widgets, but hate the bottom buttons, so i use stock home. If theres also a way to change the 7 screens to 5 or 3, that would be awesome. My ideal interface is somewhere between aosp and sense.
I've actually thought about this too and think it would be really neat. App drawer in the middle, phone on the side and replace the "Add to Home" button with something more useful. I never posted anything because I didn't know if it was possible but if it is then I'd love this!
JsChiSurf said:
You guys kill me. Just saw this thread, as I happen to read miscellaneous posts while eating lunch .
I've never really looked at the feasibility of re-mapping buttons for such a purpose. Given that I personally don't have a similar want/need, not sure how much "effort" I'll put into, but I'll take a peek and see what, if anything, can be done.
Click to expand...
Click to collapse
hey man, if you could juuust get me started, and maybe pop in from time to time to help, im sure we'd appreciate just that. i dont mind taking responsibility over this project, just need a little guidence
off for real this time
bbl
Gregalous said:
I've actually thought about this too and think it would be really neat. App drawer in the middle, phone on the side and replace the "Add to Home" button with something more useful. I never posted anything because I didn't know if it was possible but if it is then I'd love this!
Click to expand...
Click to collapse
Maybe replace the Add to Home button to Settings or Internet, personally i wouldn't mind figuring out how to change them and switch the phone button to app drawer and add to home to setting and change app drawers current button to internet, then my home screen would be clear.
We've had this convoy before, though slightly different....my preferred setup would be simply replacing the "+" button's add function with a second tray containing shortcuts to your contacts.....pretty much like the people widget, but in a drawer instead of taking up one of my pages. I like having the phone button in the middle, but if some can figure out how to remap the buttons, I wouldn't mind looking in to customizing the layout and functions. Right now, I'm not even sure where to start, lol!
anything different for the "add" button would be great! never understood the need since you can just as easily long press to add
Remapping existing functions is rather easy. Trying to add a new function to a button that does something completely different, though not impossible, would take a lot more work.
Here's a quick "proof of concept" video:
http://screencast.com/t/NDdkNDBmY
I've basically just remapped the application draw and phone launcher buttons to switch. I don't show the left icon press, but it pulls up the phone. Didn't show it in the video, as I don't want to reveal any phone numbers.
There are some bugs to iron out, but if you were to eliminate the left and right buttons all together, it would be good to go now. Currently, and I just started looking at this, if you press the right button, a variable is not getting reset, and then if you press the middle button, it will take you to the shortcuts rather than the app drawer again. But, as soon as you click the 'phone' button, now mapped to the left button, the app drawer in the middle begins working again...
mountaindont said:
hey man, if you could juuust get me started, and maybe pop in from time to time to help, im sure we'd appreciate just that. i dont mind taking responsibility over this project, just need a little guidence
off for real this time
bbl
Click to expand...
Click to collapse
Oh s**t, lookout everybody. I remember what happened the last time mountaindont spearheaded a project, lol
Just giving you crap dude, I'd love to see this happen
i havent completely decided as to how the first set up will be; theres alot of good ideas posted, but we're stuck until i get a starting point. ill probably start out by making my ideal rosie, and share the rescurces and steps to do it.
theory; obviously, the ideal place to start would be in Rosie.apk. perhaps an xml file of some sort? any other ideas?

Fast Home Long Press App?

Is there any app that allows you to open the Home Long Press via a single tap on the home button? (i.e. not a long press)
Why would you want that?? then you'd have to long press home to goto your homescreen and that would be annoying this kind of app would also require root to
(i think)
Edit: Congrats for being 3 posts away from 2000
MacaronyMax said:
Why would you want that?? then you'd have to long press home to goto your homescreen and that would be annoying this kind of app would also require root to
(i think)
Edit: Congrats for being 3 posts away from 2000
Click to expand...
Click to collapse
Because I want it.
And who said a long press was the only method of getting back home?
And yes, I'm rooted and running CM6.
I guess nothing like this exists?
I use a program called MoreRecent, which shows the last 15 opened apps, it's accessed with a long press on search, or you can place a shortcut to it on the home screen.
Not exactly what you want, but maybe helpful for you.
I can't post links, so search here on XDA for MoreRecent
jason600 said:
I use a program called MoreRecent, which shows the last 15 opened apps, it's accessed with a long press on search, or you can place a shortcut to it on the home screen.
Not exactly what you want, but maybe helpful for you.
I can't post links, so search here on XDA for MoreRecent
Click to expand...
Click to collapse
Yep, I've seen that. If you check out the MoreRecent thread, you'll notice I've posted many times in that thread. It was actually my idea
But anyway, looking for a way to specifically do this with tapping the home button a single time.
Paul22000 said:
Yep, I've seen that. If you check out the MoreRecent thread, you'll notice I've posted many times in that thread. It was actually my idea
But anyway, looking for a way to specifically do this with tapping the home button a single time.
Click to expand...
Click to collapse
If you have programming experience (or know someone who has) you could write a very simple home replacement app that would for a single tap launch whatever program you want, then on a double tap, launch your home screen, a bit like the app Quickdesk. That way you'll be able to intercept a single tap on the home button and still use the launcher of your choice with double tap.
Bump
multitasking and multitasking pro can do this

Categories

Resources