a mock for IndexedDB

https://github.com/szimmers/mock-indexeddb I recently wrote an AngularJS service that wraps IndexedDB and needed to mock it when writing the unit tests. We had the basics for such a mock in-house and I extended it for more in-depth testing. See the github page for the mock. The README contains examples of writing Continue Reading

case study: taking a webapp offline

Overview I recently created an AngularJS-based framework and webapp for a client. The main requirement for this app was that the user be able to have a workflow like this: while at work, log in against a server download documents to fill out quit the browser relaunch the browser in Continue Reading

Checking your IPA that won’t publish to the App Store

When publishing your app to the app store the process of debugging issues can be a little painful. The particular issue I was dealing with was the dreaded (and super vague) “Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Continue Reading

Keyboard closing automatically in Android PhoneGap app

While building a phonegap app I encountered an issue with my Android build.  When I would select a text input and trigger the opening of the keyboard it would quickly close before I was able to type.  This issue appeared following my addition of an AdMob Plugin so I assumed Continue Reading

Streaming Content to Google Chromecast with MPEG-DASH

A few weeks ago Google released Chromecast, a device which plugs into the HDMI port of a TV, and can stream content directly to the TV, with controls from either a mobile device or a computer. The Chromecast device is a powerful tool that utilizes the latest features HTML5 to Continue Reading

Streaming Video to HTML

I had the opportunity to present about HTML Streaming solutions to the cf.objective conference today.  I was thrilled to have a very engaged audience, who asked lots of intelligent, thought provoking questions.  As promised, the slides are available here.   Streaming video to html from jeff tapper

SharpKit Part 1: Building a SharpKit Plugin

It’s been quite a while since I’ve posted something so I thought I would take some time to do a series on working with SharpKit and developing a plug-in. I’ve been working with SharpKit while developing a plug-in for the Randori Framework and RandoriGuiceJs project the last few weeks here at Digital Continue Reading

Building a Native Extension | Part 4 – The Android Code

Building the Android library was very interesting.  It was easier for me to write Java as it was more similar to ActionScript.  Some amount of debugging (log statements) is actually possible with zero work on the developer’s part which is a great addition (more on that later).  Also, using the Continue Reading

Building a Native Extension | Part 2 – The ActionScript Code

In this post we’ll discuss the parts of the native extension that are written in ActionScript.  This includes in the main library and the default implementation. The ActionScript Library The main library is an ActionScript library which serves as an interface to the AIR application.  This library is also responsible Continue Reading

Building a Native Extension | Part 1 – The Problem and the Plan

I’ve been writing a lot of native extensions lately.  The project I’m working on now requires all kinds of custom behavior.  It’s been an interesting ride.  I’ve learned a lot, for sure, particularly since I haven’t coded extensively with iOS or Android.  I’ve learned some things and I’d like to Continue Reading

Talking Trash – An overview of Player GC

Okay, so, I have been a little behind schedule actually posting content. Here is my first attempt at reconcilliation. These are the slides from my garbage collection talk at flash and the city this year. They go into moderate depth about the internals of garbage collection on the Flash Player Continue Reading