Compiling Flex Hero Apps with MXMLC in ANT

I ran into a problem today trying to use ANT to publish the same AIR application to BlackBerry and Android at the same time. Basically, when I used Flash Builder Burrito to push directly to a device for either platform it worked perfectly. When I did it via the ANT script I just got a white screen.

The cause: I had the wrong config loaded. I had air-config.xml as the configuration, and needed airmobile-config.xml as the configuration.

Took me a bit, but I figured it out. So if you’re looking to compile your Hero apps via ANT, use the right config.

https://gist.github.com/735429.js?file=build.xml

HTML5, Browser Lab, Typekit and New Design

I just got done with a site redesign. I had a few goals:

  • Fool around with new semantic HTML 5 elements
  • Use web fonts for typography
  • Do some jQuery for interactivity
  • Do a proper mobile version

Semantic HTML5
It seems like such a geeky little thing, writing header instead of div id=”header”, but I was shocked at the improvement it made. Much fewer divs made the HTML code so much easier to read, and so much easier to detect an improperly closed div.

 

Black Friday Deal for Pragmatic Bookshelf

There’s a one day sale going on at Pragmatic Bookshelf:

Everything will be available for 40% off Friday November 26th *

That everything includes my book, Driving Technical Change.

So stock up for yourself, buy gifts for your benerded friends, or just BUY MY BOOK! 😉

Get more details at the Pragmatic Bookshelf.

* Everything evidently excludes The Pragmatic Programmer, and Programming Ruby 1.9 for perfectly rational reasons.

Driving Technical Change on Kindle

I’ve gotten a few questions about the availability of Driving Technical Change on a Kindle. Short answer is that you cannot buy Driving Technical Change through the Kindle store.

That does not mean that you cannot read the book on your Kindle though. You can buy an eBook version of the book from the Pragmatic Bookshelf. Once purchased you can buy and download epub, mobi (Kindle format), and/or PDF.

If you switch eReader technology in the future, you can come back and download the appropriate version.

Finally in print – Driving Technical Change

Ever go to a technology conference, read a coding book, or just get inspired by a blog post to try something new? You try it, you love it, you want everyone else at work to do it. 

Everyone else says “No- not just no, hell no.”

It’s easy to blame your coworkers. But the responsibility lies with you. If something is great, and your coworkers aren’t buying, then you need to up your game.
I had this problem. I worked through it. I started changing what I did. If it worked, I did it more.
I started recording what I was doing and started shaping it into a presentation and a book.
In a moment of hubris, I pitched the book to Pragmatic Bookshelf. In a moment of luck they picked it up. In many moments of staring at a blank screen, I wrote it.
Now it’s in print.
I sincerely hope that what’s in the book helps people change their workplaces for the better. I also hope people buy the book.

Links for University of Missouri Bootcamp

I’m giving a bootcamp/jumpstart/monster 3-hour presentation on Flash to students at University of Missouri. I wanted to post all of the go to links in one place for them, instead of making them copy a whole crapload of them off of my slide deck.

So here they are:

 

Multiple Screens, One Server – Max Session

There are several ways to approach mobile application development. You can:

  • Write native apps
  • Write mobile browser based app
    • Rolling your own
    • Use a mobile framework
  • Use Flash and an AIR packager
Each has their plusses and minuses, but they all have one thing in common: They have to talk to a server somewhere. If I were to build the ideal server for a mobile application I think it would have the following attributes:
  • Ability to communicate with JavaScript Frameworks
  • Ability to communicate with Flash
  • Ability to communicate efficiently

It’s be nice if it did all that, and didn’t make me jump through hoops to get the same backend to do all three of them with the same code. If you threw in SMS communication, that would just be gravy.

It turns out (quite coincidentally) I know a server that fits all of those criteria. It’s also easy to use, and does a lot of other stuff for you. Of course it’s ColdFusion.
Come to my MAX Session Multiple Screens, One Server, to find out how ColdFusion can speed up your mobile development efforts.

Multiple Screens, One Server

Monday, October, 25th, 3:30 pm – 4:30 pm

ESRI Dev Meet Up – Philadelphia

I’ll be speaking at the ESRI Dev Meetup next week. It says it’s in Philadelphia, but it LIES… it’s in King of Prussia. Because I like to have all of my speaking engagements inside of monarchs of countries that no longer exist.

If you’re local to Philadelphia, you know exactly where King of Prussia is, and if you like GIS, then you’re going to want to come to this. I’ll be talking a little Flex, AIR, Mobile, and GIS.

Dev Meetup – Philadelphia
Thursday September 30th 2010
5:00PM to 8:00PM

Maggiano’s
160 N. Gulph Road
King Of Prussia, PA 19406

Register: http://devmeetupphiladelphia.eventbrite.com/
Lanyrd Page: http://lanyrd.com/2010/esri-dev-meet-up-philadelphia/