Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Sunday, October 11, 2015

Avoiding AppCompat Proguard Crashes on Samsung Devices

appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2

Original Issue:

Google already provides Proguard rules for some of their libraries through AARs. One major issue that affects Samsung Jellybean devices(Android 4.2), is App Compat's Toolbar.

For those that have devices from Samsung running the same Android OS version or are tracking crash reports, you will most likely see the following error:


Here is the Proguard rules to resolve this issue for (AppCompat-v7, v21,22,23.0.1):

Apply it to your own build.gradle:
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), rootProject.file('')

Tuesday, May 26, 2015

My Repo is Trending on Github!

Trending Repository on Github
I recently made this template on Github for people starting software development with Android who want to use Intellij or Android Studio who are planning on using different testing libraries with test coverage. I plan on adding more examples for Mockito and Espresso testing libraries. Here is the

Github link:

Here is an image of my repository on the Java page! (wont always be trending)

Sunday, May 17, 2015

How to test Android with Gradle(Robolectric + EasyMock/PowerMock + JaCoCo + TravisCI)

How to test Android with Gradle + Android Studio + Robolectric + Mockito + EasyMock/PowerMock + JaCoCo + TravisCI

Here is my Github example:

AndroidGradleTemplate Status Coverage Status

Gradle + Android Studio + Robolectric + Mockito + EasyMock/PowerMock + JaCoCo

Technologies used:

Works with the following Configurations:
  • Multiple Modules
  • Multiple Flavors
  • Android Libraries

Getting Started:

Android Studio or Intellij Support(Simple):

  1. Import/Open this project with Android Studio/Intellij(click on build.gradle)
  2. Change the Build Variant Test Artifact to Unit Tests instead of Instrumentation Tests

Comand Line(Advanced):

Clone with Git:
  • git clone
  • cd AndroidGradleTemplate
Installing/Running with Gradle:
  • Install the debug flavor on your Android Device:
    • gradlew installDebug
  • Install and Run the debug flavor on your Android Device:
    • gradlew runDebug
Testing with Gradle:
  • Run all tests in all flavors:
    • gradlew test
  • Run single test in all flavors:
    • gradlew test --tests="*MainActivityTest*"
  • Run all the debug flavor tests:
    • gradlew testDebug
  • Run single test in the debug flavor:
    • gradlew testDebug --tests="*MainActivityTest*"
  • Run single test in the debug flavor with Jacoco test reports:
    • gradlew testDebug --tests="*MainActivityTest*" jacocoTestReport


Copyright (C) 2015 AndroidGradleTemplate by Jared Burrows

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Thursday, March 5, 2015

Featured on

Recently I was featured in an article on

Read the article here:

Monday, November 17, 2014

Gradle iOS Plugin

Gradle iOS Plugin

This plugin is in Beta and Open Source:

There is an example repository here:

There is an Android Plugin for Gradle, why isn't there one for iOS?

Example "build.gradle":

