webOS Nation Forums >  Homebrew >  webOS Homebrew Apps > xwTweak 0.1.0 - Global Accelerometer Switch
xwTweak 0.1.0 - Global Accelerometer Switch
  Reply
Like Tree21Likes

 
Thread Tools Display Modes
Old 01/16/2012, 01:35 AM   #1 (permalink)
Member
 
Posts: 4
xwTweak is my first WebOS app. I hope that it is useful. ^_^

This is a global accelerometer switch. Please install it through WebOSQuickInstall

System tested: pre3 / 2.2.4ROM

=========2012-02-07 updated========
xwtweak v0.2.0 published

BUGFIXES
=====
1. fix Compatibility with some PDK applications

NEW FEATURES
=========
1. Provide PalmService API.
* uri: palm://com.xwteam.app.xwtweak/
* method: accelGetState
return: {"state": "on"} OR {"state": "off"}
* method: accelSetState
param: {"state": "on"} OR {"state": "off"}

Enjoy

=========2012-02-07 evening========
provide device-menu-toggle patch file for Pre3 2.2.4.

Last edited by xwteam; 02/07/2012 at 06:50 AM.
xwteam is offline   Reply With Quote
Liked by GreenHex, Rnp, kostka and 11 others like this.
Old 01/16/2012, 02:34 AM   #2 (permalink)
Member
 
Posts: 4
fix bug when install
Attached Files
File Type: zip com.xwteam.app.xwtweak_0.1.1_all.zip (24.9 KB, 139 views) Email Attachment
xwteam is offline   Reply With Quote
Liked by xandros9, LevSer and truongtuananhhau1 like this.
Old 01/16/2012, 04:46 AM   #3 (permalink)
Member
 
Posts: 2
Yay, an orientation lock application.
Works great ;-)
phgerin is offline   Reply With Quote
Thanked By: truongtuananhhau1
Old 01/16/2012, 05:50 AM   #4 (permalink)
pivotCE Developer
 
Posts: 2,193
holy cow - does that work for Pre2?
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|-
Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
gizmo21 is offline   Reply With Quote
Old 01/17/2012, 02:25 AM   #5 (permalink)
Member
 
Posts: 562
Has anyone else tried this?
p41m3r is offline   Reply With Quote
Old 01/17/2012, 03:17 AM   #6 (permalink)
Homebrew Developer
 
Posts: 779
Works perfectly on a Veer with 2.2.4. Will try on a Pre2 this evening.
Thanks for this great tweak. Accelerometer is the most useless feature of Smartphones and forbids things like reading while in bed and so... My wife is very confused by this and often just holds her phone upside down. I hope that helps a bit.

Will you release that in precentral feeds or something like that?
Garfonso is offline   Reply With Quote
Thanked By: p41m3r
Old 01/17/2012, 03:57 AM   #7 (permalink)
Member
 
Posts: 14
works perfect with Pre3 and WebOS 2.2.0. After a restart the Accelerometer switch is always active. So you have to deactivate it after every device restart.
Tronic7 is offline   Reply With Quote
Thanked By: p41m3r
Old 01/17/2012, 04:23 AM   #8 (permalink)
Member
 
Posts: 59
I just installed it on my EU Pre3 2.2.4, and it works wonderfully.

It's not a patch, but rather a stand alone program with a toggle switch to turn the accelerometer on and off.
olebl is offline   Reply With Quote
Thanked By: p41m3r
Old 01/17/2012, 05:40 AM   #9 (permalink)
Member
 
Posts: 80
this should definately become a patch whcih is triggered / controlled by tweaks. nevertheless, great work!
Shihatsu is offline   Reply With Quote
Old 01/17/2012, 05:51 AM   #10 (permalink)
Member
 
Posts: 33
I agree ... this should be made into a top-bar drop-down trigger or something...
2nd_Street is offline   Reply With Quote
Old 01/17/2012, 06:40 AM   #11 (permalink)
Member
 
Posts: 59
How can you put it in the menu when the menu dissapers in landscape mode?
olebl is offline   Reply With Quote
Old 01/17/2012, 12:32 PM   #12 (permalink)
Homebrew Developer
 
ShiftyAxel's Avatar
 
Posts: 760
It should be possible to patchify it by inserting the js into the always-running phone app and adding it to tweaks or preferably the device menu. Or even by writing a node.is service and implementing it similarly.
__________________
webOS Ports' UI Architect & luna-sysmgr guru.
ShiftyAxel is offline   Reply With Quote
Old 01/17/2012, 12:40 PM   #13 (permalink)
Homebrew Developer
 
Garrett92C's Avatar
 
Posts: 401
Quote:
Originally Posted by ShiftyAxel View Post
It should be possible to patchify it by inserting the js into the always-running phone app and adding it to tweaks or preferably the device menu. Or even by writing a node.is service and implementing it similarly.
I'm definitely going to check it out after work. Curious how it's set up...
Garrett92C is offline   Reply With Quote
Old 01/17/2012, 12:48 PM   #14 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Posts: 3,855
Hmm, given a binary is involved, a direct patch wouldn't work for the top-bar (or at least would require a few workarounds). If xwteam could switch to using the binary via a Node.js service, then it'd be extremely helpful and would may any sort of patch trigger extremely easy.

Quote:
Originally Posted by Garrett92C View Post
I'm definitely going to check it out after work. Curious how it's set up...
Looks like it's an unjailed hybrid app with a plugin binary that toggles the feature.
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 01/17/2012, 01:57 PM   #15 (permalink)
Member
 
LevSer's Avatar
 
Posts: 51
Quote:
Originally Posted by 2nd_Street View Post
... this should be made into a top-bar drop-down trigger or something...
This would be very useful!
LevSer is offline   Reply With Quote
Old 01/19/2012, 03:53 AM   #16 (permalink)
Homebrew Developer
 
Posts: 779
It would be great to somehow include that in advanced device menu patches and make it remember the state after a reboot.

BTW: It also worked on my wife's Pre2 with 2.2.4 installed.
How do you disable the accelerometer? Just curious...
Garfonso is offline   Reply With Quote
Old 01/20/2012, 01:09 AM   #17 (permalink)
Member
 
Posts: 27
Thanks for making this app, being able to lock to landscape or portrait mode was something I found myself missing quite a lot moving from my Nexus One.

-- Sent from my Palm Pre3 using Forums
Phreemann is offline   Reply With Quote
Old 01/20/2012, 05:58 PM   #18 (permalink)
Member
 
laingman's Avatar
 
Posts: 2,310
installed on pre2 running 2.1, wont launch. Maybe only works with 2.4

Last edited by laingman; 01/20/2012 at 10:16 PM.
laingman is offline   Reply With Quote
Old 01/20/2012, 06:56 PM   #19 (permalink)
Moderator
 
OldSkoolVWLover's Avatar
 
Posts: 7,732
Quote:
Originally Posted by Garfonso View Post
It would be great to somehow include that in advanced device menu patches
I was thinking the same thing.

<thread moved to homebrew>
reports of app working on all 2.2.4 devices
__________________
I love physical keyboards... but there is two devices that would make me consider a slab, one is something running a full version of Open webOS. The other is an iPhone!!!! HA HA just kidding (about the iPhone that is)...
OldSkoolVWLover is offline   Reply With Quote
Thanked By: nodevel
Old 01/30/2012, 05:06 AM   #20 (permalink)
Member
 
Posts: 37
laingman, you need Enyo at least. It can be installed on 2.1 from 2.2.4 doctor
Alinaki is offline   Reply With Quote
Reply

 

Tags
accelerometer

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0