Playing VideoFiles from SensorManager

All your problems with Audio, Video and Images.

Playing VideoFiles from SensorManager

Postby Archana » Tue Mar 10, 2009 9:36 am

Hi,
Can anyone tell me wheather we can run videofiles(.mp4) from SensorManager... ?I tried to put it onSensorChange() method of SensorListener....But its not working..
I want to play VideoFile while i am shaking the mobile.If anyone have any idea please let me know.


Thanks
Archana
Archana
Archana
Experienced Developer
Experienced Developer
 
Posts: 53
Joined: Thu Feb 28, 2008 12:00 pm
Location: Bangalore

Top

Postby Archana » Tue Mar 10, 2009 9:56 am

Hi guys

I got it.Now its working for me from sensor manager
Archana
Archana
Experienced Developer
Experienced Developer
 
Posts: 53
Joined: Thu Feb 28, 2008 12:00 pm
Location: Bangalore

Postby PI9 » Tue Apr 21, 2009 3:44 pm

Hy Archana,

I'm really intrested in your code!
Actually, I would like to manage the sound volume (during a call) in function of the phone position (eg. when it's horizontal on the table, I want it to set speaker on with high volume; and to reduce the volume when it is vertically oriented -near the hear-)...
So I tried to use SensorManager to deal with the g-sensor and AudioManager to deal with the volume...

Thank you for your help!


(PS: sorry for my bad english)
PI9
Junior Developer
Junior Developer
 
Posts: 11
Joined: Mon Apr 06, 2009 8:40 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 15 guests