Skip to content

Instantly share code, notes, and snippets.

@drjunior
drjunior / statusbar_screenshot.sh
Created July 6, 2016 13:58
Android Screenshots StatusBar Setup
#!/bin/sh
# Based on http://bit.ly/295BHLx
# Demo Mode for the Android System UI
# Demo mode for the status bar allows you to force the status bar into a fixed state, useful for taking screenshots with a consistent status bar state, or testing different status icon permutations. Demo mode is available in recent versions of Android.
# ----------------------------------------------------------------------------
# Prepare statusbar to take screenshots with full wifi, battery and mobile signal at 12:30.
adb shell settings put global sysui_demo_allowed 1
@drjunior
drjunior / screenrecord.sh
Created July 29, 2016 14:12 — forked from PaulKinlan/getdeviceart.sh
Screen Record for Android
if [ -z "$1" ]; then
shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4
else
shot_path="$*"
fi
ffmpeg="ffmpeg"
n6_frame="n6-background.png"
trap ctrl_c INT
@drjunior
drjunior / Android Privacy Policy Template
Last active February 14, 2017 13:16 — forked from alphamu/Android Privacy Policy Template
A template for creating your own privacy policy for Android apps. Look for "[" and "<!--" to see where you need to edit this app in order to create your own privacy olicy.
<html>
<body>
<h2>Privacy Policy</h2>
<p>CheckBalance built the CheckBalance app as a ad-supported app. This SERVICE is provided by CheckBalance at no cost and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding our policies with the collection, use, and
disclosure of Personal Information if anyone decided to use our Service.</p>
<p>If you choose to use our Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that we collect are used for providing and
improving the Service. We will not use or share your information with anyone except as described