Archived Blog

All the old blog posts, written from 2008 to 2017
Filtering posts by tag: PhoneGap Network

PhoneGap Day US 2016 Resources

Adobe – Lehi, Utah This year's PhoneGap Day US event was held at the Adobe office in Lehi, Utah (just outside Salt Lake City) for the first time ever. The location offered beautiful scenery and provided attendees with a chance to ski or take in a film at the Sundance...

A Faster Hybrid App for the New Year

Background In case you missed it, the official release of Cordova iOS 4.0.0 was announced in December (and subsequently 4.0.1). It’s important to emphasize it not only due to it being a major version change but due to the significant app performance benefits it enables. By updating your iOS apps...

Sample PhoneGap App with ReactJS

ReactJS has been getting a lot of attention and recently I decided to dig in myself to see what all the hype is about. ReactJS comes from the developers at Facebook, which may contribute to the popularity of it due to being backed by a big company (think AngularJS and...

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

New Demo Project: SauceDB

Today I'm kicking off a new project for the purposes of demonstrating Ionic and IBM Bluemix. While I'm not sure I'll actually release this application (I'm building something I actually want, so I kinda want to), my intent here is to build a full application demonstrating multiple facets of Ionic...

Working with Ionic, Box, and IBM MobileFirst

Earlier today IBM announced a new partnership with Box. Box is a cloud storage provider much like Dropbox, OneDrive, and other services, but also provides some pretty cool workflow features as well. While it is still early, you'll soon see some interesting collaborations between IBM and Box. I decided to...

Important information about Cordova 5

In the most recent update to Apache Cordova, there was a rather important change that could really confuse you if you aren't paying attention. This is exactly the type of thing that I would have warned my readers about, but I mistakenly thought it would not impact most users. I'll...

ios-deploy and ios-sim roadmaps

ios-sim and ios-deploy are two tools that are used by Apache Cordova and a lot of other projects. ios-sim is used to control the iOS Simulator (and other functions) and ios-deploy is used to deploy signed apps (and other functions) to your connected iOS device. The next major version of...

PhoneGap CLI and Templates

A few days ago the PhoneGap team announced an update to the CLI: PhoneGap CLI 5.0.0 Released!. To be honest, I don't typically make use of the PhoneGap CLI as I mostly use either Cordova or Ionic. However, I missed an earlier update that I think is pretty cool (and...

My Cordova book is on sale again

So a few weeks ago, my publisher ran an awesome deal for my Cordova book and their upcoming Ionic book. Today they are running the same deal. You can pick up “Apache Cordova in Action” and “Ionic in Action” both for half off. These are both MEAP versions, which basically...

Can’t find Cordova plugin docs?

With the last big release of Apache Cordova, plugins have now moved to npm. (Details may be found here: Plugins Release and Moving plugins to npm: April 21, 2015. One temporary side effect of this move is that the documentation is no longer working. So for example, when you go...

Apache Cordova Newsflash!

Recently there have been some significant updates in Cordova to be aware of if you haven't seen them already. These are included in the latest Cordova Android, Cordova Tools and Cordova Plugins releases this past week. Below is a summary of the highlights in case you missed them. Android 4.0.0...

Big updates to Apache Cordova

Over the past few days, there have been some pretty big updates to Apache Cordova. If you haven't been following their blog (they don't have a “subscribe” feature so I use a IFTTT email rule), then you may have missed out on the announcements. Here is a quick review of...

IBM MobileFirst Platform Foundation v7.0 Now Available!

It's here!  IBM MobileFirst Platform Foundation v7.0 is now available.  Get the FREE developer edition here, and the v7.0 docs here. This release features: Integrated single-node Cloudant (NoSQL) DB. Detection for tampered/hacked apps Code obfuscation in hybrid apps Enhanced data adapter services REST services with analytics for all data adapter...

JavaScript : relaxing equality

Recently I received a pull request for an issue in cordova.exec on the Windows platform. It seems that a plugin result of type NO_RESULT would not be handled correctly, because NO_RESULT was actually defined as 0, and we were loosely checking along the lines of if(pluginResult.status){...} The pull request added...

Cordova CLI Updated

Earlier this morning the Apache Cordova team released a cool update to the CLI (Tools Release: March 02, 2015). One of the most interesting aspects of this update is a new feature – the ability to save (and naturally restore) platforms and plugins. To use this new feature, you simply...

WKWebView and Apache Cordova

