The Download Manager is a service for handling long-running downloads. The Download Manager handles the HTTP connection and check for connectivity changes, system reboots, etc. to make sure that the download completes successfully. The Download Manager will notify the Activity using a broadcast receiver once …

iTunes Search API
The Search API allows you to place search fields in your website to search for content within the iTunes Store and Apple Books Store. You can search for a variety of content; including books, movies, podcasts, music, music videos, audiobooks, and TV shows. To search …
Simplest adapter for RecyclerView
Here is the easiest way to bind adapter to recycler view with few lines of code using Last Adapter. Don’t write recycler view adapter again. Not even viewHolder!. Basically Last Adapter use Data Binding to bind data with your views. Data Binding Library is a support …
Animations in Angular 7
Animations in angular makes our application pleasant to our see and makes user experience more realistic. So i would encourage you to use basic animations on forms, form elements, table or any of the html tags. You should have BrowserAnimationsModule in module.ts file and then …
react js Av Form and reactstrap validation
import React from ‘react’; import { AvForm, AvField, AvGroup, AvInput, AvFeedback, AvRadioGroup, AvRadio, AvCheckboxGroup, AvCheckbox } from ‘availity-reactstrap-validation’; import { Button, Label, FormGroup } from ‘reactstrap’; export default class Example extends React.Component { constructor(props) { super(props); this.handleSubmit = this.handleSubmit.bind(this); this.state = {}; } handleSubmit(event, errors, …
ImageMapping in UIImageView
1. Add MTImageMapView.h and MTImageMapView.m file in Project 2. Add BridgeHeader File #import “MTImageMapView.h” 3. Add Custom Class MTImageMapView in UIImageView 4. Add Image and Coordinate .plist file in Project coordinate file added to image different coordinate location 4. Outlet of UIImageVIew @IBOutlet weak var imgView: MTImageMapView! var …

Search Music/Sound/Song API – Deezer API
Deezer API can discover from 30 million track by simply making REST api call. Whenever there is requirement to search for such sound list inside any mobile application we can use this Deezer api. For instance tiktok can search over millions of short soundtrack(30 seconds). If there …
Concat two mp4 files using MP4Parser.
Below class to append/concat two mp4 files using mp4parser. public class Mp4ParserWrapper { public static final String TAG = Mp4ParserWrapper.class.getSimpleName(); public static final int FILE_BUFFER_SIZE = 1024; /** * Appends mp4 audio/video from {@code anotherFileName} to {@code mainFileName}. */ public static boolean append(String mainFileName, String …
Boomerang with FFMpeg – Android
If you want to create Boomerang with FFmpeg command then you can use below command to use. Single command to create boomerang video ffmpeg -y -i input.mp4 -filter_complex [0]reverse[1];[0][1]concat=n=2,setpts=0.5*PTS output/boomerrang.mp4 where setpts=0.5*PTS : This is for fast video. [0]reverse[1] : this is for reversing the input video Still …
Generic Recycleview with Adapter in Kotlin
Now I will show you how to use Generic RecycleView for different View Types. First of creating Generic Recycleview Adapter (GenericAdapter) class as below. import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup abstract class GenericAdapter : RecyclerView.Adapter { var listItems: List constructor(listItems: List) { this.listItems …