Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Is Change Shoulder Buttons v2.2 working for you?
Yes, it works 100%. 8 47.06%
It partially works. Some modes don't. 6 35.29%
No, it's not working at all! 3 17.65%
Voters: 17. You may not vote on this poll

 
Post Reply+
Tip us?
 
hatcyl
Old
(Last edited by hatcyl; 1st November 2011 at 08:18 PM.) Reason: App is now free!
#1  
Senior Member - OP
Thanks Meter 158
Posts: 276
Join Date: Nov 2008
Default 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?i...oulder_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!
Attached Files
File Type: zip Change Shoulder Buttons 6.apk.zip - [Click for QR Code] (190.1 KB, 393 views)
The Following 10 Users Say Thank You to hatcyl For This Useful Post: [ Click to Expand ]
 
Logseman
Old
(Last edited by Logseman; 14th September 2011 at 07:23 PM.)
#2  
Logseman's Avatar
Senior Member
Thanks Meter 594
Posts: 2,420
Join Date: Nov 2010
Location: Tenerife

 
DONATE TO ME
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.

Spanish site for Tizen, Ubuntu Touch, Firefox OS, and other free mobile OS.
 
hatcyl
Old
#3  
Senior Member - OP
Thanks Meter 158
Posts: 276
Join Date: Nov 2008
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
 
cutthroat31
Old
#4  
cutthroat31's Avatar
Member
Thanks Meter 4
Posts: 61
Join Date: Jul 2011
Location: Los Angeles
Nice app...but when I set the shoulder buttons for media it keeps skipping and rewinding music when I'm playing a game... Lol.
 
hatcyl
Old
#5  
Senior Member - OP
Thanks Meter 158
Posts: 276
Join Date: Nov 2008
Quote:
Originally Posted by cutthroat31 View Post
Nice app...but when I set the shoulder buttons for media it keeps skipping and rewinding music when I'm playing a game... Lol.
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.
 
cutthroat31
Old
#6  
cutthroat31's Avatar
Member
Thanks Meter 4
Posts: 61
Join Date: Jul 2011
Location: Los Angeles
Quote:
Originally Posted by hatcyl View Post
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.
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.
 
Leraeniesh
Old
#7  
Leraeniesh's Avatar
Senior Member
Thanks Meter 805
Posts: 1,361
Join Date: Aug 2011
Location: Detroit

 
DONATE TO ME
Quote:
Originally Posted by hatcyl View Post
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?i...oulder_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?"
This seems like a paid version for an app that is already free.

https://market.android.com/details?i...button.changer

Same functions, same results.
Current Devices:
Droid Razr M XT907 - Unlocked - CyanogenMod 10
Xperia Play R800x - Unlocked - Xperia NXT Gaming - DooMKernel
Nexus 7 - Unlocked - CM10.1 Nightlies
Older Devices:
Kindle Fire - Rooted - Cyanogenmod 10
Droid X2 - Rooted - MIUIv4
Droid 2 - Rooted - LiquidICS
 
zerojay
Old
#8  
Senior Member
Thanks Meter 71
Posts: 547
Join Date: Aug 2010
Yep, there's already a free app by an XDA member.
 
ps3taker
Old
#9  
Senior Member
Thanks Meter 39
Posts: 502
Join Date: May 2011
Location: London
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
 
hatcyl
Old
#10  
Senior Member - OP
Thanks Meter 158
Posts: 276
Join Date: Nov 2008
Quote:
Originally Posted by Leraeniesh View Post
This seems like a paid version for an app that is already free.

https://market.android.com/details?i...button.changer

Same functions, same results.
Quote:
Originally Posted by zerojay View Post
Yep, there's already a free app by an XDA member.
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 ----------

Quote:
Originally Posted by ps3taker View Post
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
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.)

The Following User Says Thank You to hatcyl For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
camera, game, media, shoulder buttons, xperia play
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...