buildscript {
    repositories {

    dependencies {
        classpath 'burrows.apps.ios:gradle:0.0.1'

apply plugin: 'com.ios.application'

ios {
    compileSdkVersion '8.1'     //  iOS SDK version
    buildToolsVersion '6.1'     //  XCode version

    defaultConfig {
        minSdkVersion 8         // Minimum iOS SDK version
        targetSdkVersion 19     // Target iOS SDK version
        versionCode 1           // *optional*
        versionName '1.0'       // *optional*

    // Cocoa Pods
    pods {
        pod 'Google-Mobile-Ads-SDK'
        pod 'GoogleAnalytics-iOS-SDK'

dependencies {

Monday, March 10, 2014

What Android Apps(Bloatware) are Safe to Remove?

Android Apps(Bloatware) that is Safe to Remove
A list of Android applications that are safe remove. Comment to add more!

Update 6/21/2015

I have now added my script to Github for versioning:

Package Name - name of the installed package on your Android Device
Description - explanation of app

Package NameDescription
com.andrew.apolloMusic Player Google settings Browser Calendar Camera Broadcasts App Email Wallpaper Workplace Messaging Equalizer Wallpapers Wallpaper for Keyboard Box connectivity Recroder Studio Search System Wallpaper Picker Cropper Equalizer
com.cyanogenmod.accountAccount Manager
com.cyanogenmod.CMWallpapersCyanogen Wallpapers
com.cyanogenmod.filemanagerFile Manager
com.cyanogenmod.lockclockLock Screen Widget
com.facebook.katanaFacebook Print Keyboard Wallet Email Box Keyboard Keyboard Games View Movies & TV
com.svox.picoText to Speech
com.tmobile.themechooserTheme Chooser
com.tmobile.thememanagerTheme Manager
jackpal.androidtermTerminal Emulator
net.cactii.flash2Flash Light
org.cyanogenmod.audiofxAudio Equalizer
org.cyanogenmod.theme.chooserTheme Chooser
org.cyanogenmod.themes.providerThemes Provider
org.cyanogenmod.voiceplusSMS through Google Voice
org.cyanogenmod.wallpapers.photophaseLive Wallpaper
org.whispersystems.whisperpushSecure SMS integration

Tuesday, November 26, 2013

How to take Screenshots with Google Glass?

How to take Screenshots with Google Glass?

In order to take screenshots with Google Glass as of now is to simply do it via the command line with ADB!

Check out these two commands that can easily take care of this for you:

adb shell /system/bin/screencap -p /sdcard/FILE.png
adb pull /sdcard/FILE.png FILE.png

How to view your Google Glass or Android Device on your Computer?

How can you view your Google Glass or other Android Device on your own Computer?

You can view your Google Glass screen or Android device using the Android Screen Monitor!

Download the ".jar" file here:

Here is how to run the ".jar" file from Terminal:

java -jar asm.jar

Here is how it looks!

Sunday, July 28, 2013

Math App - Easy to use Android Application for everyday High school and College students!

Finally! Math App is out of Beta and ready for use!
- New Action Bar Icons and Colors!
- New Icon for the App itself!
- Tons of common equations for everyday High school and College students(Chemistry, Physics, etc..)!

Please check it out and give feedback!

Welcome to Math App Beta by Andre Compagno and Jared Burrows
Send all suggestions to
Special thanks to Andre Compagno
This application makes it easier than ever to solve and search for equations. All the math is done for you, all you have to do is select the equation and input the values! Constants are built in for all equations!
Math App features:
How to use Math App:
1. Click on the equations
2. Fill in the values you are given
3. Click the caclulate icon
Naviation Bar:
✔ Search Equations
✔ Log in through Facebook - Share with your Friends - Coming soon!
✔ Send Feedback to the Developers!
✔ Share
✔ Help - Click to view the tutorial
✔ About
Features and Solvers:
✔ List of Common Equations
✔ Vector Dot Product
✔ Vector Cross Product
✔ Angle Between 2 Vectors
✔ Magnitude of a Vector
✔ Matrix Multiplication
✔ Matrix Determinant
✔ System of Equations
✔ Teaches you how to properly use the app!
Equation Descriptions:
✔ Coming Soon!
✔ Add equations to your favorites list in order to easily access them
Permissions requested:
✔ Internet
TAGS: formulas, pro, formula, collection, formulas, mathematics, physics, chemistry, education, training, formula collection, science, high school, math, math games, math game, math workout, maths help, , maths workout, Maths brain, maths kids, math tricks, math tutor, math teacher, math test, maths for kids, math drills, math flash cards, math formulas, math facts, math homework, math magic, math maniac, math reference, math ref, math tricks, math skill, math wizard, brain teaser, math problem solving, math logic, math genius

Sunday, December 16, 2012

Cell Phones - Service Menus and Special Numbers

How to get to your phone's service menu

Everyone knows about the 'secret' menus in your phone and I just wanted to make my own list.

Dial and call these numbers to access the hidden menus and if any menu asks for a password, its usually very simple:
  • SPC password - 000000
  • IMEI number - *#06#
  • Programming menu - ##7764726
  • Phone information - *#*#4636#*#*

  • Phone activcation - *228
  • Update coverage area - *22899

Saturday, December 15, 2012

How to port Nmap to your Android Phone

Porting Nmap to Android

I was trying to port Nmap to Android and I was running into plenty of compiling and linking errors until I realized, thanks to Vlatko Kosturjak, this has already been done.

First, download the package:

Open it:
tar -xvjf nmap-5.50-android-bin.tar.bz2

Go into the directory and push to your phone:
cd nmap-5.50/bin
adb push . /data/local/tmp

Obviously, if you have root, you can push these binaries anywhere you would like.

Thursday, July 19, 2012

How to take screenshots on your Android Phone

How to take screenshots with Android 4.0(Ice Cream Sandwich)

Simply hit these buttons at the same time:

Power Button + Volume Down