5,597,815 Members 37,582 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] TrackballWake [v0.1] and TrackballSkip [v0.1]

Tip us?
 
metalhead8816
Old
(Last edited by metalhead8816; 20th March 2010 at 05:45 PM.)
#1  
metalhead8816's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 115
Join Date: Jan 2010
Default [MOD] TrackballWake [v0.1] and TrackballSkip [v0.1]

These mods have now be included in CM-5.0.5. So I have taken down the links. Please download CM-5.0.5 and install. If you have issues with it then post them here please.

I would first like to thank those that have helped me along the way. Thanks ChainsDD for helping me realize Android development isn't that hard. Thanks Cyanogen for the awesome roms and for the inspiration to innovate. Love your cool features. And lastly thanks to all the other devs for the great mods (optedOblivion and arctu to name a few)

Alright on to the details.

The mod has options to turn them on or off, but they cannot be used together. This is by design because if you are skipping songs and the screen wakes up then you are wasting battery and taking events away from the lock screen. (May change this later if you guys want)

1st Mod: (TrackballWake)
- Allows the user to wake the screen using the trackball (No extra apps its built-in to OS)
- Option is under the System Settings -> Sound & Display -> Trackball Settings -> Trackball wakes screen
- Option is off by default

2nd Mod: (TrackballSkip)
- Allows the user to skip to the next song if music is playing and the screen is off.
- This is done by double-tapping the trackball while the screen is off.
- A double-tap is two consecutive presses within about half a second.
- Option is under Music App -> Settings -> Use trackball to skip
- Option is off by default

Two different versions now:
1) trackball-SuccessW-WSv01.zip - This includes the Successive Notifications v0.4
2) trackball-NoSuccessW-WSv01.zip - This does not include Successive Notification v0.4

This should fix the force close issues for people as the previous version had a new implementation of Successive Notifications which apparently has some bugs. If you have problems with Successive Notifications then post in that thread please.

If you get a force close or unexpected behavior, please put it on pastebin.com and post the link on this thread. Please include which version you are using and what happened.

Donation:
Please donate if you like my work. It helps keep me motivated and working hard on Android.

Install:
- Nandroid Backup
- Simple install CM-5.0.5

Again, note for now you cannot use these two mods together (and TrackballWake takes precedence)

Source is on Github now.
Device: HTC Thunderbolt
ROM: BAMF 1.7

Twitter: metalhead8816
Github: metalhead8816

Like my work? Buy me a beer!!
The Following User Says Thank You to metalhead8816 For This Useful Post: [ Click to Expand ]
 
metalhead8816
Old
#2  
metalhead8816's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 115
Join Date: Jan 2010
Saving for potential changelog if need be.
Device: HTC Thunderbolt
ROM: BAMF 1.7

Twitter: metalhead8816
Github: metalhead8816

Like my work? Buy me a beer!!
 
persiansown
Old
#3  
Recognized Developer
Thanks Meter 718
Posts: 853
Join Date: Jan 2007
Very impressive man
I do CyanogenMod stuff.

Circle me on Google+
 
david1171
Old
#4  
Senior Member
Thanks Meter 162
Posts: 3,202
Join Date: Apr 2009

 
DONATE TO ME
You are a lifesaver. Since my power button has gone south, I don't have a way to keep a lockscreen (using keyguard disabler) and cut the screen off after it has been cut on, is there any way that you could remap another button to power it off?
Device: Nexus S 4G
ROM: CM7
CM7 Theme Engine: MinimalBread
App Mod: Demotivators Protips Widget
My Icon Sets: Minimalist and Minimal
Twitter: david1171_
Google Chrome Theme: Minimalist
PayPal: If you would like to donate
 
andythefan
Old
(Last edited by andythefan; 12th March 2010 at 05:40 AM.)
#5  
Senior Member
Thanks Meter 8
Posts: 226
Join Date: Sep 2009
Location: Houston
Giving it a try!

Will edit with results.

Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)
 
tropmonky
Old
#6  
Senior Member
Thanks Meter 2
Posts: 124
Join Date: May 2008
Location: Los Angeles
HAWT! I've been wanting to be able to turn it on with the trackball! WOOT... I'm trying now.
 
alextripp
Old
#7  
Senior Member
Thanks Meter 0
Posts: 102
Join Date: Jan 2010
Does this turn the screen on when you move the track ball or on a trackball click?
 
eXelero
Old
#8  
eXelero's Avatar
Senior Member
Thanks Meter 8
Posts: 170
Join Date: Apr 2009
Location: Bucharest
sounds nice! will definitely use the 1st one!
Phone: Motorola Moto G 8GB XT1032
Recovery: TWRP's latest
Kernel: stock
ROM: unofficial CM11


History: Nokia 6210 -> Nokia 6610 -> Samsung D600 -> Nokia N82 -> iPhone 2G -> HTC Touch Diamond 2 -> HTC/Google Nexus One -> HTC Sensation -> Samsung/Google Galaxy Nexus -> LG/Google Nexus 4 -> Samsung Galaxy S4 (i9505) -> Motorola Moto G 8GB
 
metalhead8816
Old
#9  
metalhead8816's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 115
Join Date: Jan 2010
Quote:
Originally Posted by alextripp View Post
Does this turn the screen on when you move the track ball or on a trackball click?
Its on trackball click.

Oh, and feel free to donate if you like my work. Link is in my sig.
Device: HTC Thunderbolt
ROM: BAMF 1.7

Twitter: metalhead8816
Github: metalhead8816

Like my work? Buy me a beer!!
 
david1171
Old
(Last edited by david1171; 12th March 2010 at 04:30 PM.)
#10  
Senior Member
Thanks Meter 162
Posts: 3,202
Join Date: Apr 2009

 
DONATE TO ME
Quote:
Originally Posted by alextripp View Post
Does this turn the screen on when you move the track ball or on a trackball click?
Only does it for a trackball click for me. Works very nicely.

Quote:
Originally Posted by andythefan View Post
Giving it a try!

Will edit with results.

Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)
Here is a services.jar for this that has been modded to clock, date, and roam/network to white. just remove everything after .jar and push to framework then reboot.

EDIT:
http://android-theme-minus.googlecod...white_text.zip

There is one that you can flash in recovery. Nandroid first for cmoa reasons.
Attached Files
File Type: zip services.jar.remove-all-text-after-jar.zip - [Click for QR Code] (500.9 KB, 196 views)
Device: Nexus S 4G
ROM: CM7
CM7 Theme Engine: MinimalBread
App Mod: Demotivators Protips Widget
My Icon Sets: Minimalist and Minimal
Twitter: david1171_
Google Chrome Theme: Minimalist
PayPal: If you would like to donate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...