Summary: Ben Forta's Blog - Mobile
ColdFusion, Flex, Java, Mobile and Wireless, and whatever else tickles my fancy.
Fellow Adobe evangelist Christophe Coenraets recently
posted a three part article on building a CRUD
application using HTML and the Backbone.js framework. He has now
followed it up with a
post on building a mobile app using Backbone.js
And PhoneGap.
Date Published: Feb 06, 2012 - 6:57 pm
PhoneGap 1.4 has
just been released, and
here's a list of all that has changed.
Date Published: Feb 01, 2012 - 11:26 am
jQuery Mobile 1.0.1 has been released, full list of enhancements in
this blog post.
Date Published: Jan 31, 2012 - 9:46 am
The default jQuery Mobile page transitions are slide for pages and
pop for dialogs. And on Android these can be sluggish and appear to
flash on and off annoyingly. Turning off transitions is easy, well,
once you know the code you need. The following (which is not overly
clear in the docs) was given to me by fellow Adobian, and jQuery
Mobile contributor, Kin Blas.
dollarsignr(document).bind("mobileinit", function() {
dollarsignr.mobile.defaultPageTransition = "none";
dollarsignr.mobile.defaultDialogTransition = "none"; });
Simple, right? Well, there is one catch. The mobileinit event has
to be bound
before jQuery Mobile is loaded. In other words
it needs to be after your code that loads jQuery, but before the
code that loads jQuery Mobile. You can put it right inline, or in
its own .js file, which you can include.
Date Published: Jan 05, 2012 - 5:49 pm
Need legally-binding electronically signed documents on the go?
Check out the free
Adobe EchoSign app.
Details hereDate Published: Dec 21, 2011 - 9:13 pm
jQuery lets you manually manipulate controls like lists. For
example, you can do something like this to add an item to a list:
$('#myList').append('
-
Some text
-
'); In jQuery Mobile, if you manually update lists like
that, then when you are done you must force the list to refresh
so that formatting and styles are applied. To do this, just
use: $('#myList').listview('refresh'); But, there
is one gotcha you should be aware of. jQuery Mobile apps are
usually comprised of pages, each defined with a
, and often with multiple in the same .html file. jQuery (and
thus jQuery Mobile) lets you manipulate any controls in your page,
so you can append or change controls in a page not currently being
displayed. But, the .listview('refresh') call? That will only work
if the control is on the currently displayed page. If you try to
.listview('refresh') a control on a page that is not displayed,
you'll see this error:
Uncaught cannot call methods on
listview prior to initialization; attempted to call method
'refresh' So, if you do need to update controls on a not
currently displayed page, remember to load that page before
triggering the refresh.
Date Published: Dec 12, 2011 - 11:47 am
jQuery is freaking amazing, you all know that already.
jQuery Mobile? It's a
great v1 effort (and it just won the
Innovation of the Year award), but is not quite
as complete as it needs to be. If you are playing with jQuery
Mobile, you owe it to yourself to check out
JTSage's jQuery Mobile
plugins,
DateBox (a date and time picker, it blows away the
in development jQuery Mobile experimental
datepicker), and
SimpleDialog (a replacement for JavaScript alert()
or dialog()). Both are must haves!
Date Published: Dec 09, 2011 - 10:31 am
My BlackBerry PlayBook hung yesterday. It took some digging to find
the magic "hard reset" button, so I'm posting it here for when I
need it next. Simultaneously press the power button and the volume
down button, and hold for 10 - 15 seconds. Tada!
Date Published: Dec 08, 2011 - 11:15 am

A group of my
fellow Adobe evangelists have created the
Game of Flex for
iPad, Android tablets, and (soon) Blackberry PlayBook. The game
consists of questions to quiz you on Flex development. If you
correctly answer the quiz, you'll get a chance to win a copy of
Flash Builder 4.6 (one license per month). Game of Flex is not only
a game, it's also a fantastic learning tool that showcases all the
new features of Flex 4.6.
Date Published: Dec 08, 2011 - 10:47 am
Now on Adobe TV:
Date Published: Nov 30, 2011 - 4:11 pm