Skip to content

Instantly share code, notes, and snippets.

@pralgomathic
pralgomathic / AdbCommands
Created September 18, 2019 08:26 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
I've published an Android app in google playstore where I displayed only publicly available Live TV channels from YouTube using YouTube Player/Embedded web player. According to YouTube policies I should have been permitted to use YouTube videos into my application. But after few days of publishing PlayStore removed my app with indicating "Unauthorized Use of Copyrighted Content Policy" and asking for contract documentation from all networks/channels. Why do I need contract sign documentation from TV channels , they are all publicly available YouTube Live TV channels/Videos. Would anyone please assist me with providing further guidelines/suggestions?
{
"medialist": [
{
"sectionTitle": "TV Shows",
"mediaDetails": [{
"mediaTitle":"Holud Ronger Baina",
"mediaurl": "P8jOQUsTU9o"
},
{
"mediaTitle":"Sondehe Mondaho",
{
"barrons_words": [
{
"word": "aberrant",
"meaning": "markedly different from an accepted norm');"
},
{
"word": "abate",
"meaning": "become less in amount or intensity');"
},
{
"contacts": [
{
"id": "c200",
"name": "Ravi Tamada",
"email": "[email protected]",
"address": "xx-xx-xxxx,x - street, x - country",
"gender" : "male",
"phone": {
"mobile": "+91 0000000000",
@pralgomathic
pralgomathic / Readme.md
Created January 6, 2016 06:54 — forked from gabrielemariotti/Readme.md
A SimpleSectionedRecyclerViewAdapter: use this class to realize a simple sectioned `RecyclerView.Adapter`.

You can use this class to realize a simple sectioned RecyclerView.Adapter without changing your code.

The RecyclerView should use a LinearLayoutManager. You can use this code also with the TwoWayView with the ListLayoutManager (https://github.com/lucasr/twoway-view)

This is a porting of the class SimpleSectionedListAdapter provided by Google

Screen

Example:

@pralgomathic
pralgomathic / Makefile
Created September 27, 2015 14:28 — forked from jl2/Makefile
A simple trie data structure in C++.
trie: main.cpp Makefile
clang++ -O3 -std=c++11 -stdlib=libc++ -Wall -o trie main.cpp -lboost_system
public class MyApp extends Application {
@Override
public void onCreate() {
TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf
}
}