Our OrbitSoft team has started the New Year off by working on developing an Android application. The purpose of this application is to offer the ability to look through a catalog of video files and to watch the actual video files.
In the process of developing catalogs for video files, we worked to fulfill various requests, such as:
- Receiving the list of videos with the ability to sort and filter by category
- Searching by key words
The list of video files is presented as an endless list. In order to create this list, we used the RecyclerView widget, which is a more advanced and flexible version of ListView. It’s a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. The RecyclerView widget is a great tool when you have data collections whose elements change at runtime based on user action or network events.
For the purposes of personalizing the user’s data, we set up a PIN code. If the user sets up a PIN in the settings, then the app will ask for the PIN when the it is turned on. Security is paramount!
In order to view video files in the application, we integrated ExoPlayer, which is an application level medial player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video, both locally and over the Internet. ExoPlayer is a cutting-edge tool which supports features not currently supported by Android’s MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. ExoPlayer is easy to customize and extend, and can be updated through the Play Store application updates.
We used a video controller for monitoring the videos and their quality, based on the user’s preferences. As a user, you can take a range of actions with the videos, including:
- Add a video to selected
- Mark a video as liked or not liked
- Download a video
- View a list of similar videos
You may be wondering how to view a video when not online. The answer is simple — the app uses a service for downloading video files. You have the option of downloading the file into your phone’s internal memory or onto an SD card. User’s activity on the application can be tracked through the Flurry Analytics service, which we have integrated for this purpose.
Finally, as could be expected, the Android app displays advertising from the OrbitSoft Ad Server platform. The application will feature banner ads, as well as interstitial ads on the pages of the video player.
As you can see, we’ve had a busy start to the year. We will continue working hard to bring more technological advantages to our clients throughout 2017 and beyond!