Blog

Category Filtering: 'cordova-phonegap'

17
June 2015

Gavin Pickin

Cordova Hooks - Deep Dive into my Jasmine Unit Test Hook written in NodeJS

Android, Cordova / Phonegap, Dev.Objective, Ionic, IOS, Javascript, Mobile Development

After my session about Dev.Objective() called “Getting your Hooks into Cordova - Workflows and Build Helpers”, I decided I should do a deep dive into each of my Hooks I discussed in my presentation, and today we’ll look at my Jasmine Unit Tests Hook, written in NodeJS.

04
June 2015

Gavin Pickin

Cordova Hooks - Deep Drive into my JS Hint Hook - written in NodeJS

Android, Conferences, Cordova / Phonegap, Ionic, IOS, Javascript, Mobile Development, Node.js

After my session about Dev.Objective() called “Getting your Hooks into Cordova - Workflows and Build Helpers”, I decided I should do a deep dive into each of my Hooks I discussed in my presentation, and today we’ll look at my JS Hint Hook, written in NodeJS.

01
June 2015

Gavin Pickin

Cordova Hooks - Deep Drive into my Cordova Cleanup Hook - written in NodeJS

Android, cfObjective, Conferences, Cordova / Phonegap, Dev.Objective, Ionic, Javascript, Mobile Development, Node.js

After my session about Dev.Objective() called “Getting your Hooks into Cordova - Workflows and Build Helpers”, I decided I should do a deep dive into each of my Hooks I discussed in my presentation, and today we’ll look at my Cordova Cleanup Hook, written in NodeJS.

30
May 2015

Gavin Pickin

Cordova Hooks - Deeper Dive into my Environment Setup Hook Written in NodeJS

Android, Cordova / Phonegap, Dev.Objective, Ionic, IOS, Mobile Development, Node.js

After my session about Dev.Objective() called “Getting your Hooks into Cordova - Workflows and Build Helpers”, I decided I should do a deep dive into each of my Hooks I discussed in my presentation, and today we’ll look at my Environment Setup Hook.

27
May 2015

Gavin Pickin

Post Conference - Session Review - Getting your hooks into Cordova- Workflows and Build Helpers

Android, cfObjective, Cordova / Phonegap, Dev.Objective, Ionic, Javascript, Mobile Development, Node.js, Unit Testing

May 15th, 2015 was the last day of dev.Objective(), and the last session of the day had some great topics, “Devops: journeyman to infrastructure mastery”, ‘Marketing for Developers’, ‘Level Up your Javascript: Understanding the confusing bits’, ‘Web sockets, yes they can do that too', and my session, ‘Getting your Hooks into Cordova - Workflows and Build Helpers'. With mobile and hybrid development really growing into a track of its own, I decided to submit this topic, as I believe Cordova Hooks are a big part of Cordova mobile develop, they save me hours every week, and they are relatively unknown if you search for blog posts about them. When the session was accepted, I took that as a challenge to up my game and really research hooks, and make my presentation a complete resource.

26
May 2015

Gavin Pickin

A quirk of Cross Platform WebSQL in Hybrid Mobile Development for iOS Android and Windows

Android, Cordova / Phonegap, Ionic, Javascript, Mobile Development, Techie Gotchas, WebSQL

When is WebSQL not compatible across devices? This is really a quick question, as if you recall reading in previous blog posts ( if you haven’t read them, I urge you to ) I am using WebSQL for my hydrib mobile app development with Phonegap and Cordova… and although WebSQL is supported on Android and iOS, it is not natively supported on Windows Phones / Devices. That is where the lovely people at MS OpenTech come in, Microsofts Open Source company, which wrote a WebSQL wrapper for SQLite to allow you to work with SQLite like you would WebSQL. FANTASTIC, until you hit those issues… so lets look at a couple of them.

16
March 2015

Gavin Pickin

Speaking at Dev.Objective() x 2 - Cordova Hooks and Testable JavaScript

cfObjective, Conferences, Cordova / Phonegap, Dev.Objective, Javascript, Lucee, Mobile Development, Unit Testing

Dev.Objective() is the 10th year of cf.Objective() rebranded to describe the 5 track professional developer conference more accurately ( more info here).  Still hosting a large number of ColdFusion topics, and a lot of the normal speakers, the content again is simple amazing. Technology is changing and so is this conference, and I am happy to say, that not one, but two of my sessions have been picked for this years Dev.Objective() this May, 12-15th in Bloomington, Mn. 
As usual, my work fuels my blog, and my ideas for sessions, and this year is no different. Lately I have been focusing on Javascript with my Mobile Development, and I have come a long way, compiling knowledge as I go. I think both of these topics are great combinations of all the solid content out there, all in one place to get someone up and running quickly. I was surprised to get both accepted, more work than I was expecting, but I like a challenge, and work well under the gun, so its going to be fun knocking these out. If you are thinking about what conference to attend, you can’t do much better than this one.

17
February 2015

Gavin Pickin

WebSQL - When is a Javascript Object not a Javascript Object?

Cordova / Phonegap, Javascript, Mobile Development, Techie Gotchas, WebSQL

After a short break from WebSQL, I am back to talk to you about WebSQL again, as I continue my work on my Cordova / Phonegap cross platform app. Today I ran into one of those Gotchas, that cost me a couple hours of time trying to debug a strange happening in my app. It is one of those things in our developers lives, if you only knew what you didn’t know, you'd know more than you know now. In finding this gotcha, I remembered a couple of other lessons when using Web Developer tools, which you may or may not know… so I’ll share those too.

20
January 2015

Gavin Pickin

Cordova Cross Platform Database Issue - The Solution Might Surprise You

Android, Cordova / Phonegap, IOS

There was a point when Local Storage key value pair just didn’t seem to be a good solution. Its great for small key and values, but when you’re starting to dump JSON Objects Arrays, which have children, and you do not have all the NoSQL goodness, its time to get something bigger and beefier.

Here is the story of my search for a cross platform DB solution to work with Cordova.

11
March 2014

Gavin Pickin

Mobile Development - JSON vs JSONP with Ajax calls and ColdFusion CFC Components

Android, CFML Language, Cordova / Phonegap, IOS, jQuery, Techie Gotchas

I had mentioned that I am getting setup and writing some HTML5 / Javascript / CSS / Phonegap / Cordova Apps, and along with these types of apps, you will start to use Ajax to make server api calls to keep your fresh and up to date. I ran into a hurdle today when making some Cross Site Ajax calls, and decided I would share my findings.

First, you might ask, if I'm making a native app, why are you worrying about Cross Site Ajax calls? And you would be correct, with the app deployed on a Android or IOS device, those Cross Site Scripting issues do not exist. I decided I wanted to develop my apps to be deployed on our dev servers during development and testing, and wanted them to work as well as they could (obviously certain device api's would not be available), so I wanted to look into using JSONP to solve my cross site scripting issues. Using json a lot, and with most of my sites calling the same server for api calls, I have heard of JSONP, but not actually implemented it myself… so here goes.

Blog Search