Reply
Thread Tools
Posts: 27 | Thanked: 7 times | Joined on Feb 2010
#1
Is it possible to install any app and then to change song by shaking the phone ? I think it would be possible..but how?
 

The Following User Says Thank You to necoicould For This Useful Post:
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#2
Look to devel.
 

The Following User Says Thank You to Figa For This Useful Post:
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#3
it's in testing too:
http://maemo.org/packages/view/shake2control/

add testing repository and install it via appmanager.
(but testing-apps are maybe not so stable and might cause problems on your device)
 

The Following 2 Users Say Thank You to b666m For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#4
I think the shake2control app in extras-devel does that (unsure though). I think it might be play/pause right now though it shouldn't be to hard for the developer to change it to change song or whatever.

But standard warning about installing extras-devel software (could potentially cause problems) is advised.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
zail's Avatar
Posts: 171 | Thanked: 59 times | Joined on Feb 2010 @ Bristol, uk
#5
It does let you stop/ start and change track by shaking.. I've had it installed for a week or so now and no probs... but like all of the accelerometer based apps I've seen it's not always very reactive....
 
Posts: 174 | Thanked: 99 times | Joined on Jan 2010
#6
Its a very buggy application currently.

Shake Left/Right and it'll change the track (Next track)
Shake Up/Down and It'll Pause/Play

The problem is quite often it won't work for 5-10 minutes then suddenly start......On top of that occasionally it just WON'T work unless I do a phone reset. And yes, It does have a problem with sensitivity at times too, Sometimes I just have to touch it and it'll change, other times I have to jerk it hard to get any response.
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#7
look at the source-code:
Code:
// Check if device is in the cover eg. in the pocket etc.
  // If not, then read accelerometer
  FILE *fid = fopen("/sys/bus/platform/devices/proximity/state","r");
  if(fid!=NULL){
    
   rs=fscanf((FILE*) fid,"%s",&str);
   fclose(fid);
   if(str[0] != 'c'){
     
     FILE *fd = fopen("/sys/class/i2c-adapter/i2c-3/3-001d/coord","r");
    if(fd!=NULL){
  
    rs=fscanf((FILE*) fd,"%i %i %i",&x,&y,&z);
    fclose(fd);
 if( y<-1700 || y>1700){
      g_print("\nNext track"); 
      mafw_renderer_next(MAFW_RENDERER(self->renderer), error_cb, NULL);

 }
 
 if(z<-1700){
      mafw_renderer_get_status(MAFW_RENDERER(self->renderer),play_status,self);

 }
i think 1700 = 1,7G.
so to get an impression on how fast you have to move the phone from one point to another:
take a ball (or any other thing) and let it fall. that's 1G. make this movement 1,7 times faster and you have the edge when the song is skipped/paused. ^^

and you can see that it won't work when the proximity sensor is covered (when the phone is in a phonebag or in your pocket etc).

but you're right. i sometimes have to restart the app a few times to make it work. o.O
 
Posts: 117 | Thanked: 23 times | Joined on Aug 2008 @ Hardenberg
#8
Originally Posted by DarkPand0r View Post
Its a very buggy application currently.

Shake Left/Right and it'll change the track (Next track)
Shake Up/Down and It'll Pause/Play

.
I
I've used it quite some time now and I had no problems as youu have had.
I hope all tech problems will be solved, coz I like it.
 
Posts: 344 | Thanked: 73 times | Joined on Jan 2010
#9
It's not working with MediaBox, however - too bad, it's the player of choice right now for many.
__________________
N900.... thick like computer
 
Posts: 127 | Thanked: 44 times | Joined on Jan 2010 @ Nottingham
#10
Just installed and I love it, thanks OP and others for pointing me in the right direction.
__________________
N900 owner? Pinned the map?
http://pininthemap.com/maemo
MasterPin: Shotgun
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:37.