Twitter: raymondcamden


Address: Lafayette, LA, USA

Cordova Plugins update, and new Contacts demo

07-09-2014 2,536 views Mobile 3 Comments

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.

Proof of Concept Cordova integration with Brackets

07-08-2014 3,288 views Mobile, JavaScript 4 Comments

The past few days I've been working on a new Brackets extension that integrates with the Cordova command line tool. I've got a rough draft of it ready with almost every feature prepared so I thought I'd go ahead and let people know in case they wanted to start hacking on it. As it is not complete yet I've not added it to the extension manager, but once I wrap the last feature I'll go ahead and submit it. You can find the code for the extension on GitHub: https://github.com/cfjedimaster/Cordova-Extension.

Article: Static Site Engine Battle Royale

07-07-2014 1,834 views Development 1 Comment

Nope - not one of my articles, but one by Brian Rinaldi. Brian's article looks at three different static site engines and compares and contrasts them. It is a great article and as my readers know, I've been doing a lot with static site generators lately.

Sunday OT - Video Game Reviews

07-06-2014 2,181 views Video Games 3 Comments

It has been a while since I posted a video game review so today I'm going to make up for that by posting not one, but three. Enjoy.

GapDebug, a new mobile debugging tool

07-02-2014 3,735 views Mobile, JavaScript, HTML5 4 Comments

For the past few days I've been playing with a new, and rather interesting, mobile debugging tool called GapDebug. Currently in private beta, it will switch to an open beta around July 9th. You can sign up on the site to get notified when it becomes available.

Cordova Sample: Check for a file and download if it isn't there

07-01-2014 5,222 views Mobile, HTML5 15 Comments

I've begun work on trying to answer the questions I gathered concerning Cordova's FileSystem support. As I work through the questions I'm trying to build "real" samples to go along with the text. My first sample is a simple one, but I think it is pretty relevant for the types of things folks may do with Cordova and the file system - checking to see if a file exists locally and if not - fetching it.

Article on Fenix Web Server

06-30-2014 2,319 views Development Comments

Just a quick note to say that I'll be a bit quiet this week as Adobe shut down for the week and I'll be (hopefully!) catching up on some house work. Also - an article I wrote for the awesome Flippin' Awesome went live this morning: Easy and Shareable Local Web Servers with Fenix. I hope you enjoy it.

Add "Search Export" to ColdFusion Builder 3

06-26-2014 2,531 views ColdFusion 9 Comments

Recently, a commenter on another blog mentioned that one of the things they missed from Dreamweaver is the ability to do a search and then export the results. I didn't even know DW had this and it does sound rather useful!

XCode "forgets" frameworks and bundles after a restart

06-25-2014 2,088 views Development, Misc 4 Comments

Just blogging this as I had trouble Googling for a solution when it hit me. I've been doing ObjectiveC work lately for the CreativeSDK project and I kept running into an odd problem. I'd set up a simple project, do some work on it, and when I returned the next day, any use of the CreativeSDK would fail. If I removed the frameworks and bundles from my project and re-added them, it worked again. The first time (OK, the first few times) this happened, I just assumed I made a mistake when adding it, but when it happened consistently, I figured something was up.

PhoneGap/Cordova File System questions

06-23-2014 5,444 views Mobile 20 Comments

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 they are incredibly specific to a particular user's application. And - honestly - they typically don't lend themselves to the type of quick questions I can answer during the day.

So with that in mind, I thought it might be fruitful to ask my readers about the API and how I can help make things a bit clearer - for both you and me. What I'm thinking is - can we come up with a list of basic questions, a FAQ perhaps, for just this API. It can't be something too precise to one particular application, but something that can apply to multiple users.

As an example: How do I download an asset to my application? That's a simple question, but it brings up the question of where you would download the asset and how you would actually use it later.

Of course, the big issue is that this particular API is an evolving one. Anything I do today will be outdated next year. But as most of my blog posts on the API are already over a year old, this would at least be a bit fresher. ;)

In order to organize this list, I'm going to start it in the blog entry. Use the comments to make suggestions, and as I see ones that I think make sense, I'll add them to the list. By the way, I know some of these are super trivial, but I figure it doesn't hurt to try to cover as much as possible.

File System FAQ

  • When does it make sense to use the file system (versus LocalStorage or WebSQL)?
  • How do I download an asset to my application?
  • How do I use a file stored in the file system (both binary and text-based files)?
  • How do I check to see if a file exists in a directory?
  • Are there external tools that can check a device's file system?
  • How do I check to see if a directory exists?
  • How do I make a subdirectory where the parent directory may not exist?
  • Are there any app store restrictions/guidelines for using the file system?
  • For iOS, where can I store files so that they will be backed up to iCloud?
  • How can I get metadata (size, updated) about a file?