Archived Blog

All the old blog posts, written from 2008 to 2017
Filtering posts by author: Simon MacDonald

PhoneGap Push Plugin 1.9.0

We haven’t done a post regarding phonegap-plugin-push for awhile, but we have just released version 1.9.0! Along with bug fixes and general improvements there are three main things you should know about: Default SENDER_ID CocoaPod Support Force Start for Android Default SENDER_ID In order to add the push plugin to...

PhoneGap CLI 6.2.0

Last week, we quietly released the PhoneGap CLI 6.2.0! Install or Update You can install the latest version by running: $ npm install -g phonegap Please checkout the PhoneGap Docs for detailed OS X and Windows installation guides. Push Notifications The main highlight of PhoneGap 6.2.0 is push notification support...

PhoneGap Push Plugin 1.6.0

It’s been a couple of months but we’ve just released version 1.6.0 of phonegap-plugin-push. The big changes this time around have to do with Action Button support. Numerous issues and improvements were made to the Action Buttons. For instance, specifying an icon on Android is now optional. Clicking on an...

PhoneGap-Plugin-Push Version 1.2.0 Released!

The latest release of the PushPlugin is now available on npm. This release focuses on bringing a number of enhancements to Android notifications.Fear not fans of other platforms as subsequent releases will have more features for your OS of choice. In fact release 1.3.0 will center around iOS9 support.Picture NotificationsEmbed a large...

PhoneGap Day US 2013 Recap

Why, weren't you there? Seriously, what's stopped you? This conference is so great and so cheap that if you are anywhere near Portland, Oregon you need to go. Even if you aren't near Portland you need to convince your boss to send you to the conference.What's the number one reason...

My PhoneGap Presentation to Ottawa JS

So on Wednesday night I did my Introduction to PhoneGap/Apache Cordova (GitHub repo) presentation for Ottawa JS at the beautiful Shopify lounge. I've given this presentation a ton of times so I decided to give it a twist this time around.The first thing I did was convert my old slide deck into...

The Ottawa City Councillor PhoneGap app

So a couple of friends of mine wanted to learn more about programming mobile applications so we decided to get together and create an application for the Apps4Ottawa competition.We settled on creating an application that would enable folks from Ottawa to learn more about and connect with their city councillors. Sadly,...

PhoneGap AdobeMax Sessions

Were you at AdobeMax this week? No, neither was I. Disappointed? Yeah, me too. Luckily Adobe is posting their talks on line for everyone to be able to watch. Not everything is up yet so I will update this  post as they become available. Right now I recommend checking out:Top...

PhoneGap Bluetooth Plugin Updated

So the Bluetooth plugin was horribly out of date so I took some time to update it to work with PhoneGap 2.2.0 and higher. As well as the usual updates to the JS and Java code I fixed an instance in the "listDevices" call which would block code execution for 10 seconds...

What's New in PhoneGap Android 2.5.0

Well PhoneGap Android 2.5.0 is out! There isn't much to get excited about on Android in this release as it is mostly bug fixes. Check out the full list of commits in the CHANGELOG. Fixes include:Fixing a null pointer exception when the user clicks the back button while the app is...

PhoneGap Android XhrFileReader

The FileReader API works great as long as the file you want to read is on the device's file system. However if you want to read a file you've packed in the Android assets folder you would need to use XHR to read the file. I'm providing an interface that...

What's New in PhoneGap Android 2.4.0

Well PhoneGap 2.4.0 has been released. So here are couple of the new things you can look forward to: 1. Support Reading Slices of Text Files.The File object now has a slice method. Suppose the file we're reading contains the text:"All that is gold does not glitter, not all those...

GalleryPlugin

I've updated the GalleryPlugin to the Cordova 2.2.0 API but I've realized that I've never really talked about it. The GalleryPlugin is used when you need to add or remove a file from the Gallery or Music apps. Typical use cases include downloading an image from the internet and wanting it...

PhoneGap Plugin Updates to BarcodeScanner and AppPreferences

I've updated the BarcodeScanner and AppPreferences to use the Apache Cordova 2.2.0 API's. That means no more deprecation notices in the Java code and the JavaScript code uses the cordova.require method. However, I'm still slapping the objects into window.plugins so you shouldn't need to change any of your JavaScript code after upgrading.The BarcodeScanner...

PhoneGap Plugin Updates

In the past few days I've spent some time upgrading my plugins so they work in PhoneGap/Cordova 2.2.0 or greater without requiring the users to make any changes. I've done the FtpClient and VideoPlayer. Basically I'm removing any deprecation warnings by moving from the org.apache.cordova.api.Plugin class to the org.apache.cordova.api.CordovaPlugin class....

My PhoneGap Plugins Have Moved

If you are looking for any of the plugins that I have contributed to the PhoneGap Plugins repo they have moved into my own repo. Why do you ask? Well you should go read Shaz's blog post as to the why's and wherefore's.So you can now find my plugins at:AppPreferencesBarcodeScannerChildBrowserFtpClientIMEITTSVideoPlayer 

Barcode Scanner Example Projects

For some reason a lot of folks have trouble setting up the BarcodeScanner Plugin. I've just posted two zip files to my Dropbox account. 1) Barcode scanner library project2) Barcode scanner example projectImport both of these projects into Eclipse and you should be all set to go. Hopefully seeing the full projects...

Introducing Anna!

So over the summer I was making the rounds doing a presentation on how to bring Speech Recognition to Android. As part of this work I put together a sample application that uses PhoneGap for the user interface and makes calls to plugins for speech recognition and text to speech...

How to Ask Me a Question

Hey all,I love helping people out with their PhoneGap/Cordova issues but I do have a day job and sometimes even a home life. It would really help me out if you would provide me with enough information in order to answer your question. In fact I hate to be an...