Related
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.
I made an app that lets you adjust volume in a number of apps (including Netflix, Hulu+, Gallery Video, Amazon Video, Amazon mp3) by swiping along the side of the screen. You can also turn on boost mode to adjust volume up to 140%.
Here's the apk. It's free, but does contain an ad for a paid app of mine. Since it's Open Source, you can build your own copy without this ad.
I know there is already an app that lets you adjust volume by swiping, but I thought it would be nicer to have this active only in a few apps, so it doesn't get in the way in other apps.
I eventually hope to add a feature where you can select additional apps to the list where VolumeSwipe is active, but that's for the future. But if there is some popular video/audio playing app that I've left out, let me know.
This seems cool. What's the other app you're talking about?
thanks for the work you put in.
-jh
jasonmhaynes said:
This seems cool. What's the other app you're talking about?
thanks for the work you put in.
-jh
Click to expand...
Click to collapse
The other app is Volume Control, I'm not sure why the OP states that the other one (volume control) gets in the way since it has an auto-hide feature.
airmaxx23 said:
The other app is Volume Control, I'm not sure why the OP states that the other one (volume control) gets in the way since it has an auto-hide feature.
Click to expand...
Click to collapse
VolumeControl hides visually, but of course it's still there even when hidden, so it will get in the way if you want to tap on something in that area of the screen in an app. Ditto for my VolumeSwipe, except that the problem is minimized by the fact that VolumeSwipe is only active in a few apps.
Also, I think the narrowness of the VolumeControl bar, even on its widest setting, might make it harder to hit (though I haven't tried VolumeControl specifically on our Kindle, since I haven't rooted our Kindle due to DMCA concerns). VolumeSwipe provides a much wider bar. I think that's probably nicer if, say, you are watching a movie at the gym.
Sounds nice. You say "a number of apps (including...)". Could we have a complete list of the apps you include? BTW, you mention that your slider is narrower than Vol Control. Vol control's slide width is adjustable in the settings
bdecie said:
Sounds nice. You say "a number of apps (including...)". Could we have a complete list of the apps you include?
Click to expand...
Click to collapse
I think I actually listed all of them, except for VPlayer. I am happy to add more.
BTW, you mention that your slider is narrower than Vol Control. Vol control's slide width is adjustable in the settings
Click to expand...
Click to collapse
Yeah, but it still doesn't go very wide.
arpruss said:
You can also turn on boost mode to adjust volume up to 140%.
Click to expand...
Click to collapse
Awesome. Reminds me of Spinal Tap: These go to eleven...
Awesome app, thanks. Could you add an option to shut off the notification? Not a huge deal, but now I keep checking my notification bar thinking i got an email or text.
Also, could you add the YouTube app to the list of apps this works in if it isn't already? Thanks!
Damn you Swype!
thanks.......just what I was looking for........
Bumped ...the app has been updated ...
SENT FROM THE DOG POUND
I've been dying for something to adjust vol while I'm watching youtube and this is the best thing so far... Any chance you could add a auto hide feature? Otherwise thanks, this is great!
Sent from my Galaxy Nexus using xda app-developers app
Hearnbiz said:
I've been dying for something to adjust vol while I'm watching youtube and this is the best thing so far... Any chance you could add a auto hide feature? Otherwise thanks, this is great!
Click to expand...
Click to collapse
I don't know what you mean by auto hide. Right now, when you let go of the swipe area, it disappears. Or at least it's supposed to.
Not disappearing on mine for some reason but thats what I meant by auto hide. If you made a invisible option that would be a good solution /feature to solve my issue and anyone else who may come across it. It's a great app to have on the KF though especially for use with youtube (every vid is recorded @ diff vol levels) ... I was having to exit youtube everytime to adjust the vol (annoying) but now I can just swipe! Thanks
Sent from my Galaxy Nexus using xda app-developers app
Hearnbiz said:
Not disappearing on mine for some reason but thats what I meant by auto hide. If you made a invisible option that would be a good solution /feature to solve my issue and anyone else who may come across it. It's a great app to have on the KF though especially for use with youtube (every vid is recorded @ diff vol levels) ... I was having to exit youtube everytime to adjust the vol (annoying) but now I can just swipe! Thanks
Click to expand...
Click to collapse
Does it disappear in other supported apps, like Amazon Video?
This app is AMAZING!!!!!
Sent from my Kindle Fire using xda app-developers app
Thanks for the kind words. Unfortunately, 1.01 was buggy.
I think I fixed some bugs in 1.02.
I recommend uninstalling 1.01, then rebooting, then installing 1.02.
Unfortunately, due to a bug in Android's package manager (which I reported to Google), it is necessary to turn off VolumeBoost before installing a new a version. I have not been able to find an easy way around this.
NOTE: USE BOOST ONLY AT YOUR OWN RISK. IT COULD DAMAGE SPEAKERS (especially if you turn off the non-uniform boost option in the settings).
It's officially in the Appstore.
Hi, i have a question/problem thats been bugging me for a while and i couldnt find a solution...
I want to be able to listen to music while playing a game/ using an app, now some apps are ok with this and "shut up" the moment you start playing music, but others, such as kingdom rush for example, shut down the music playback the moment you open the app.
Is there a method to controll wich app produces sound? Much like on the pc?
Thats in advance for your help =]
(Also i read some where that the best way to get an answer is not to ask a question but instead provide the wrong answer, so here goes: ANDROID SUCKS BECAUSE THERES NO WAY TO CONTROL WHICH APP PRODUCES SOUBD!! =] )
Hello @Moldat
Firstly, this can be quite easily achieved if you're running a device with Android 4.4.
I'm not sure if "App Ops" is available on lower android versions. But if you're on KitKat, you can simply go into App Ops, scroll through the apps, find you game. And turn off the "Media Volume".
This stops the game from using inbuilt music and sound fx. This means you can keep your music on in the background.
Hope this helped, if you need to ask anything else, please do so.
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;
Thanks for the answer kris!
Sadly my device isnt kitkat
Moldat said:
Thanks for the answer kris!
Sadly my device isnt kitkat
Click to expand...
Click to collapse
What android version is it?
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;
Its 4.3
Moldat said:
Its 4.3
Click to expand...
Click to collapse
Oh you're in luck mate, go to the play store and search for "App Ops" download and install it. There are many choose the one that you feel like having. And its pretty much the same procedure, scroll lthrough apps and disable the media volume.
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;
Basically what the title says, I was wondering if there is an app (or xposed module) that allows me to trick an app into thinking that the device is a tablet...
If anyone is asking why would I want an app like this, I mainly want this because of spotify... I cannot stand listening to certain songs, but I cannot skip them because I don't want to pay 5 € a month for something I can have for free...
If anyone can help me, I would really appreciate it
You could try the Xposed module App Settings to set a custom DPI for Spotify app. If you do it right, then the app should think that it's running on a tablet and hopefully it'll use a tablet UI.
Sent from my GT-I9070
Never mind, the solution to the problem is tabletmetrics...
Just enable it on xposed, reboot and poof! I can listen to whatever I please
Now Spotify do Not allow to reproduce the music I want, it force me to listen playlist randomized. Any idea?
galop said:
Now Spotify do Not allow to reproduce the music I want, it force me to listen playlist randomized. Any idea?
Click to expand...
Click to collapse
Did u actually install tabletmetrics?
If u did, did u enable it?
Btw, is xposed enabled too?
It works perfect for me even at android kitkat...
myspac said:
not possible now...
Click to expand...
Click to collapse
Even with turbo SIM or other hw tricks?
Mokiwipeout said:
Did u actually install tabletmetrics?
Yes
If u did, did u enable it?
Yes
Btw, is xposed enabled too?
Yes
It works perfect for me even at android kitkat...
Click to expand...
Click to collapse
I have OnePlus one and it don't work with original cm11s neither with paranoid android. Other modules work perfectly.
Any idea?
Is there a way to turn off the sound that happens when you take a picture with the camera?
Thanks
Anderson2 said:
Is there a way to turn off the sound that happens when you take a picture with the camera?
Thanks
Click to expand...
Click to collapse
If the Camera App doesn't have that option under Settings and your phone is rooted, you can disable it using a
root explorer App and navigate to: system/media/audio/ui
and rename the file "camera_click.ogg" to whatever you want.
This isn't really a solid solution to your problem (could be a hassle to you), but if you put your phone on silent or vibrate you will not hear the shutter sound go off! This works for me as because my phone is always in vibrate mode from the moment I wake up, however like i said not a solid solution if you don't prefer silent or vibrate mode.
Just mute your ringer. It works, at least in EU version.
Wysłane z mojego Nexus 5
GUGUITOMTG4 said:
If the Camera App doesn't have that option under Settings and your phone is rooted, you can disable it using a
root explorer App and navigate to: system/media/audio/ui
and rename the file "camera_click.ogg" to whatever you want.
Click to expand...
Click to collapse
The option doesn’t exist in the settings. Muting the phone before every time I use the camera is too much of a nuisance since I keep the sound on for other apps.
So, since my phone is rooted, your option of renaming the sound file is the best one for me. Tried it and it worked perfectly.
Thank you!
Anderson2 said:
The option doesn’t exist in the settings. Muting the phone before every time I use the camera is too much of a nuisance since I keep the sound on for other apps.
So, since my phone is rooted, your option of renaming the sound file is the best one for me. Tried it and it worked perfectly.
Thank you!
Click to expand...
Click to collapse
The option in settings is a custom ROM feature that some ROMs have. Keep in mind that removing the .ogg won't disable the sound for the HDR+ mode in Google Camera, as its embedded into the apk. You could use a Tasker profile to mute it when your camera app is open, too.
Lethargy said:
The option in settings is a custom ROM feature that some ROMs have. Keep in mind that removing the .ogg won't disable the sound for the HDR+ mode in Google Camera, as its embedded into the apk. You could use a Tasker profile to mute it when your camera app is open, too.
Click to expand...
Click to collapse
I purchased Tasker long ago, just to support the author, but to my shame I have not yet learned how to use it...... ?
That would indeed be a good use for Tasker. Maybe I will find a ready made profile (if that's what they are called) that someone else donated.
Thanks for the suggestion.
Anderson2 said:
I purchased Tasker long ago, just to support the author, but to my shame I have not yet learned how to use it...... ?
That would indeed be a good use for Tasker. Maybe I will find a ready made profile (if that's what they are called) that someone else donated.
Thanks for the suggestion.
Click to expand...
Click to collapse
If not Menton me here and I'll make one. I fulfill tasker requests all the time.
Thanks Sandman. There doesn't seem to be one I can find so I would appreciate it if you made one to mute sound when I click on the camera shortcut and unmute when I click on home.
Thanks.
Anderson2 said:
Thanks Sandman. There doesnt seem to be one I can find so I would appreciate it if you made one to mute sound when I click on the camera shortcut and unmute when I click on home.
Thanks.
Click to expand...
Click to collapse
Sorry man. Just now seeing this. I'll try tomorrow. No promises though. I'm pretty good with tasker but I think this one will be a challenge. 1st part will be easy. 2nd part will be a bit more tricky
Anderson2 said:
Thanks Sandman. There doesn't seem to be one I can find so I would appreciate it if you made one to mute sound when I click on the camera shortcut and unmute when I click on home.
Thanks.
Click to expand...
Click to collapse
OK here you go man. Let me know if you have any issues. I did test it. If you have notification sound issues while this profile is active (only while in camera app) let me know. I'll find a workaround.
Make sure you remove the .XML extension (leave the .prl). Move to SDCARD/Tasker/Autoimport. Relaunch Tasker.
DL: https://app.box.com/s/tvn84hym1to81gp8slfv
Also if you want any training or any Qs shoot me a PM and I'll teach you some stuff
Got it. Thank you very much!
Anderson2 said:
Got it. Thank you very much!
Click to expand...
Click to collapse
No problem
Be careful with it, it is illegal in some countries to shut up camera sound when you take pics. To answer your question, i dont know, but i'm french and i don't have played sound when i take pics.
PS : Android Lollipop releases in few hours
dekefake said:
PS : Android Lollipop releases in few hours
Click to expand...
Click to collapse
you just made my day