Skip to the content.

Docs | Android

DTG FAQ

On this page:

Where are the files stored?

The downloaded content is stored in a subdirectory “dtg/clear” under the directory returned by context.getExternalFilesDir(null).

In addition, DTG stores its own db/files in the application’s private directory (context.getFilesDir()) – under a subdirectory with the same name, “dtg/clear”.

Are the media files hidden from other apps?

No. The directory in which they are stored belongs to the app, but is in the shared area. Any application that has the READ_EXTERNAL_STORAGE permission can read it.

What is the supported Android version?

DTG is supported on Android 4.1 and up; see the documentation of PlayKit for playback support, in particular of DRM-protected content.

How to delete downloaded content?

Call ContentManager.removeItem(itemId). This call removes all of the data and metadata of the specified item.

Where are the subtitles saved?

The subtitles (if available and selected for download) are saved together with the video and audio files. The player will pick them out automatically just like with online playback.

What about DRM support?

DRM support is not part of DTG. This library is only responsible for downloading the content, not the license. However, see the sample app “dtgdemo” (https://github.com/kaltura/playkit-dtg-android/tree/develop/dtgdemo) for working with PlayKit, including DRM support.