This page (revision-58) was last changed on 23-Apr-2022 17:06 by HarryMetske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
58 23-Apr-2022 17:06 29 KB HarryMetske to previous
57 23-Apr-2022 17:05 29 KB HarryMetske to previous | to last
56 23-Apr-2022 17:05 28 KB HarryMetske to previous | to last
55 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
54 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
53 23-Apr-2022 17:05 24 KB Harry Metske to previous | to last
52 23-Apr-2022 17:05 24 KB 10.0.0.138 to previous | to last
51 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
50 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
49 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
48 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
47 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
46 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
45 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
44 23-Apr-2022 17:05 20 KB HarryMetske to previous | to last
43 23-Apr-2022 17:05 19 KB HarryMetske to previous | to last
42 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last
41 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 526 added 46 lines
.. not many notes on this subject , no time and interest this time....
__MultiMedia__
Important MultiMedia classes:
* AudioManager & SoundPool
* RingtoneManager & RingTone
* MediaPlayer & MediaRecorder
* Camera
__AudioManager__
* manages volume, system sound, effects and ringer mode control
* acquire AudioManager instance via Context.getSystemService(Context.AUDIO_SERVICE)
* then Load and Play sound Effects, manage the volume, manage Peripherals
__SoundPool__ represents a collection of audio, multiple sample at the same time
__RingToneManager__ provides access to audio clips used for incoming phone calls, notifications, alarms etc.
It allows application to get and set ringtones and to stop/play them.
__MediaPlayer__ controls the playback of audio and video streams and files.
common methods
* setDataSource() - which streams to play
* prepare() - initializes the player and loads the streams (it is synchronous, there is also an asynchronous version)
* start()
* pause()
* seekTo()
* stop()
* release()
__VideoView__ is a subclass of SurfaceView. Used for displaying video.
__MediaRecorder__ used to record audio and video (state machine). Use ''setAudioSource()'' , ''setVideoSource()'', and the other usual ones.
__Camera__ - access the camera service. Your application can capture images, start/stop preview. You need CAMERA permissions of course. Also specify the ''uses-feature'' tag in AndroidManifest.xml.
Commona approach:
* get camera instance
* set camera parameters
* setup and start the preview display (so the user can see what the camera sees)
* take a picture & process image data
* release the camera