Introduction The android media viewer mediaplayer MediaControllerCompat tutorial series describes how to setup the MediaControllerCompat with the MediaPlayer UI. And its relationship with the MediaSessionCompat. The role of the MediaController is to directly interface with the application UI and to pass requests down to the MediaSession via the transport controls. Get Code The code can […]
Read moreIntroduction The android media viewer mediaplayer MediaSessionCompat tutorial series describes how to set up the MediaSession and its callback. Which will receive requests from the the MediaController and then pass them onto the MediaPlayer. Get Code The code can be found on github from the following instructions below https://github.com/mobapptuts/media-thumbnail-viewer.git Tag media-viewer-mediasession or you can run this […]
Read moreIntroduction The android media viewer audio focus tutorial series describes how to support & use android’s AudioFocus for media playback Also discussed will be supporting the becoming noisy event where a BroadcastReceiver will be setup. Get Code The code can be found on github from the following instructions below https://github.com/mobapptuts/media-thumbnail-viewer.git Tag media-viewer-audiofocus or you can run this […]
Read moreIntroduction The android media viewer mediaplayer video tutorial series describes how to use android’s mediaplayer to play videos from the MediaStore imager viewer. Get Code The code can be found on github from the following instructions below https://github.com/mobapptuts/media-thumbnail-viewer.git Tag media-viewer-mediaplayer or you can run this command git clone https://github.com/mobapptuts/media-thumbnail-viewer.git –branch media-viewer-mediaplayer This video describes how to import […]
Read moreIntroduction The Android media viewer ConstraintLayout video tutorial describes how to use android’s new ContstraintLayout to add and position views. Steps Install the ConstraintLayout library using the SDK manager Add the ConstraintLayout library to the android project as a gradle dependency dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:recyclerview-v7:23.4.0' compile 'com.github.bumptech.glide:glide:3.5.2' compile 'com.android.support:support-v4:23.0.0' […]
Read more
Recent Comments