Skip to content

Instantly share code, notes, and snippets.

View FaisalJamil's full-sized avatar

Faisal Jamil FaisalJamil

  • Berlin, Germany
View GitHub Profile
@FaisalJamil
FaisalJamil / MQTTService.java
Created September 29, 2017 12:43
Push notification using MQTT message broker
package com.earthlinktele.faisaljamil.cinemana.push_notification;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
@FaisalJamil
FaisalJamil / CustomPlayer.java
Created September 29, 2017 12:37
Customize ExoPlayer with SubTitles
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software