Skip to content

Instantly share code, notes, and snippets.

View ingenieursaurav's full-sized avatar
🎯
Focusing

SAURAV SHARMA ingenieursaurav

🎯
Focusing
View GitHub Profile
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@ingenieursaurav
ingenieursaurav / Install Multiple APKs
Created May 13, 2020 07:21 — forked from VenomVendor/Install Multiple APKs
Installs Multiple APKs in a Folder
:: Check for Devices
adb devices
:: -r >> reinstalls without removing the data
:: -s >> installs in SD Card
:: to install all APKs in folder D:/APK Backup/.
for %f in ("D:/APK Backup/*.apk") do adb install -r -s "%f"
:: to install all APKs in current folder
for %f in ("*.apk") do adb install -r -s "%f"
@ingenieursaurav
ingenieursaurav / Device Details
Created May 13, 2020 07:20 — forked from VenomVendor/Device Details
Get Device Details in Android Programmatically.
String details = "VERSION.RELEASE : "+Build.VERSION.RELEASE
+"\nVERSION.INCREMENTAL : "+Build.VERSION.INCREMENTAL
+"\nVERSION.SDK.NUMBER : "+Build.VERSION.SDK_INT
+"\nBOARD : "+Build.BOARD
+"\nBOOTLOADER : "+Build.BOOTLOADER
+"\nBRAND : "+Build.BRAND
+"\nCPU_ABI : "+Build.CPU_ABI
+"\nCPU_ABI2 : "+Build.CPU_ABI2
+"\nDISPLAY : "+Build.DISPLAY
+"\nFINGERPRINT : "+Build.FINGERPRINT
@ingenieursaurav
ingenieursaurav / Device Details
Created May 13, 2020 07:20 — forked from VenomVendor/Device Details
Get Device Details in Android Programmatically.
String details = "VERSION.RELEASE : "+Build.VERSION.RELEASE
+"\nVERSION.INCREMENTAL : "+Build.VERSION.INCREMENTAL
+"\nVERSION.SDK.NUMBER : "+Build.VERSION.SDK_INT
+"\nBOARD : "+Build.BOARD
+"\nBOOTLOADER : "+Build.BOOTLOADER
+"\nBRAND : "+Build.BRAND
+"\nCPU_ABI : "+Build.CPU_ABI
+"\nCPU_ABI2 : "+Build.CPU_ABI2
+"\nDISPLAY : "+Build.DISPLAY
+"\nFINGERPRINT : "+Build.FINGERPRINT
@ingenieursaurav
ingenieursaurav / Make Android SDK
Last active April 30, 2020 11:11
Compile Android SDK
A : Make Android SDK
STEP1: Example for extract the part1 and part2 rar files
root# unrar x -e HiSTBAndroidV800R001C00SPC020.tar.part1.rar
resutls -> HiSTBAndroidV800R001C00SPC020.tar.gz
STEP2: Download the Android SDK through
root# sudo apt -y install git
root# repo init -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r4
root# git config --global user.email "[email protected]"