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: https://code.google.com/p/android/issues/detail?id=78377

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:

java.lang.NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder

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('proguard-rules.pro')

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: https://github.com/jaredsburrows/AndroidGradleTemplate

Here is an image of my repository on the Java page!

https://github.com/trending?l=java (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:
https://github.com/jaredsburrows/AndroidGradleTemplate

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 https://github.com/jaredsburrows/AndroidGradleTemplate.git
  • 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

License

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

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Thursday, March 5, 2015

Featured on Wired.com

Recently I was featured in an article on Wired.com


Read the article here:

http://www.wired.com/2015/03/forget-pc-real-crapware-problem-android/

Monday, November 17, 2014

Gradle iOS Plugin

Gradle iOS Plugin

This plugin is in Beta and Open Source:

https://github.com/jaredsburrows/gradle-ios-plugin

There is an example repository here:

https://github.com/jaredsburrows/gradle-ios-plugin-example


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

Example "build.gradle":

buildscript {
    repositories {
        jcenter()
    }

    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: https://github.com/jaredsburrows/Android-Bloatware

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

Package NameDescription
com.andrew.apolloMusic Player
com.android.apps.tag
com.android.backupconfirmRestores Google settings
com.android.browserStock Browser
com.android.calendarStock Calendar
com.android.camera2Stock Camera
com.android.captiveportallogin
com.android.cellbroadcastreceiverAlert Broadcasts
com.android.developmentDevelopment App
com.android.dreams.basicScreensaver
com.android.dreams.phototable
com.android.emailStock Email
com.android.exchange
com.android.facelock
com.android.galaxy4
com.android.gallery3d
com.android.htmlviewer
com.android.inputdevices
com.android.inputmethod.latin
com.android.magicsmokeLive Wallpaper
com.android.managedprovisioningGoogle Workplace
com.android.mmsStock Messaging
com.android.moto.appdirectedsms
com.android.musicfxAudio Equalizer
com.android.musicvisLive Wallpapers
com.android.noisefieldLive Wallpaper
com.android.pacprocessor
com.android.phasebeamWallpaper
com.android.printspooler
com.android.providers.downloads.uiDownloads
com.android.providers.partnerbookmarks
com.android.providers.userdictionaryDictionary for Keyboard
com.android.proxyhandler
com.android.quicksearchboxSearch Box
com.android.sdm.plugins.connmo
com.android.sdm.plugins.dcmo
com.android.sdm.plugins.diagmon
com.android.sdm.plugins.sprintdm
com.android.smspushTethering connectivity
com.android.soundrecorderSound Recroder
com.android.sprint.hiddenmenuapp
com.android.sprint.lifetimedata
com.android.videoeditorMovie Studio
com.android.voicedialerVoice Search
com.android.vpndialogsVPN System
com.android.wallpaper.holospiralLive Wallpaper
com.android.wallpaper.livepickerWallpaper Picker
com.android.wallpapercropperWallpaper Cropper
com.bel.android.dspmanagerAudio Equalizer
com.cyanogenmod.accountAccount Manager
com.cyanogenmod.CMWallpapersCyanogen Wallpapers
com.cyanogenmod.eleven
com.cyanogenmod.filemanagerFile Manager
com.cyanogenmod.lockclockLock Screen Widget
com.cyanogenmod.trebuchetLauncher
com.cyanogenmod.wallpapersWallpapers
com.facebook.katanaFacebook
com.google.android.androidforwork
com.google.android.apps.booksBooks
com.google.android.apps.cloudprintCloud Print
com.google.android.apps.currentsCurrents
com.google.android.apps.docsDrive
com.google.android.apps.docs.editors.docsDocs
com.google.android.apps.docs.editors.sheetsSheets
com.google.android.apps.docs.editors.slidesSlides
com.google.android.apps.enterprise.dmagent
com.google.android.apps.fitnessFit
com.google.android.apps.gcs
com.google.android.apps.inputmethod.hindiHindi Keyboard
com.google.android.apps.photos
com.google.android.apps.plusGoogle+
com.google.android.apps.walletnfcrelGoogle Wallet
com.google.android.emailStock Email
com.google.android.gm.exchange
com.google.android.googlequicksearchboxSearch Box
com.google.android.inputmethod.japaneseJapanese Keyboard
com.google.android.inputmethod.koreanKorean Keyboard
com.google.android.inputmethod.pinyin
com.google.android.inputmethod.piyin
com.google.android.marvin.talkbackAccessibility
com.google.android.play.gamesPlay Games
com.google.android.streetStreet View
com.google.android.tag
com.google.android.talkHangouts
com.google.android.videosPlay Movies & TV
com.google.android.webviewWebview
com.google.android.youtubeYoutube
com.google.earthEarth
com.motorola.android.buacontactadapter
com.motorola.entitlement
com.motorola.motocit
com.motorola.motosignature.app
com.motorola.service.ims
com.motorola.triggerenroll
com.motorola.triggertrainingservice
com.qualcomm.atfwd
com.qualcomm.qti.rcsbootstraputil
com.qualcomm.qti.rcsimsbootstraputil
com.qualcomm.timeservice
com.svox.picoText to Speech
com.tmobile.themechooserTheme Chooser
com.tmobile.thememanagerTheme Manager
com.verizo.permissions.appdirectedsms
com.verizon.omadm
com.verizon.permissions.appdirectedsms
com.vzw.apnservice
jackpal.androidtermTerminal Emulator
net.cactii.flash2Flash Light
org.codeaurora.ims
org.cyanogenmod.audiofxAudio Equalizer
org.cyanogenmod.launcher.homeLauncher
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:

https://code.google.com/p/android-screen-monitor/

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!
https://play.google.com/store/apps/details?id=burrows.apps.math







Welcome to Math App Beta by Andre Compagno and Jared Burrows
Send all suggestions to burrowsapps@gmail.com
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
Tutorial:
✔ Teaches you how to properly use the app!
Equation Descriptions:
✔ Coming Soon!
Favorites:
✔ 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:
wget http://ftp.linux.hr/android/nmap/nmap-5.50-android-bin.tar.bz2

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.
http://seclists.org/nmap-dev/2011/q1/440

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