ConfigGAP

ConfiGAP 1.2.4 released

ConfiGAPI released a new version of ConfiGAP 1.2.4 today. There are several changes made to the application. In watching one of my students try to use the application on an older laptop, I noticed that the Save button was not visible. This issue made the application unusable. I had two choices; either add Open/Save menu items or find a new spot for the Save button. I decided to do both.

There is now a Open and Save menu item available to you. I had originally had not plan to support native menus, since I hope to eventually transition this app from the desktop to an in browser app. But adding them was a fairly easy fix to apply.

Moving the Save button’s location proved to be a bit harder. I looked over each of the panels, the Splash Screens panel had too much content to allow the application’s vertical height to be reduced. So, I began exploring ideas on how to redesign this panel to allow this. Here is what the new screen looks like:

New Splash Screen Panel

This redesign now allows the application’s window to resized to a smaller size.

I also adjusted some of the options based on the changes with PhoneGap Build. The ChildBrowser Plugin is no longer used by PhoneGap 2.7 or later, so that plug in is now disabled. If you are still targeting older PhoneGap versions, you will be able use that plug in. Also, the Stay In Web view option for iOS is also disabled for newer versions of PhoneGap as well.

I expect I will have several more updates when PhoneGap Build begins to support PhoneGap 2.8. Stay tuned.

More ConfiGAP updates

ConfiGAPOne of the missing feature in my ConfiGAP utility was the ability to manage the access elements. For those who do not know what the access elements are, here is the definition from the documentation:

The access element provides your app with access to resources on other domains – in particular, it allows your app to load pages from external domains that can take over your entire webview.

Although I do not have the interface controls enabled for this feature, I do have in the place the code to properly read an existing config.xml file that  contains access elements, and the ability to then resave the file with that data still intact. So I releasing this version with this simple support in place. I hope to have the completed version done in about a week. Again, thanks to all that have used ConfiGAP and found it useful.

I also tweaked the Android SDK selections as well. The old design just had an SDK number. Pop quiz, Android SDK 12 is also known as ______? Right, I can’t tell you either. So, the list now shows the SDK number and the matching version number & naming (FroYo, Jelly Bean, etc).

Creating Mobile Applications with jQuery Mobile and PhoneGap Build

Adobe MAX

Where the world’s creative minds collide.

At this year’s Adobe MAX, I taught three workshops on Creating Mobile Applications with jQuery Mobile and PhoneGap Build. It was a lot of fun, and hopeful worthwhile for those who attended. As promised here are the files: the workbook, the slides, and the resources. Even if you did not attend, maybe the workbook and lab files might prove useful.

I will be posting enhancements to these files over the coming weeks to cover a few advanced features that I knew I would not be able to cover in the 90 minutes.

ConfigGAP updated

ConfiGAPOne of the challenges with a utility like ConfiGAP, is the variety of directory structures each project could have. You try to plan and test for what you think are the ‘probable’ structures, but you never know. I have been working on some improvements to the reading and writing sections of the app. One thing you have to remember is that the config.xml file needs to be included in the same directory as the index.html file when the entire package is zipped up and sent to the PhoneGap Build servers.

When loading a saved config.xml file, the application will scan for an index.html file. If one is not found, it will report an error. All the referenced assets need to based on the directory that the index.html file is located.

Another change I made was I dropped support for 1.9 and lower as a PhoneGap version. The PhoneGap Build team made the announcement that due so some new requirements from Apple, they decided to drop the older support.

I am starting work on adding the user interface to add in access elements. I hope to have this done shortly.

Thanks again to all that have downloaded and used ConfiGAP, and to those who have let me know of issues and suggestions. Keep ’em coming!

ConfiGAP updated to 1.1.9

ConfiGAPOne of bigger challenges in developing a utility like this is writing the parsing code for user generated config.xml files. You never know the internal formatting of the xml.

Recently I got a tweet from @stan_programmer about a valid config.xml file that ConfiGAP was unable to parse. Thankfully, he posted his file, and could begin to resolve the issue. It took a little bit, but I think I have a more robust parser in place.

Unfortunately, I still am not saving any user added comments in xml.

The new build is now posted at: http://aj-software.com/configap/

ConfiGAP updated – bug fix

ConfiGAP@nabeezy found an issue in ConfiGAP 1.1.7 or earlier, where if you saved the config.xml not in the same directory as your application’s index.html, the references to the app icons and splash assets were not saved in the file. It turns out that when I resolve the location of the icons and splash screens, I referenced the wrong file path. 😦

If you saved the config.xml file in the same directory as your index.html, this ‘issue’ would never occur as both files paths are the same. That was my usual test case.

This bug has been fixed in the 1.1.8 release, and can be download here.

Adobe MAX is coming fast!

Adobe MAX

I have been selected to speak at Adobe MAX again. However, this time I am giving a 90 minute workshop entitled “Creating Mobile Applications with jQuery Mobile and PhoneGap Build“. In fact the response has been so good, they had to add a third session on Wednesday afternoon! If you are attending and wanted to take this workshop, maybe it can now work into your schedule.

I have had a lot of fun developing the course content. If all goes well, attendees will go from a blank html document to a working mobile application in 90 minutes! I have some great TAs, so if even you hit a snag, these fine folks will be able to get you back on track. It should be a fun workshop, and I hope that you can attend. If you are not sure about coming to AdobeMAX, there is a discount code available for $300. Leave me a comment and I will send it to you.

 

ConfiGAP updated!

ConfiGAPI just released a minor update to my ConfiGAP tool. ConfiGAP is an application designed to help you create the config.xml files used by PhoneGap Build. If you have ever used PhoneGap Build, you know that creating the config.xml file can be a chore. ConfiGAP is built to make it a bit easier.

This version add some additional settings.

For iOS apps, you can now enable these settings:

  • Detect Data Types
  • Exit On Suspend
  • Show Splash Screen Spinner
  • Auto-Hide Splash Screen

For Android apps, you can now enable these settings:

  • Splash Screen Duration
  • Load URL Timeout

Hope this tool is making developing PhoneGap Build apps a little easier.