The Good WKWebView support will be coming in cordova-ios 4.0.0, tentatively scheduled for April 2015. You can however, alpha test the support by following this README. Pluggable webviews are coming in cordova-ios 4.0.0, which in addition to the default UIWebView, you can include the wkwebview-engine plugin for WKWebView support (it will not be...

cordova-ios 3.8.0 release highlights

The full release notes are available. Take note of the caveat that the current cordova-cli does not include this version by default until version 4.3.0 (pending Apache voting and release) so you will have to add the platform explicitly. node.js is required Formerly if you did not use the cordova-cli and...

Apache Cordova in Action MEAP Updated

A few months ago I announced early access to my Apache Cordova book, “Apache Cordova in Action.” Today the MEAP (Manning Early Access Program) edition of the book was updated to included chapter 6. If you haven't yet checked it out, and don't mind getting in early (I won't call...

Possible Cordova FileSystem Resource

I say “possible” because I haven't read it myself, but a reader pointed me to this book by Eric Bidelman, “Using the HTML5 Filesystem API”. It is nearly four years old, but the reader said it helped him, and I know folks are desperate for more help with the FileSystem...

Interactive Config Guide for PhoneGap/Cordova

One of the challenges we face as hybrid app developers is determining which configuration settings to use for any given app due to variances in operating systems and browser rendering engines across platforms. The config.xml file located in the root of your PhoneGap/Cordova apps when you create an app can...

PhoneGap Online/Offline Tip (2)

A while ago I posted an article discussing how to handle offline and online events in Cordova/PhoneGap (PhoneGap Offline/Online Tip). While working on my book I came across some differences to this behavior that I wanted to document. As a reminder, the idea is simple. Your PhoneGap/Cordova app should be...

Viewport and Cordova Tip

Yesterday I ran into an interesting thing with Cordova and I thought I'd share. I assume most folks are aware of the benefits of adding a meta tag specifying viewport when building mobile-friendly websites. If you aren't, here are a few examples demonstrating the idea. I created a quick Cordova...

Animated Page Transitions with React.js

After exploring React in my previous post, I started experimenting with ways to implement animated page transitions in mobile web and Cordova-based apps. ReactCSSTransitionGroup provides the basic infrastructure for CSS-based animations. But after a few promising experiments, I ran into this problem. I also wasn't sure this approach would give...

Strategies for Managing App Versions & Updates With IBM MobileFirst Foundation (aka Worklight)

IBM MobileFirst Foundation provides two mechanisms to manage app versions and updates.  Neither requiring you to write any additional code! The first is app versioning; MobileFirst Foundation tracks each version of an app that you deploy, and gives you the ability govern or restrict access to specific platforms and versions. App versioning applies to all...

Cordova's copy-from tip

Yesterday I was proof-reading a blog post about an update to the PhoneGap CLI (which you should read - PhoneGap CLI 3.6.3) and I discovered something interesting. For a while now the Cordova CLI has had the ability to create a new project based on another. This is great because...

Cordova and Asset Downloads

A few weeks ago (before I thought it would be a good idea to fly to China for a few weeks and dramatically increase the size of my family), I blogged about how a Cordova application could handle downloading binary assets after release. (You can find the discussion here: Cordova...

Cordova/PhoneGap Version Confusion

The different versions of all things Cordova and PhoneGap can be pretty confusing to keep track of at times. Everyone may not be aware that there have been some recent decisions and changes made to how things will be handled with the Cordova project going forward. In summary, the platform...

Cordova/PhoneGap Version Confusion!

The different versions of all things Cordova and PhoneGap can be pretty confusing to keep track of at times. Everyone may not be aware that there have been some recent decisions and changes made to how things will be handled with the Cordova project going forward. In summary, the platform...

Cordova Example: Writing to a file

As you know, lately I've been publishing simple Cordova examples that involve the file system. I'm working on a demo that involves background asset downloads (see the blog entry) but I thought I'd take a break from that and write up something super simple, but hopefully helpful, that demonstrates file...

Embarking Upon A New Adventure

I'm excited to finally announce that I have embarked upon a new adventure!  Today marks my first day as a MobileFirst Developer Advocate for IBM! So, what does that mean? It is very similar to what I was doing back at Adobe focusing on developers.  I'm excited to engage with...

Cordova iOS and iOS 8

iOS 8 was just released – and Cordova supports it fully, but it is still using the existing UIWebView iOS browser component (more on the new iOS 8 WKWebView later). The main issues were in the core plugins, which have been updated but the released versions in the Cordova Plugin...

PhoneGap Day US and EU Announced

For a few years now the PhoneGap team have been running a one day conference called PhoneGap Day. This is easily one of my favorite conferences. It has a very laid back vibe. The sessions are short and sweet (20 minutes or so a pop). The schwag is actually useful....

Cordova Sample: Reading a text file

A few weeks back I began a list of questions to help build a PhoneGap/Cordova File System FAQ. (More on that at the very end.) As I work through the questions I'm building little samples (like this one) to help demonstrate various FileSystem features. Today's is really simple, but as...

2 Quick Tips When Adding PhoneGap/Cordova Plugins

Here are a few quick tips when adding plugins in case you weren't aware of them previously: Useful command line shortcuts when adding a plugin: Add a specific version of a plugin using the @ syntax $ phonegap plugin add org.apache.cordova.camera@0.2.9 $ cordova plugin add org.apache.cordova.camera@0.2.9 Add multiple plugins batch...

Cordova Plugins update, and new Contacts demo

Yesterday the Cordova team released updated plugins. You can read the details here: Plugins Release: July 8, 2014. Of particular interest to me was the update to the Contacts plugin, specifically the addition of a new API, pickContact. Previously, you could search the device's contact database, but there was no...

Revamped Apache Cordova Tutorial

A few weeks ago, I delivered a Cordova/PhoneGap Workshop at jQuery UK in Oxford. Great conference in a great location! I took the opportunity to revamp the workshop I had been delivering at PhoneGap Day in Portland and Amsterdam, and at LXJS in Lisbon. I thought it could be useful...

PhoneGap/Cordova File System questions

A large majority of the questions I get about PhoneGap and Cordova revolve around the file system API. It has had some pretty significant updates recently but still remains one of the most difficult ones to use. I've been putting off really digging deep into those questions because many times...

Cordova Media API Example

A few months ago I launched a new GitHub repo (https://github.com/cfjedimaster/Cordova-Examples) as a way to try to collect my various Cordova examples together under one roof. I had planned to add to it regularly but - life - as you know - gets in the way. I've finally gotten around...

ngCordova Released

So I know (think?) there is a significant portion of my audience who do not use Twitter, and for those of you who have avoided that trap (don't let anyone fool you, it is a trap), you may have missed me recently raving about the Ionic Framework. Briefly, Ionic is...

Cordova 3.5 and the "What's Next" Guide

Over the holiday weekend Cordova 3.5.0 was released. You can read details about the update here: Apache Cordova 3.5.0. Another update was to the documentation, which now includes a What's Next guide that talks about what Cordova developers should learn, think about it, bookmark for future reference after they've learned...

Keeping up with Cordova and PhoneGap

How do developers keep up with the latest updates from the Apache Cordova and PhoneGap projects? The first resource I'd consider is the Cordova blog. Not technically a separate site from the main home page, the News link acts like a blog and is a handy way to get notified...

Logs from Open PhoneGap Session

Thank you to everyone (especially the PhoneGap team!) who showed up to the open session that Holly and I ran today. We had a great size crowd and a very interesting set of questions. Between Holly and I and other PhoneGap members we were able to cover nearly everything. The...

Introducing the PhoneGap Developer App

If you haven't heard yet, there's a new PhoneGap Developer App available for testing your PhoneGap apps quickly. Using this new app, you can quickly test and code changes to your app from your desktop/laptop and see those changes reflected on your device immediately without having to rebuild, reinstall or...

PhoneGap Developer App

At the end of last week a really interesting new PhoneGap tool was launched - the PhoneGap Developer App. The PG Developer App is a "shell" application that you can install on a real device (both Android and iOS with Windows Phone coming soon) and test with a local copy...

PhoneGap Q&A Connect Session

Ray Camden and I will be hosting a PhoneGap Q&A Open Connect session to help answer your PhoneGap/Cordova questions next Wednesday, April 23rd at 1pm EST/10am PST. We've done this in the past but it's been awhile, so we thought it would be a good time to host another. We...

Results of PhoneGap Survey

Thank you to everyone (all 229 of you) who responded to my PhoneGap/Cordova survey. The survey asked what version of PhoneGap or Cordova you used, how quickly you upgrade, and asked what problems you had (in general) with PhoneGap and Cordova. I've included an Excel sheet of all the results...

PhoneGap for the Enterprise

This is just a quick FYI type post, but today Adobe announced "PhoneGap for the Enterprise". You can read more about it at the PhoneGap Blog: Introducing PhoneGap for the Enterprise. From that blog, some of the details are: Better collaboration - With our new PhoneGap Enterprise app, developer team...

Third Party WebViews on Android

I've gone over the Android WebView numerous times throughout the years, complaining about performance, and about various browser bugs that never seem to be fixed. In addition, there have been numerous people implementing third party WebViews using bundled versions of … Continue reading →

Third Part WebViews on Android

I've gone over the Android WebView numerous times throughout the years, complaining about performance, and about various browser bugs that never seem to be fixed. In addition, there have been numerous people implementing third party WebViews using bundled versions of … Continue reading →

Xcode 5.1 and Cordova iOS

These issues have been fixed if you are running the latest dev code (slated for 3.5.0). There are 3 issues related to Cordova iOS 3.4.0 running with Xcode 5.1 (and its command-line tools): 1. CB-6150 – objc_msgSend causes EXC_BAD_ACCESS with plugins on arm64 2. CB-6223 – Build/linker errors 3. ios-sim...

DevNexus 2014 PhoneGap Presentations

I've just wrapped up my presentations for this year's DevNexus event in Atlanta – it has been a great event, filled with tons of information on web, mobile, and back-end development. I had 3 sessions on PhoneGap – One intro, one advanced, and one a mobile frameworks panel. Below are...

Cordova 3.4.0 Released

Yesterday was the official release of Cordova 3.4.0. You can read the blog post here but I thought I'd call out some interesting tidbits. This is the first release to include support for Firefox OS. You can now add it as a platform and start working on Firefox OS apps!...

3 Cordova CLI Changes You Should Know About

If you're using the Cordova CLI (command line interface) to create Cordova/PhoneGap projects, then you should be aware of some recent tool updates that help make things easier when you update to this latest version (Cordova CLI version 3.3.1-0.3.1). Here are some changes I specifically want to highlight: The config.xml...

Automating PhoneGap Builds

I've recently had several conversations with PhoneGap users around processes for automating the compilation of PhoneGap.  This could be either in automated tasks using Grunt, Ant, Maven, or any other task manager, or could be in continuous integration environments like Jenkins CI. If you're interested in this, here are a few options… First...

Generating a PDF Inside of a PhoneGap App

A while back, I was asked if it's possible to generate PDF documents inside of PhoneGap apps… The answer is definitely yes, and it's not that hard at all!  I used the JSPDF library, which has a comprehensive JavaScript API for generating PDF documents. Here's a quick and easy sample…...

New Cordova/PhoneGap 3.x Tutorial

Last November, I delivered a full day Cordova/PhoneGap workshop with Brian Leroux at the great Full Frontal JavaScript Conference in Brighton, UK. I put some new materials (specific to Cordova 3.x) together for the occasion, and I also updated some existing content. The workshop was well received, and I thought...

PhoneGap Presentations from HTML5DevConf

I was  searching the web earlier this week for an older presentation from a few months back, and just happened to stumble across my recent presentations from HTML5DevConf from this past October. Looks like the videos were posted in November, but I'm just seeing them now. I had two sessions: Designing and Architecting...

Sample Mobile Application with AngularJS

In recent months, I have been sharing different versions of the Employee Directory sample application built with different technology stacks, different frameworks, and different back-end (REST services) implementations. Recent versions include: Employee Directory with Backbone.js, RequireJS, and Twitter Bootstrap Employee Directory with Backbone.js, RequireJS, Topcoat and PhoneGap A number of...

Cordova iOS and iOS 7 Support

With the release of Cordova 3.1.0, we added preliminary iOS 7 support, particularly the support of four new UIWebView properties: GapBetweenPages, PageLength, PaginationBreakingMode, and PaginationMode. There is more iOS 7 support added today in the core plugins listed below. The config.xml parameters HideKeyboardFormAccessoryBar and KeyboardShrinksView also support the new iOS...

PhoneGap Build and PhoneGap 3.0

Today we officially launched PhoneGap 3.0 support for PhoneGap Build. You can read the blog post on it here: PhoneGap 3.0 Now Supported in PhoneGap Build Before you get started, there are a few things I want to call out. The first thing you should will want to note is...

Download the PhoneGap Refcard

Very happy to announce that the latest DZone Refcard was written by yours truly. You can now download the official DZone PhoneGap Refcard here: http://refcardz.dzone.com/refcardz/getting-started-phonegap DZone does require you to sign in, but it is entirely free, and there are a heck of a lot of other cool reference sheets...

PhoneGap and Cordova with iOS 7

Now that it's officially available, I wanted to share my experience running and building PhoneGap / Cordova applications on iOS 7. Running Existing Apps The first thing I tried to do after the upgrade process was to run the existing PhoneGap applications already installed on my phone. Good news: They...

Come discuss PhoneGap 3

I've seen a lot of people (including myself!) have some issues with PhoneGap 3. It is definitely a big change from previous versions. I thought it might be good to have an open meeting over Connect (this is our online meeting solution, all you need is a browser) later this...

Totally Rad Topcoat!

If you haven't checked out Topcoat lately then you might be pleasantly surprised to see some of the latest happenings. Topcoat version 0.6 recently became available and the details of the release can be found here. I wanted to highlight a couple of the latest events and also show off...

Updating PhoneGap Databases

Before we get started, I should point out that today's blog entry isn't really PhoneGap specific. Any browser that supports WebSQL can make use of this entry. As WebSQL is a dead standard, I pretty much only use it in PhoneGap.A commentor on asked if I could talk about how...

Porting A PhoneGap App To Firefox OS

About a year ago I released the Fresh Food Finder, a multi-platform mobile application built with PhoneGap. The Fresh Food Finder provides an easy way to search for farmer's markets near your current location, based on the farmer's markets listings from the USDA. This app has seen a lot of...

PhoneGap 3.0 FAQ

Just a quick post to point out this PhoneGap 3.0 FAQ posted by the team: PhoneGap 3.0 FAQ I want to add one quick note to this FAQ. One of the questions deals with Node.js and how it is a "mandatory requirement." I think it should be noted that while...

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

PhoneGap Day: PhoneGap & Hardware

I'd like to express a huge Thank You to everyone who attended PhoneGap Day in Portland last week, and to Colene and the team that put everything together! The day was loaded with fantastic presentations, and great community interaction… tons of information, tons of great questions, and tons of great people...

What's new in Cordova iOS 3.0.0

Cordova 3.0.0 is released! Huge updates – more details in this blog post. I have a blog post related to this as well - Streamline Cross-Platform Development Using Apache Cordova / PhoneGap CLI To view a bug, change the bug number to this URL, e.g. http://issues.cordova.io/3999 * [CB-3999] Video Capture ignores...

Speaking at PhoneGap Day 2013

As a last minute change, I'll be speaking at PhoneGap Day in Portland this Friday. I'll be doing a quick (20 minute!) presentation on Parse.com and PhoneGap. You can still register if you hurry up! Speaking of Parse and PhoneGap, I'll be doing a longer form version of this at...

Introducing Cordova 2.9.0

We just finished the last minor release of the 2.x series of Apache Cordova, Apache Cordova 2.9.0.  This release features the following changes and fixes: No more dependencies on Apache Commons-Codec CB-3902: Market URIs now work every time in the … Continue reading →

Introducing Cordova 2.9.0 for Android

We just finished the last minor release of the 2.x series of Apache Cordova, Apache Cordova 2.9.0.  This release features the following changes and fixes: No more dependencies on Apache Commons-Codec CB-3902: Market URIs now work every time in the … Continue reading →

What's new in Cordova iOS 2.9.0

Just a regular bug fix update, nothing much really. We're pushing this release quickly so we can get going on 3.0.0 for PhoneGap Day US, details in this blog post. Lots of cool changes in the pipeline! Highlights of this release: new InAppBrowser option (start hidden) device.name removed a bunch...

config.xml changes for iOS and Android

Ever since PhoneGap 2.0, we have been trying to migrate to the W3C Widget Specification so that Apache Cordova’s configuration would be more in line with the configuration found in PhoneGap Build, just to provide one example. The new format … Continue reading →

Recording + Assets from PhoneGap Presentation

Thanks to those who showed up today for my PhoneGap presentation as part of ColdBox Developer Week. You may find the recording here: https://experts.adobeconnect.com/_a204547676/p6a701ksfig/ Slide deck and demos may be found on GitHub: https://github.com/cfjedimaster/Introduction-to-PhoneGap As always, comments and criticisms are welcome.

Death to setProperties

One pet peeve of mine with Cordova was the fact that to do certain things, you still had to set certain properties such as splashscreen, timeouts and other minor details. These APIs traditionally only had documentation at the top of … Continue reading →

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

Using Errorception with PhoneGap

I thought I had blogged about Errorception before, but unless my search engine skills are failing me I must not have ever gotten around to it. Errorception is a service that aggregates and reports on client-side errors on your web site. By placing a simple embed in your HTML code,...

What's new in Cordova iOS 2.8.0

Highlights: deprecation of the <plugin> tag in config.xml (replaced by <feature>) cordova-XXX.js is just cordova.js now (on all platforms) new InAppBrowser options EXIF metadata writing for photos New command line scripts for your project * [CB-2840] Nil checks to avoid crash when network disconnected * [CB-3416] adding empty element during...

Quick Start Guide to PhoneGap+AngularJS

I've created a sample mobile application to help developers get started building mobile applications with PhoneGap and AngularJS quickly. The sample application includes view navigation, some standard user interface components and code to help avoid common pitfalls in mobile application development (click delays etc). Below are a few screenshots showing...

PhoneGap Day 2013

Just sharing the news that another PhoneGap Day was announced - Friday, July 19th, in Portland, Oregon. Details here: http://pgday.phonegap.com/us2013/. Early bird tickets are a low, low 25 dollars. I went last year and thought it was great. I definitely recommend it.

Windows Phone + Cordova Quick Tip

When javascript doesn't seem to be working, I usually hack in a quick error handler. If you add this somewhere at the top of your html page, you should see any errors that occur listed in Visual Studio's output window. window.onerror = function(errMsg,fileName,ln) { window.external.Notify("Error : " + errMsg +...

PhoneGap Online/Offline Tip

A few months ago I wrote a blog post that talked about "robust" PhoneGap applications. Basically it was a look at the types of things you should consider to make your PhoneGap application more of an app and less of a wrapped web page.One of the main topics of that...

PhoneGap & Android Studio

Yesterday at GoogleIO, Google announced Android Studio, a new development environment for authoring Android applications. This is a great looking new IDE for Android, based off of IntelliJ IDEA, with some new Android-specific tools and features. You can read more about Android Studio on the Google Android Developers blog. One...

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

What's new in Cordova iOS 2.7.0

Mainly bug fixes, the only highlights are new features for InAppBrowser – executeScript() and insertCSS(). Download 2.7.0. 1. Script Updates [CB–2849] Fix bin/create when CordovaLib parent dir has a space [CB–2788] add ./bin/check_reqs script to iOS [CB–3048] Add –arc flag to create script, support arc in template. 2. FileTransfer Updates...

What’s new for Cordova 2.7.0 Android

Another month rolls by, and as usual, another release of Cordova happens. Some of the big highlights this month are as follows: Camera.getPicture() is fixed for Picasa images Plugin.java is deprecated for CordovaPlugin, plugins must be updated to support this … Continue reading →

Froyo and the Deprecation Policy

I am pleased to announce that in Apache Cordova 3.0, we will no longer be supporting Android 2.2 Froyo. While this probably doesn't actually affect to many people, this does mean that we are going to be able to get … Continue reading →

Presenting on PhoneGap Next Week

On Tuesday, April 30th, I'll be giving a free, online presentation about PhoneGap as a preview of my Fluent 2013 presentation in San Francisco next month. This presentation will be your basic "What the frak is PhoneGap"-type presentation, but if you are looking for a chance to get introduced to...

Cordova OS X Resurrection

No, I didn't use an Alien Queen embryo for this one. Dormant for so long, this has been brought up to date vis-à-vis the iOS Plugin architecture, and supports OS X 10.7 (Lion) and 10.8 (Mountain Lion). This means that if you know how to create an iOS Plugin, you...

What's new in Cordova iOS 2.6.0

1. Config.xml <preference> changes – added KeyboardShrinksView and HideKeyboardFormAccessoryBar. UIWebViewBounce renamed to DisallowOverscroll. EnableLocation deprecated. HideKeyboardFormAccessoryBar will hide the form accessory bar (the Next, Prev and Done buttons) when the keyboard is shown for  handling input in a textbox. KeyboardShrinksView will shrink the WebView when the keyboard comes up. The WebView shrinks instead...

Google Analytics and PhoneGap

Today I decided to try out the Google Analytics plugin with PhoneGap, and more specifically, PhoneGap Build. It is one of the plugins supported by PhoneGap Build and being somewhat of a data nerd, I was curious to see how well it worked. Unfortunately, my "quick little experiment" turned out...

PhoneGap Legends – A Sample Game App

Next week I'll be representing Adobe at GDC 2013, and demonstrating how Adobe Creative Cloud, PhoneGap, and PhoneGap Build can be great tools for building casual gaming experiences. In preparation, I've been working on a gaming sample application that shows off the potential of HTML games packaged with PhoneGap. …and now I'd like...

Fun with AngularJS!

ecently it that AngularJS, an MVC style JavaScript framework from Google, has been gaining more momentum. I've been curious about it for awhile and when I read this article recently, I decided it was finally time to give it a whirl. I was pleasantly surprised with what I found. I...

Building "Robust" PhoneGap Applications

Lately I've been thinking more about how to make my PhoneGap applications more robust. By robust, I'm not necessarily talking about performance. While that is important (see my coworker's excellent blog post on the topic: Performance & UX Considerations For Successful PhoneGap Apps), I'm thinking more about the general stability...

On-Device Debugging With PhoneGap & iOS 6

Want to debug your PhoneGap apps, complete with breakpoints, DOM & CSS inspection, profiling, and more?  This is all possible with the PhoneGap Emulator, which allows you to leverage Chrome's Developer Tools inside of the desktop Chrome browser (covered in detail here).  However, did you also know that you can have a...

What's new in Cordova iOS 2.5.0

Mainly bug fixes. 1. New functionality for Plugins Lots of enhancements, and one removal. See the Plugin Upgrade Guide. Of note, you can load plugins at startup now. 2. config.xml root element is <widget> Shouldn't affect your current config.xml since the config parsing doesn't care about the root element name....

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 Q&A

Thanks to all of you who attended my “Architecting a PhoneGap Application” TechLive session on Tuesday, and thanks also for the great feedback. The recording is available here. A lot of my content was based on my PhoneGap Tutorial available here. As promised, here are answers to the questions I...

Featured PhoneGap Apps!

It's always exciting to see what people in the PhoneGap community area up to.  Seeing featured apps in both iTunes and Google Play that are built with PhoneGap is fantastic.  Keep up the great work everyone! BitTimer is being featured for iOS Health apps: HealthTap is being featured in Google Play...

Video: Introduction to PhoneGap

Yesterday I gave an Introduction To Mobile Development With PhoneGap presentation at the DevNexus developer conference in Atlanta. Thanks to everyone who attended, DevNexus is a great event. Unfortunately, not everyone around the world was able to attend… maybe next year.  Luckily for you, I recorded the presentation! You can...

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 else is new in Cordova Android 2.4.0

Normally, Simon Macdonald, who also works on Apache Cordova, writes a blog post listing the new features that landed. However, there's a feature that should be added to that post that I'll explain below. Additional Preferences in config.xml: Certain features, … Continue reading →

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

Transcript from Open Session On PhoneGap

Ray and I have just concluded another Adobe TechLive Open Session on PhoneGap.  These sessions are an opportunity for anyone to stop in and ask us questions.  Thanks to everyone who attended and submitted their questions.  We will be hosting more of these sessions in the future. You can also...

BoomChik Ba-Boom Boom Chik …

BoomChik is available in the Windows store! BoomChik on Windows Store The code is virtually identical to the code running on the iPad, and soon they will be exactly the same. Time to tap to the beat of your own drummer. Note, I have many more features I would like...

What's new in Cordova iOS 2.4.0

1. Removal of JSONKit, replaced with NSJSONSerialization Since we dropped support for iOS 4.x, this is now possible. 2. Support for ArrayBuffer arguments over the exec bridge Only for top level arguments (nothing nested). It converts the ArrayBuffer to a NSData object, and vice-versa. See CB-2189 and CB-2215. 3. The...

PhoneGap 2.4.0 Released

The title pretty much says it all. PhoneGap 2.4.0 was released today. You can read the official blog entry on it here: PhoneGap 2.4.0 Released. The blog entry only makes mention of the Cordova CLI tools being rolled in. These tools make PhoneGap incredibly easy to use. Holly Schinsky blogged...

Video: Native vs. Hybrid vs. Web

Here's a video from the “What Developers Love and Hate about iOS, Android, Windows and HTML5″ panel discussion that I took part in during MoDev East back in December.  The panelists represented native app developers, HTML/web developers, and myself-representing the HTML/hybrid app paradigm. I thought it was a great discussion, and...

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

Transcript from Open Session On PhoneGap

Today Raymond Camden and I hosted another open session on PhoneGap as part of an Adobe TechLive event.  These sessions are an opportunity for anyone to stop in and ask us questions. The full transcript from today's session is below.  Thanks to everyone for sticking around, and bearing through our technical...

PhoneGap Sample - Shake to Roll

Sorry for being so quiet lately. I've got three presentations this week and two brand new ones in two weeks. Mentally - it has been killing me. As with all things - it will pass. (And I think I'm building some good new presentations as well!) In the meantime, I...

Apache Cordova and Windows Phone 8

January 7, 2013 Update: We are live! Apache Cordova 2.3.0 with full support for Windows Phone 8 is available. Here’s the quick list of steps to follow to get started: Download Apache Cordova 2.3.0 Watch the 5' tutorial on Channel9 Read the new 'Getting Started' Guide   Over the last few months, we...

Introducing Adobe TechLive!

Our team has been busy working on a new initiative called Adobe TechLive, a place where we'll be hosting interactive online webinars on various topics. Some upcoming topics include Adobe's Create the Web tour introducing Adobe's latest new tools and web technologies, a PhoneGap Open Session where you can come...

Windows Store apps and the IE10 DOM

Windows 8 fully embraces web-tech as a means to develop applications for the windows store, however, there are a few things that you should be aware of, along the way. You can use your own JS libraries, or jQuery, or whatever you prefer ( assuming it behaves well in IE10...

What's new in Cordova iOS 2.3.0

1. iOS 5.x and above support only We are dropping iOS 4.x support and only supporting iOS 5.0 and greater, going forward. 2. Cordova.plist is changed to config.xml The configuration Cordova.plist file has been changed to config.xml – it comes in a new format that is the same as the Android config.xml....

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 

Want another option to learn PhoneGap?

ColdFusion community member and all around smart guy Matt Gifford has released a new book for PhoneGap developers: PhoneGap Mobile Application Development Cookbook (affiliate link). I was a reviewer for the book and can definitely recommend it. It's chock full of good, practical demonstrations.

Cordova plugins? Put them in your own repo

[edited: removed reference to pluginstall which is PhoneGap Build centric, to Plugman which is based on pluginstall but is Cordova centric, and more frequently updated] Right now, there is one repo that contains the majority of plugins available for Cordova at: http://github.com/phonegap/phonegap-plugins We don't want to “clutter” this repo with...

What's new in Cordova iOS 2.2.0

1. Set Xcode 4.5 minimum (iOS 6 SDK, iOS 4.3 deployment target, no armv6) Submission to the Apple App Store requires the latest SDK, which is iOS 6. The iOS 6 SDK only comes with Xcode 4.5. Xcode 4.5 drops support for armv6, thus the minimum deployment target supported is...

Halloween Fun with PhoneGap

About two weeks ago I had a random thought… “Wouldn't it be fun to build a free Halloween sound effects app using PhoneGap?” (I tend to get excited for any holiday). I had already done a lot of work using sounds in PhoneGap apps with my LowLatencyAudio native plugin, so...

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

Automated UI Testing in PhoneGap Apps

I normally don't write posts to talk about a specific product from another company, but this is the first product that I have seen which lets you do automated UI testing in PhoneGap applications, so I figured I'd share… Automated testing is often a critical step in enterprise application development....

Presentations From Dreamforce 2012

I recently returned from a great trip to San Francisco, CA, where I was able to attend Dreamforce - Salesforce.com‘s annual conference.  Dreamforce is probably the biggest conference I've ever attended, with 90,000 registered attendees consuming the entire Moscone Center and all of downtown San Francisco. While only a small portion of...

Windows 8 Security and Dynamic Code

Recently while working on bringing Apache Cordova to Windows 8 I came across an issue with dynamic content.  The Apache Cordova mobile-spec project, which defines all of our tests,  has some tricks for loading a configurable cordova-js file without having to modify every html page.  It seems the security model does not...

PhoneGap, Apple Rejections & UI/UX Guidelines

I've recently encountered some grumblings from the development community that Apple has rejected their PhoneGap apps for not being “native enough”.  By itself, that doesn't surprise me too much – Apple has very strict rules/guidelines on what they will and will not accept into the App Store.  What did surprise...

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

Folding HTML Views in App-UI

A few months back I released App-UI, a UI container toolkit for creating HTML experiences.   It gives you common “view navigator” paradigms for mobile experiences… a view navigator stack that can push and pop views, a split view navigator, and a “sliding view” like Facebook's iOS experience.  All of...

Upcoming Changes with PhoneGap 2.1 & iOS 6

Are you using PhoneGap/Apache Cordova for iOS development?  If so, you'll definitely want to pay attention to the upcoming PhoneGap 2.1 release. If you haven't seen it already, be sure to check out Shazron's post: 11 upcoming changes for Cordova iOS 2.1.  Changes include Automatic Rererecnce Counting (ARC) support, an...

Transcript From Open Session on PhoneGap/Cordova

Many thanks to everyone who attended today's open session on PhoneGap hosted by myself, Raymond Camden, and Piotr Walczyszyn. Thank you for the great questions and feedback! You can access a full transcript from the open session below.  Please ignore typos, it was a live Q&A session. Answered Questions (78)...

11 upcoming changes for Cordova iOS 2.1.0

1. Automatic Reference Counting (ARC) support Finally the Cordova core has been upgraded to use ARC. Your project does NOT need to use ARC, but you can upgrade your project if you want using the Xcode menu option “Edit -> Refactor -> Convert to Objective-C ARC…”, then de-select libCordova.a. Note that...

Enterprise Android Apps W/ PhoneGap

Here are my presentation slides and extra content from last night's DC Droids meetup. I gave the presentation “Enterprise Android Applications With PhoneGap“.  There were excellent questions and conversations at last night's event – Thank you everyone for attending, and making it a great meetup. You can view the presentation...

Open Session on PhoneGap/Cordova

Do you have questions about PhoneGap and/or Apache Cordova that you'd like answered from Adobe?  If so, here's your chance!  On August 28th at 1:00 PM EDT (10:00 AM PDT) Adobe's technical evangelists will be hosting a two hour open session on Adobe Connect, where anyone can join and ask questions....

iOS Safari Web Apps Templates and HowTos

An iOS web application uses HTML/CSS/JS to deliver a iOS experience that looks and behaves like a native iOS application. If done correctly, the user can't tell that it's not a “normal” app. Although the capabilities are limited, it can be a great solution for many apps where going through...

Presentations: Intro To PhoneGap, Web Data Viz & PhoneGap Native Plugins

As promised, here are my presentation slides and extra content from last week's RIACon conference. I gave three presentations: “Intro to PhoneGap”, “Data Visualization With Web Standards”, and “PhoneGap Native Plugins”. All of the presentations are freely available at: https://github.com/triceam/Presentations. Intro To PhoneGap Click to view presentation PhoneGap is an application...

PhoneGap 2.0 Released

PhoneGap 2.0 has just been released!  This is a great step forward for PhoneGap, with a much improved developer experience. New and improved features in PhoneGap 2.0 include: Cordova WebView Command Line Tooling Enhanced documentation Web Inspector Remote (Weinre) ported to nodejs Cordovajs (Support for unified Javascript across platforms) Transition...

Improvements in Cordova 2.0.0 for iOS

With the release of Apache Cordova 2.0.0 there are some significant changes for the iOS platform. We've removed the problematic Xcode templates, and updated our support to iOS 4.2 and greater only. Support for ARC (Automatic Reference Counting) was planned but pushed to a later release (tentatively scheduled for 2.1.0)....

Improving geolocation getCurrentPosition() with getAccurateCurrentPosition()

getAccurateCurrentPosition() is a simple enhancement to navigator.geolocation that provides a more accurate and predictable result.  It is intended for any geolocation-enabled web browser. This is also usable in PhoneGap applications since PhoneGap uses the underlying HTML geolocation APIs already. I have tested this on desktop Chrome, Safari, Firefox and on iOS...

PhoneGap Live API Explorer

During my still ongoing PhoneGap tour, I wrote “PhoneGap Live API Explorer”, a new tablet application that gives you access to documentation for the PhoneGap Device Integration APIs, and allows you to experiment with these APIs inside the application. You can watch a short video below. Go full screen for...

Upcoming Speaking Engagements

I'm looking forward to speaking about HTML 5 Mobile Development, PhoneGap, JavaScript frameworks, REST with Java (JAX-RS) and PHP, and other topics at some great conferences and Meetups in the coming weeks. Here is the list so far: Amsterdam May 24th GOTO conference more info London May 24th Skillsmatter more...

Introducing HyperLab

HyperLab was approved today by Apple and is now available in the app store. HyperLab did not include any documentation, as I was in a rush to get it submitted, so I will explain how to use it here. Documentation HyperLab lets you sync files to your device using iTunes...

Box2D on WP7 Apache Cordova 1.7.0rc1

Here's a simple demo of Box2D javascript running in a Cordova app on a Samsung Focus S. Earlier this week at the Microsoft hosted ‘port your app event', Ben Davey from mobilenationhq.com did the work of putting this into a Cordova app, which he described as “just a little bit...

Apache Cordova lifecycle events in iOS 4 versus iOS 5

Cordova has lifecycle events – “pause” and “resume” which are documented in http://docs.phonegap.com but there are two more events for iOS that are undocumented, “resign” and “active”. These events correspond to when the app is leaving the active state (UIApplicationWillResignActiveNotification) and when the app enters the active state (UIApplicationDidBecomeActiveNotification), respectively....

PhoneGap 1.4.0rc1 is commited

Just pushed my updates to github, and they are making their way into Apache git. You can get the latest code here: https://github.com/purplecabbage/callback-windows-phone Changes include fixes for XHR to local files, + fixes to allow jQM single/multipage apps function correctly. Here's a short video demonstrating the updated Compass API. ##...

PhoneGap for Windows Phone Dissected

This is not a postmortem, per se, as we will continue to develop and support PhoneGap for Windows Phone, consider this more of a milestone postmortem. We are reaching the end of our engagement with Microsoft so I thought I would take the time to reflect on the overall experience...

How PhoneGap impacts how we evangelize Flex

DISCLAIMER:  The following is my personal opinion and not necessarily that of my employer (Adobe Systems, Inc.). The PhoneGap announcement at MAX 2011 really got a lot of people excited (including me!), and it raised a few questions about how it changes our jobs as evangelists.  PhoneGap gives us the means...

iOS PhoneGap / Cordova Splash screen control

[UPDATE: for Cordova 1.6.0 instructions see the last section] Unfortunately a splash screen is still needed to hide the white flash that is visible just before the UIWebView loads its content. Previously before PhoneGap 1.0, you had no control over this – sometimes your content just takes an extra time...

entry.title

There was a fair amount of news about Android 3.0 coming out. There was tons of hype regarding the new Honeycomb release, and how it would be designed for tablets, how there is 3D Acceleration, and how the User Interface … Continue reading →

PhoneGap Native Bridge

The “native bridge” is the secret sauce of PhoneGap and is what allows JavaScript in an embedded browser talk to native code and vice-versa. On every platform we do this differently depending on what features that native browser has. Here is the list of platforms and how we do it....

PhoneGap and BlackBerry OS 6

RIM OS 6 for BlackBerry smartphones is being released very soon on the new BlackBerry Torch 9800. It looks like a pretty nice upgrade from OS 5, most notably including a WebKit based browser. This should be a *huge* improvement for PhoneGap on BlackBerry. The bad news is that OS...

PhoneGap Desktop

So if PhoneGap was running on the desktop, what would you call it? Well I have not come up with a good name yet but after a few nights of hacking we threw together a version of PhoneGap for Mac OShttp://github.com/shazron/phonegap-mac and a version for Windows http://github.com/davejohnson/phonegap-windows. @shazron has implemented the sound...