Introduction The camera intent android nougat support tutorial describes the changes required for how to support file Uri’s to android nougat and later. For android nougat (SDK 24) and later a file Uri can no longer be passed to another android application via the android intent. Instead a Content:Uris with storage permissions applied must […]

Read more

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 more

Introduction 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 more

Introduction 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 more

Introduction 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 more

Introduction 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