U10 Key firing

Mobile News No Comments »

I am on a bit of a U10 kick recently after doing a U10 game for my presentation at Flash Forward. Craig Babcock wrote a comment on my previous entry and as I started to rant I thought it would be better to respond as a post rather than a comment. The U10 breaks every notion of key events that I have had and manages to be internally inconsistent with itself.

In Flash 4 player world, you don’t have Key.isDown to poll a key position to do smooth interactions. Instead you rely heavily on the accessibility feature of key repetition. You hold down a key and it fires once, pauses, and then fires repeatedly and rapidly. It doesn’t make for the best experience, but with some ingenuity, you can make pretty fluid movement.

On the U1o, when you add your SWF to the device, you quickly find that the key never fires. Since we are using an accessibility feature, I wasn’t all that pissed that key repeat didn’t work for a device like this, even though I was disappointed since this narrows the types of games I can make. What did frustrate me though is that the key repeat does happen on the device UI. In menus, holding down the side of the player (the key) will continuously scroll (and even accelerate and optimize the display) until you let go. In media player and radio settings, there is functionality that relies on your holding down the button for a longer period of time.

Clearly something strange is going on. I have a few guesses of what could be going on (I have no evidence to support any of these ideas):

  • FScommand2 - Perhaps there is a custom fscommand2 that can poll the key like Key.isDown. This would be essentially impossible to detect as long as it is only implemented in the protected UI.
  • Different Player - The Flash games are running in a separate instance of the Flash player from the UI. You can tell this because you can set the frame rate of your game without it being slaved to a master SWF frame rate. You can also use background color and the _target for your file’s main timeline is just /. You can also tell that the UI player is not destroyed since randomized backgrounds still show their original pattern for a moment before being re-loaded. Since they are separate player instances, it has gotten me wondering if they are separate player versions. The player isn’t huge for a storage device like an MP3 Player. If I wanted to add functionality like the ability to launch the video or other broader actions and didn’t want this functionality exposed to the developer API, having a custom player for the trusted content would certainly be a route I would want to explore. None of the device identification elements seem specific enough to provide useful information on this theory.
  • on() event shenanigans - I have the most negative evidence for this one. I thought that they might have mapped another key on the keyboard for for the purpose of a keyUp action so I created a button that maps every key that I could think of that was mappable in Flash 4. None returned anything unexpected. The only other things I can think of is a custom event like a keyUp (though that precise name didn’t seem to work) or there is a key that I am not thinking of to listen for.

Since I am pretty well thwarted I only have one possible test left. Some of my experiments with the UI have ended up screwing up the buttons. If I can find where they sit and unload the parent of the buttons, any buttons I add in my custom SWFs should start firing.

IMPORTANT NOTE: If you decide to give this a try, put your actions in something like a thumbnail file, NOT the background. If you screw up your UI in a thumbnail, you can restart the device and go back to the main menu. If you screw up your background, you could make it very challenging to get the device able to sync to your computer to overwrite the bad SWF. Since the device uses Flash buttons to give permission to the Power & Data selector, you need this to remain functional. Luckily, the power button seems to be a device control, not a Flash UI control, so you shouldn’t be able to break that.

U10 AC adapter

Mobile News No Comments »

A co-worker stopped by today to ask if I knew of an AC adapter for the Iriver U10. While IRiver doesn’t sell an AC adapter. You can pick one up pretty cheaply (at least for today). Since the U10 does everything through a cable that is proprietary at one end and a standard large-size USB at the other end, you can always just pick up a USB to AC adapter.

If you already have the IPod USB power adapter, you are good to go.

While on Iriver’s site, I noticed that there is a wallpaper creation contest that is in the voting phase right now. Take a second to vote; it is always a good idea to encourage these sorts of interactions with the community!

Flash Lite 3 Developer Edition - Now Available on Adobe Labs

Flash Lite No Comments »

Great news, the waiting is over. Starting today developers can download the Flash Lite 3 Developer Edition for supported handsets via Adobe Labs. You can get all of the information on the site but here are a few key things to mention:

Developer Edition only
This Flash Lite 3 player is for developers only and is not for end-users (consumers) and can not be distributed with any Flash Lite content.

No IMEI required
The installer (SIS file) does not require a developer to provide their IMEI (also known as serial number) to Adobe in order to get the player. Any developer that has a supported device can install the player. There is a brief start-up splash screen that appears each time the player is launched - this is in place because it’s the developer edition. Handsets that commercially ship with Flash Lite 3 pre-installed will not have this start-up splash screen.

Standalone Player only
The Flash Lite 3 Developer Edition is only the standalone player and will show up as an icon in the applications folder as “Flash”. The pre-installed Flash Lite player that’s already on a device will be in the same folder and called “Flash Player” - so there will be two similar icons. Testing of SWF files can only be done through the standalone player; web browser, screensaver and wallpaper content types are not supported.

Supported handsets
The Flash Lite 3 Developer Edition has only been certified by Adobe on the Nokia N95 (non-US 3G version). Technically it should work on any Nokia S60 3rd edition or later devices. Adobe has not certified Flash Lite 3 Developer Edition on any other Nokia S60 3rd edition devices and cannot guarantee that the player will work on them. Other Nokia S60 3rd edition or newer models include: 3250, 5500 Sport, 5700, 6110 Navigator, 6120 Classic, 6121 Classic, 6290, E50, E51, E60, E61, E61i, E62, E65, E70, E90, N71, N73, N73 Music Edition, N75, N76, N77, N80, N80 IE, N81, N81 8GB, N82, N91, N91 8GB, N92, N93, N93i, N95, N95 US 3G, N95 8GB.

Uninstalling a previous version of Flash Lite 3 Developer Edition
If you were a developer who submitted your IMEI number in October and received an early version of the Flash Lite 3 Developer Edition in October it’s recommend you uninstall the current version and install this new version.

Developing Flash Lite 3 content
In order to create Flash Lite 3 content developers will need to update both Flash CS3 and Device Central CS3 - both are free updates.

Unlocked iPhone and iPhone SDK in Feb 2008

Flash Lite No Comments »

I got this news via fiercewireless.com newsletter. This is really a big news I guess, but there’s a catch. AT&T have a deal with Apple, and US guys won’t be getting an unlocked iPhone officially at least for next 4-5 years. But rest of the world where Apple didn’t made any “exclusive sales” deals, for example China, where already number of clones are on sale.The second part of the Jobs open letter is a bit interesting, the iPhone SDK will be available in Feb 2008, and it will allow developers to create “native” applications. I think Apple will use similar signing process, as Nokia S60 3rd Edition devices do, to protect users from malware and viruses. Its good thinking as far as process for signing remains simple and fast, like Symbian Express Signing that will be in affect from early November.

Wordpress Themes & Wordpress Themes by N.Design Studio
Entries RSS Comments RSS Login