Debug Javascript in A Mobile Browser

I’m not sure I would want to try and pronounce the name of this open source project in mixed company. But next time you need to debug a website running within a mobile browser, you might want to whip out your weinre.

Rock Out With Your Weinre Out

The Weinre name is an acronym for WEINspector REmote. And they give a couple of guesses at how to pronounce it. But other than that it does what it says on the label: It lets you use Chrome debug tools on a desktop to debug a live site running in a webkit browser on Android or iOS.

To use it, you run a small app on your computer, and then place some javacript on the page to be debugged and you’re in business.

Its not trivial to setup and use, but its a huge step up from the guess-upload-reload options alternative. Hopefully in future builds they will find a way to make it even easier to use, and hey maybe also change the name.

I suggest “Dachshund”.

Posted in Tutorials | Leave a comment

Add your facebook app to a tab.

At some point it was trivially easy to add a facebook app to a page you controlled. You just clicked the “add to my page” button in the Marketplace page.

But this is facebook, and nothing that works is left unbroken. So they retire the market page, and lo! There is no longer a way to easily add you app to a page, unless you create a page that others can use to add you app to a page.

Well, that’s slow and tedious, and what is worse, you will forget how to do it each time. So until facebook fixes this, here is the Facebook Tab Adder. It’s a very very simple swf that you use to create an add to page dialog in your browser.

This movie requires Flash Player 10

To use it, just add you app ID (not your secret key) and then add a URL on the same domain where you app is hosted, and click “Add It”.

Posted in Tutorials | Leave a comment

Adobe Supports SOPA

Adobe, what a great year. First you kill off flash mobile. Now you do something that is not just stupi9d but morally wrong?
You’re supporting SOPA?
There is one finger on my hand, that I raise in your direction, Adobe. And its not a thumbs up, or a pointer. It’s in the middle.

Posted in Tutorials | Tagged , | Leave a comment

Fix Flash Log Problem With Photoshop

It's Big It's Heavy It's Wood!

What rolls down stairs alone or in pairs Rolls over your neighbor's dog? What's great for a snack and fits on your back? It's Log, Log, Log!


Are your trace messages not getting logged from flash?

Are you also using photshop? (who isn’t?)
Well here is the fix to get your flash logging again, and kill that stupid photshop flash log bug.
If you use Adobe CS5, and also develop flash apps, you may have noticed that you cannot debug swf files when photoshop is running. And if you happen to use photoshop a lot, its simply not an option to have to close and open it every time you test a swf.

In fact its pretty lousy that you cant debug flash with photshop open. Boo Adobe for compiling a swf tool that works in photoshop, but exporting it for debug, and not for release. If you hapen to work at adobe and are reading this, here is a hint. Select “for release” when you compile your swf.

Anyway, here’s the fix. You just have to delete a few files. from a plugin extension that nobody ever uses anyway.

This solution was found in the help files of this project on google code:

Vizzy Flash Tracer

Here are the files to delete:

Scripting extension in Photoshop is also blocking flash log file. It’s located here: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions. You should delete these files or just backup them to other folder:

ScriptingSupport.8li
ScriptUIFlexPhotoshop.swf
ScriptUIFlexServer.swf
ScriptUIFlexServer-app.xml

Posted in Tutorials | Leave a comment

10 Billion Android Downloads and Counting

Google is celebrating 10 billion app downloads from android market this week with a pretty amazing promotion: they are selling 10 different premium apps for 10 cents each. There are 10 new apps each day. I apready picekd up two today, including Minecraft portable, usually $6.99!

Check it out yourself.

Posted in News | Tagged | Leave a comment