Related
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!
Hey all,
Does anyone know of an app that achieves the display of recently used apps in the notification dropdown area?
Essentially, performing the same function that a long press on the home button does, but obviously eliminating the need to press a button.
I've been looking for something like this for a good while, and was pleasantly surprised to see HTC had included this very function in their latest version of Sense.... when I went to the HTC London meet last week .
Unfortunately, the HTC guys demoing informed me there is currently no way to obtain this feature for current handsets.
To see what I am referring to, see the video below...
46sec <---> 51 sec
Is there an app that exists for this?
Thanks in advance,
c_man
I'm more impressed with the extremely quick startup.
FuryriderX said:
I'm more impressed with the extremely quick startup.
Click to expand...
Click to collapse
I think that's discussed in another thread - I remember reading its not a 'proper' power down, that allows for such a quick start up.
Anyway, back on topic...
Actually I have been looking for something similar... My wife has a mytouch slide... And when you pull down notification tray it has recent 4 now I haven't tried scrolling sideways like that guy did... But that shows that it is possible cause the slide shows 4 recent...
Just have to find someone to port that I guess
Sent from my PC36100 using XDA App
Rather than a port, which sounds like more effort, I thought an app to enable this functionality may exist.
It seems not?
its going to need a port i think, i would hope for a slightly modified version that would allow us to pin apps to it or even widgets a la galaxy s.
If you hold down the home button for a couple seconds you'll get a list of the eight last used apps.
smart bar does this an more. recent apps in drop down and/or favs and/or you can choose a certain app and/or many many more options, i cant remember. you have option to enable all or only recent apps via settings and checking off the check boxs.
i use on my a81e tablet and it works well. my long press of home button is buggy due to fw so this come in handy very much
here
Does smartbar have a big footprint?
Would really love an app that does 'just' this.
c_man said:
Does smartbar have a big footprint?
Would really love an app that does 'just' this.
Click to expand...
Click to collapse
I don't really know, I still just starting out on android so I'm in learning process
Sent from my A81E using Tapatalk
kjhadfield said:
I don't really know, I still just starting out on android so I'm in learning process
Sent from my A81E using Tapatalk
Click to expand...
Click to collapse
No worries
bump
Anyone know if there is a shortcut to taking screenshots?
Without having to root and use drocap or shootme. (that's assuming they even work when rooted, which there's been one or two saying it doesn't.)
i'm rooted and neither dropcap or shootme work on my xoom.
Only one way to take screencaps...SDK, works both rooted and non but obviously takes a little knowledge/reading up on. But its not as hard as duplicating Grandma's gravy and biscuits so don't fear too much.
Sent from my Xoom using XDA Premium App
Kinda sad it requires root or being plugged into a PC to take screen caps. Might be the wrong place to bring it up but I don't think I'm the only one thats kinda irked about this.
martonikaj said:
Kinda sad it requires root or being plugged into a PC to take screen caps. Might be the wrong place to bring it up but I don't think I'm the only one thats kinda irked about this.
Click to expand...
Click to collapse
I know I payed 800 dollars for my Xoom. **** should be better. Media player, well Gallery in general, and this, and more. But I think I'm going to give google till after their first Honeycomb update.
Lets just see what they think is worth fixing first.
This is me assuming screenshots would be built into the os.
I don't think it has to do with the Xoom hardware.
But I could be wrong.
So when has screen shots ever been built into the OS? Don't know what the big surprise is. Yes it would be nice, but eventually a root and simple software solution will present itself.
Now that we have a tablet OS which should be moving us closer to netbook replacement, it would be a nice feature to have without the need to root and have an external application. I take screenshots on my Windows machine every single day. We need to stop having a phone OS mentality and starting thinking tablet OS which is different. So yes, that would be a nice feature to have built in to Honeycomb.
keitht said:
Now that we have a tablet OS which should be moving us closer to netbook replacement, it would be a nice feature to have without the need to root and have an external application. I take screenshots on my Windows machine every single day. We need to stop having a phone OS mentality and starting thinking tablet OS which is different. So yes, that would be a nice feature to have built in to Honeycomb.
Click to expand...
Click to collapse
Given the limited amount of hardware toggles on the Xoom, how would you suggest ScreenCapping be implemented? I'm not being condescending, I'm curious as to your thoughts.
ShootMe takes your cap by shaking your device. This seems logical because it wouldn't regurie anything as far as a UI.
If we ever receive extension support for the browser it seems adding a button to the toolbar would work, however that would limit caps to the browser only.
Anyone else have any ideas?
FuzeAction said:
Given the limited amount of hardware toggles on the Xoom, how would you suggest ScreenCapping be implemented? I'm not being condescending, I'm curious as to your thoughts.
ShootMe takes your cap by shaking your device. This seems logical because it wouldn't regurie anything as far as a UI.
If we ever receive extension support for the browser it seems adding a button to the toolbar would work, however that would limit caps to the browser only.
Anyone else have any ideas?
Click to expand...
Click to collapse
I am not a UI designer but there are probably many ways to do this. Long press screen, Print Screen in keyboard, add another system button to the taskbar on bottom, etc. In Windows, you just press the print screen button to copy to the clipboard. It can't be that difficult to implement something similar in Honeycomb. Once in the clipboard, you paste it to whatever application has focus. UI designers for Honeycomb can certainly figure out something this simple.
mjpacheco said:
So when has screen shots ever been built into the OS? Don't know what the big surprise is. Yes it would be nice, but eventually a root and simple software solution will present itself.
Click to expand...
Click to collapse
Samsung added it in the Galaxy Tab (which surprised me when I found out). On the Galaxy tab if you hold the back button and press the power button you get a screenshot, no root needed.
HalfMoon said:
Samsung added it in the Galaxy Tab (which surprised me when I found out). On the Galaxy tab if you hold the back button and press the power button you get a screenshot, no root needed.
Click to expand...
Click to collapse
Correct, it was a Samsung add-on, not in the base OS.
Don't get me wrong, I think it would be a great thing for google to just throw in there and obviously it is very doable, and I do not know why it is not just part of the OS already.
mjpacheco said:
So when has screen shots ever been built into the OS? Don't know what the big surprise is. Yes it would be nice, but eventually a root and simple software solution will present itself.
Click to expand...
Click to collapse
Google has added it native in 2.3.3 so it wouldn't surprise me if it comes in a honeycomb update.
Sent from my HTC Thunderbolt (That means this post never happened right?)
The inability to take screenshots without root or the sdk is a known issue to Android users.
The ability was added in Gingerbread. (I'm not allowed to post links yet but go to phandroid.com and search for a post by Kevin Krause on March 1st, 2011 at 7:35 am for details.) Samsung is the only dev to make use of the option so far (afaik) and only on gingerbread devices.
If you want an app that takes screenshots without root or the SDK, the option is there for you to develop such an app if you don't want to wait for someone else to do it.
Oh, and be sure to post a link to your apk for us when you're done. Thanks.
mjpacheco said:
So when has screen shots ever been built into the OS? Don't know what the big surprise is. Yes it would be nice, but eventually a root and simple software solution will present itself.
Click to expand...
Click to collapse
The Galaxy Tab has screen capture right out the box. Hold the back button and press the power button and it takes a screen capture and even puts it in the folder named screen capture. Just sayin.
That is one thing Apple did get right on the iPhone and iPad: press and hold the "Home" button at center bottom, then press and release the "power" button on top.
This made it really easy to create documentation at work... Android could have used a combination of one of the volume buttons and the power button. which would come in handy when either creating documentation on how to do something or for instructing users to send a screen shot of an error they are seeing...
my $0.02
Asus eee pad TF has had the screenshot function enabled out of the box. Is that an Asus add-on? I thought it was part of HC...
I use screenshot er & it places an icon at the bottom of the screen.Simply tap & voila!
Sent from my DROIDX using XDA App
Arun01 said:
I use screenshot er & it places an icon at the bottom of the screen.Simply tap & voila!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Are you rooted Arun?
And why isn't it available on the XOOM like on the asus TF?
Solved
BBalz said:
Anyone know if there is a shortcut to taking screenshots?
Without having to root and use drocap or shootme. (that's assuming they even work when rooted, which there's been one or two saying it doesn't.)
Click to expand...
Click to collapse
I did it by holding the power button and then pressing the home button [HTC Explorer]
Xoom Wifi ICS
Screenshot / Power and Vol Down
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.
EDIT - so seems this isn't working. Sigh, thought this was the end of this particular problem. I'll keep researching and post if I find something.
Found this on the Droid 4 forum (link below). So I always had an issue with not being able use symbols, capitalize stuff, etc. when using Chrome, Naked Browser, whatever. Figured it was a software issue but finally decided to Google it and the fix is easy:
-Settings
-Language/Input
- AOSP Settings
- Language
- Uncheck 'Use System Language'
- Scroll down, uncheck English
- Scroll Down to No Language - QWERTY (seriously, says that), check
Should be good to go. Not sure if it works on stock but worth a shot. I hated having to use my on screen keyboard for passwords and crap.
Soure: http://www.droidforums.net/forum/dr...shift-key-not-working-most-punctuation-4.html
Ah, I did always wonder why some text fields seemed to be created differently than others...
Input field racism I tell you!
Nice find, thanks
Edit - just tried it, perhaps I need to restart... I still need to hold shift in order to get special characters to appear in fields on Chrome...
Yea, still having issues myself. Seems to work in the url field but not in password fields, etc. I'll see if I can find anything else in the link or online.
Sent from my XT897 using Tapatalk 2
brandontowey said:
Yea, still having issues myself. Seems to work in the url field but not in password fields, etc. I'll see if I can find anything else in the link or online.
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
Bummer, I was hoping I did something wrong, lol.
I'm trying to remember what apps were misbehaving here as well... there were a few, which probably just used webUI frontends for their app instead of making true context-aware Android fields.
I know it works in Words with Friends, text messaging and most other apps (can't remember any not working) and seems to be only in the browser. Really annoying but holding the shift key is better than before where I just opened up Swype.
Sent from my XT897 using Tapatalk 2
brandontowey said:
I know it works in Words with Friends, text messaging and most other apps (can't remember any not working) and seems to be only in the browser. Really annoying but holding the shift key is better than before where I just opened up Swype.
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
Oh holding shift in the browser always worked for me... I was always able to put in the special characters holding shift, even before this mod.
Still, it's confusing why different text fields receive different treatment...
It never even occured to me to hold the shift key down, honestly. I just dealt with it. I don't really know the inner workings of android well enough to say why it doesn't work but I think it's weird that it works in mobile apps like USAA and Ebay, which I always thought just took the website and displayed it in a better format than a browser.
Sent from my XT897 using Tapatalk 2
Hi,
First of a i'm not sure if this is the right place to ask this question, but it is hardware keyboard related. So if it is misplaced please forgive me!
How do you disable the special characters that are typed when you quickly double press for example the letter e. example: I want to type steel, but i end up with stél.
Settings - Advanced - multipress. Two options, you pick one. The multipress interval let's you disable the feature completely.
mrvek said:
Settings - Advanced - multipress. Two options, you pick one. The multipress interval let's you disable the feature completely.
Click to expand...
Click to collapse
Wow thanx a lot, didn't expect it would be so simple.
arrrghhh said:
Still, it's confusing why different text fields receive different treatment...
Click to expand...
Click to collapse
So I was messing around a bit and it seems I don't need to hold the shift key to get a special character, just press the character key right after the shift key. I ridiculously quick press that requires two hands anyways. So maybe the browsers aren't correctly interperting the 'hold' the shift key normally sends (I know very little about coding so hopefully this makes sense) and releasing it way too soon? I think I've exhausted Google search options as of now.