[android-developers] Rotation Matrix and Earth's Geomagnetic Field

2013-08-29 Thread arsalank2
Does RotationVector sensor internally use magnetic sensor to determine the final values? If yes, does it account for Earth's Geomagnetic field? There two methods in SensorManager to determine rotation, i.e, SensorManager.getRotationMatrixFromVector and SensorManager.getRotationMatrix. Does any

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread arsalank2
I also need it for the same reasons and unable to find a workaround. I also notice similar behavior if switched between portrait and portrait inverted, the onConfigurationChanged() is not called. On Mar 29, 2:21 am, Mark Carter wrote: > In my case, I need to for the camera (otherwise the image wi

[android-developers] Re: Camera startPreview() failed on Nexus S with Gingerbread

2011-06-24 Thread arsalank2
I am also facing the same problem on Nexus S with Gingerbread. startPreview always fail in onPictureTaken callback after takePicture is called. Does any one has a solution. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Re: Media streaming on Android

2010-07-27 Thread arsalank2
streaming. > > Use MP4Box to do that work > > On Mon, Jul 26, 2010 at 7:23 PM, arsalank2 wrote: > > Thanks for the link, but the encoded video is not decoded by the > > Mediaplayer on some devices. Do you know precise details on codec > > which is correctly decoded by t

[android-developers] Re: Media streaming on Android

2010-07-26 Thread arsalank2
to be encoded > properly for it to work. Try using VLC to encode the video. > > http://www.youtube.com/watch?v=G7itfBXq6ns > > Shawn > > On Jul 19, 5:32 am, arsalank2 wrote: > > > Hi Android developers, > > > I am trying to stream a video on an Android devic

[android-developers] Media streaming on Android

2010-07-19 Thread arsalank2
Hi Android developers, I am trying to stream a video on an Android device, but default Mediaplayer is not able to play the stream. The video can be played offline from SD card. I have tried various codec (H.264, H.263, MPEG-4, AAC etc..) with different profiles, but unable to come up with correct

[android-developers] Re: Embed youtube Video in Android

2010-07-09 Thread arsalank2
Youtube videos can be played by opening the appropriate URL through intent action VIEW. The youtube video URL starts with "vnd.youtube". On Jun 29, 2:39 pm, Ram wrote: > Can someone guide me in playing youtube videos in android. I have > tried the RTSP but it fails tostreamthevideo. -- You rece