Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Android multimedia in Hindi
1. You can download this document from www.besthinditutorials.com
Android multimedia
Introduction to android multimedia in Hindi
o What is stage fright?
Playing audio with android multimedia in Hindi
Playing video with android multimedia in Hindi
Taking pictures with android in Hindi
Recording audio with android in Hindi
Introduction to android multimedia
आज ए cell phone ए multimedia ए
ज ई cell phones ज multimedia
support User phone music , video
औ web surfing इ ए आ cell phone
multimedia support ज Android आ multimedia system
implement आ Android google default
multimedia system provide ज आ
What is stage fright?
Stage fright ए multimedia system ज google android devices ए
provide इ OpenCORE system ज Stage
fright android 2.3 introduce Stage fright OpenCORE
system completely replace आ अ applications
ज systems work Stage fright system
ज
Stage fright आ media playback, download औ live
stream ज
Stage fright RTSP औ HTTP आ protocols support
इ system आ media record
Stage fright video call support
2. You can download this document from www.besthinditutorials.com
system hardware औ input output devices support
Playing audio in android
music ज multimedia support अ
mobile उ cell phone music play इ ए
android आ built in media player provide इ
आ Android media player ए ई music play ए
आ 3 simple steps follow
आ ज MP3 file play उ res/raw file store
ज
इ आ MediaPlayer class object create औ MP3 file
reference pass ए आ MediaPlayer.create() method
औ उ current activity context औ MP3 file URL pass
इ आ इ object start() method call
MediaPlayer mp = new MediaPlayer();
MediaPlayer mp1;
mp1= mp.create(Context context, mp3 file id);
mp1.start();
Playing video in android
Android आ video play Android video play audio
comparison Video play ए आ view surface
provide Android VideoView widget ज इ task
handle इ layout manager इ ज
आ इ size औ color change VideoView
3. You can download this document from www.besthinditutorials.com
AndroidManifest.xml define ज इ ए आ <VideoView>
element इ element 3 main attributes ज आ
android:id - video resource id
android:layout_width - इ आ view width set
android:layout_height - इ view height set ज
VideoView आ define इ उ ज
<VideoView android:id="resource-id-of-video"
android:layout_width="200px"
android:layout_height="200" />
VideoView define आ activity class ए window create
इ VideoView object create ज औ उ id identify
ज इ आ ए URL string variable ए ज video
URL pass ज इ आ इ URI setVideoUri() method
set इ आ VideoView object requestFocus() method call
इ VideoView object start() method call() ज इ
उ ज
getWindow().setFormat(PixelFormat, UNKNOWN);
VideoView vv = (VideoView) findViewById(R.id.videoview);
String videopath = "path of video";
Uri myUri = Uri.parse(videopath);
vv.setVideoUri(myUri);
vv.requestFocus();
vv.start();
4. You can download this document from www.besthinditutorials.com
Taking pictures with android
Android picture ए आ AndroidManifest.xml file
camera permission
<uses-permission android:name="android.permission.Camera">
Picture ए आ ए intent create आ इ
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
File save ए आ ए variable create
filepath = getOutputMediaFileUri(MEDIA_TYPE_IMAGE)
इ आ cameraIntent putExtra() method call औ उ filePath pass
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, filepath);
Read more tutorials on android in Hindi at www.besthinditutorials.com