How to set the video display to the horizon or vertical of display panel in video playing

by rktb » Fri, 13 Mar 2009 06:26:12 GMT


Sponsored Links
 You should be able to use the "orientation" attribute in the linear
layout of your AndroidManifest.xml.

-Ravi



--~--~---------~--~----~------------~-------~--~----~



How to set the video display to the horizon or vertical of display panel in video playing

by waterblood » Fri, 13 Mar 2009 06:59:06 GMT


 Thanks.

But i cannot locate where the Gallery app's source code directory. Can
you point me where i can find it. Why there is no Gallery.apk in my
out director. But other app all have a corresponding *.apk in my out
dir.






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to set the video display to the horizon or vertical of display panel in video playing

by Dianne Hackborn » Fri, 13 Mar 2009 08:49:47 GMT


 It's part of Camera.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. AudioRecord.read keep blocking and throwing " obtainBuffer timed out"

fix some typo. I am testing on MOTO milestone (not milestime)




-- 

2. AudioRecord.read keep blocking and throwing " obtainBuffer timed out"

I am writing a VOIP phone application and testing it on MOTO
milestime. Sometime I meet a "obtainBuffer timed out" exception when i
am calling AudioRecord.read , it don't return me any result but just
block the thread. Runing on emulator with 1.5 OS won't get this
exception.  My codes:

AudioRecord record = new AudioRecord(
                                MediaRecorder.AudioSource.MIC, 8000,
                                AudioFormat.CHANNEL_CONFIGURATION_MONO,
                                AudioFormat.ENCODING_PCM_16BIT,
//                              100000
                                AudioRecord.getMinBufferSize(8000,
                                                
AudioFormat.CHANNEL_CONFIGURATION_MONO,
                                                AudioFormat.ENCODING_PCM_16BIT)
                                );
record.startRecording();
int num = record.read(lin,offsetInShorts ,sizeInShorts);
.......
......
when it is blocked , run these code can solve the problem.
AudioManager am = (AudioManager)
Receiver.mContext.getSystemService(Context.AUDIO_SERVICE);
                am.setMode(mode);
am.setMode(AudioManager.MODE_NORMAL);
..............
am.setMode(AudioManager.MODE_INCALL);



Anybody have any idea on this ?

-- 

3. cannot remove listview items

4. Problem when flashing boot.img on ADP1

5. Cobain koneksi broadband @ spica di sekitar Metro Soekarno Hatta Bandung ...

6. Is this a joke or a spam or another April 1st prank?

7. Error dan kadang hang @ k9