mobile application development

So You Want To Build An Android App?

If you’re reading this, you likely have an iPhone/iPad (iOS) application and are interested in expanding to the Android platform. You’ve probably already asked the hard questions to define what you want, why you want it, and how it fits into your roadmap. This article will help your business understand the impact of the Android … Read More

Android Unit Testing With Robolectric

Are you interested in adding Robolectric to your development process? Here’s a quick introduction to the most common types of test cases and some best practices to consider when deciding your testing strategy. I’ve created two example apps for your reference. The first is a glorified Hello World and the other is a simple animation … Read More

Integrating Robolectric with IntelliJ

Unit testing is a best practice, but has been particularly difficult in Android. One library that makes this process much simpler is Robolectric. Integration into your project can be tricky and most methods start with maven and create an Android project from scratch. I’m a huge fan of living in IDE-land as much as possible, … Read More

Using Cocoapods to Manage Private Libraries

Introduction Cocoapods (http://cocoapods.org/) is a dependency management framework for XCode. It allows you to declaratively define project dependencies and have them included in the build of your project. It’s like Apache Maven or Ruby Gems for XCode. There are many tutorials on getting started with Cocoapods, so in this blog post I will present a … Read More

ETE 2012 – Doug Bellenger – Case Study: Creating a Cross Platform Experience

PlayPlay

From the abstract: During this talk, Doug will walk through Movitas’ successes and failures in creating a cross platform application that integrates destination information, communication functionality (messaging and calling), and social interaction for hotel and destination travelers. He’ll walk through the some of the development they’ve done to serve content to mobile web, hybrid applications, … Read More

ETE 2012 – Chiu-Ki Chan – Caching Strategies for Mobile Apps

From the abstract: Unlimited bandwidth? Always connected? Yeah right! Truth is, wireless coverage is spotty, and sometimes the internet is simply not available. In this talk, I am going to discuss a few design patterns that make your app snappy when connected, fully-functional when not. Caching strategies: persistent vs temporary Progressive loading: use placeholders while … Read More

Read and Write NFC Tags with PhoneGap

The phonegap-nfc plugin allows you to read and write NFC tags from a PhoneGap application using JavaScript. The plugin originally supported Android. The latest release adds support for Blackberry 7.0. After installing the plugin into your PhoneGap app (See README) it is easy to start scanning tags. Create a function that will handle the NFC … Read More

Camera Access from Android Browser

The browser in Android 4 is able to take pictures from a web page and display them without any plugins or server interaction. This demo uses the Device API and File API to take and display a picture on a phone using the browser. Try it on your Android phone http://don.github.com/html-cam/. I wrote this demo … Read More

Securing Data in iOS

There are numerous ways to secure data that you are storing on an iOS device. The Simple/Built-in Way The simplest way is to take advantage of the iOS Data Protection (iOS 4+). This can be accomplished by setting an attribute on a file like this: [[NSFileManager defaultManager] createFileAtPath:[self filePath] contents:[@”super secret file contents” dataUsingEncoding:NSUTF8StringEncoding] attributes:[NSDictionary … Read More