If you are getting Shaka player errors 6001 (REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE) and 7000 (LOAD_INTERRUPTED) on your app with hosted shaka player playing DRM content then check if the domain is having HTTPS. If not then make necessary changes to apply HTTPS.


To test DRM content playback on Exoplayer first you need to create the demo Exoplayer app from the below git project

The details of the demo app are available here:

On generating the build in the project you will find the APK in the below folder path:

ExoPlayer/demos/main/buildout/outputs/apk/noDecoderExtensions/debug/demo-noDecoderExtensions-debug.apk

Once you install the APK on our device, you can try testing for the build using the below command

adb shell am start -a com.google.android.exoplayer.demo.action.VIEW -d http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4

Now to open DRM content with all the DRM parameters, use the command below:

adb shell am start -a com.google.android.exoplayer.demo.action.VIEW \ -d “https://sample_video_server.com/sample_manifest.mpd" \ -e…

Have you tried running a packaged React JS app in Android, iOS, LG webOS, or Samsung Tizen and found that it's just showing a blank screen?

What's happening here?

It might be because of the following 4reasons

  1. Browser support
  2. Missing Polyfill
  3. Home page root
  4. BrowserRouter instead of HashRouter

Let's see each one by one

Browser Support

The React JS projects are expected to be hosted and run on modern browsers. But when you package it, it is expected to run on a fixed WebKit. And most of the time these WebKits are pretty old.

How old? well if you are working on…


Ever wanted to edit and update the images in your google doc but you don’t have the backup of the original image?

Well just follow the below steps to get the original image in its full resolution for you to edit and update.

Steps:

  1. Open the Google Doc
  2. Go to file menu and select download and download as Web page
Image for post
Image for post

3. Extract the downloaded zip file to get the images in the image folder

Simple as that. 😉


OR Git pull failed with “repository not found” message?

You can solve this by the below command:

git remote set-url origin https://username:password@github.com/repo.git

Just replace the ‘username’ and ‘password’ with your credentials.

Even after doing so if you are getting the below error while trying to push:

“Error gnutls_handshake() failed: Handshake failed”

then check for the branch permission. no need to create new ssh.

if the error persists with the above set URL, check if there is any special chars in the username:password. if so then you need to URL encode them and use.

Use the below site to encode:

https://www.url-encode-decode.com/


Most of you might have struggled to send/upload files from your mobile/PC to your Android TV or Amazon Fire TV devices for viewing them. The normal way of connecting your flash drive behind you TV is not much of an easy way. So how can you send files or browse files from your TV.

Presenting WIFI Share on TvExplorer.

Image for post
Image for post
WIFI Share


Image for post
Image for post

Its been a year I started working on Android TV and I couldn’t find a decent file explorer app for Android TV. All the file explorer/manager apps out there is just a porting of the mobile/tablet app to TV. You will have to adjust with the unreliable navigation these app have. The problem is in the way we interact with these mobile/tablet apps and TV apps. They are different.

In case of TV we only have the TV remote for all the interactions. We don't have the luxury of touch screen unlike mobile or tablets. So all apps for TV…


The best way to reuse code is to make it as a library. Sometimes you need to develop the library and the applications in parallel, in these situation the library might get changes and additions from multiple projects and we need to manage them, and the best way to manage the code is to use git and submodules.

Here i am going to show you how to add a android library project as a submodule to an Android application project, and both being maintained by git.

Prerequisite:

  • An Android Library project under a repository (Git / BitBucket)

Step 1: Create…


Image for post
Image for post

Remix OS is Android OS for PC

Here I am going to show how to install Remix OS along side with Ubuntu without making separate disk partition.

Prerequisite: Ubuntu installed PC

Now get your copy of Remix OS from :

On downloading you will have this file: release_Remix_OS_for_PC_Android_xxxxxxxxxxx.zip

Unzip it.

Now you get

Deepak Pk

Tech lead / Android, Roku Developer / deepakpk.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store