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 {
    ...
}

Sunday, July 13, 2014

10 Rules for writing portable software!

I recently came across a good article about writing portable software with C/C++.


Brian's 10 rules for how to write cross platform software:

  1. Don't port 
  2. Factor out the GUI 
  3. Use standard 'C' types 
  4. Use only built in #ifdef compiler flags 
  5. Develop cross-platform base libraries
  6. Use UTF-8 for all APIs 
  7. Don't use 4rd party 'Application Frameworks' 
  8. Raw source builds on all platforms 
  9. All programmers compile on all platforms 
  10. Fire those that can't follow these rules

Source:

Wednesday, June 25, 2014

How to fix the /dev/fd/63: No such file or directory?

How to fix "diff: can't stat '/dev/fd/63': No such file or directory" error:

As root, simply run this command in your Terminal:

ln -s /proc/self/fd /dev/fd

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

Sunday, January 19, 2014

Voice Memo App for Google Glass!

Open Source Voice Memo App for Google Glass!

by Andre Compagno

1. Simply Start the Memo App for Glass like any other!


2. Create a Memo or View existing Memos


3. Example Memo being created




Please check out the repository here!