Add a comment November 19th, 2011 by webfraggle
I baked my very first AIR iOS Native Extension. It’s just an adapted version of this version from Adobe. Because in my opinion the data of radians per second aren’t really good to handle. So I looked into Apples API documentation and found out that there are Euler Angles in the CMMotionManager CMDeviceMotion classes. So I just changed a few lines in the Objective-C Code. I learned much from this tutorial Native Extionsion for Adobe AIR and iOS 101 by Liquid Photo
NSString *myStr = [NSString stringWithFormat:@"%f&%f&%f&%f&%f&%f",
rotate.x,
rotate.y,
rotate.z,
motionManager.deviceMotion.attitude.roll,
motionManager.deviceMotion.attitude.pitch,
motionManager.deviceMotion.attitude.yaw];
[motionManager startDeviceMotionUpdates];
motionManager.deviceMotionUpdateInterval = 0;
And added these three parameters roll, pitch and yaw to the Actionscript Gyroscope Event.
new GyroscopeEvent(GyroscopeEvent.UPDATE, _x, _y, _z, _roll, _pitch, _yaw)
You can download source and final iOS .ane Native Extension file here:
iOS Air Native Extension Gyroscope – with Euler Angles
Add a comment November 8th, 2011 by webfraggle
A new feature in Flash Player 11 and Adobe AIR 3 is the feature to use JPEG XR. A enhanced JPEG format.
But how to generate or convert JPEG XR files. I found no Photoshop Plugin. All open source tools aren’t able because of licensing problems. The only tool i found is XN View, which can convert PNG files including the alpha channel to JPEG XR.
But you have to use the “Batch Convert” tool. Only there is the option to convert to JPEG XR.
After converting you can load and use the JPEG XR files via Actionscript. e.g. with a Loader or via embedding. It behaves like a PNG file but with much smaller size while keeping very good quality.
Add a comment November 8th, 2011 by webfraggle
The challenge was to build a Adobe Air 3 Standalone Executable. Also called a “Captive Runtime” or a Bundle.
Here are some better descriptions:
http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
But it was not so easy as it sounds because the order of the adt options are very important!
If the order isn’t correct you get the error “-storetype is required“.
And if you are behind a firewall or no internet connection, the timestamp server isn’t reachable. So use “-tsa none” if you get “Could not generate timestamp: Connection timed out: connect“.
Here is my ant task which do the job with the correct order. But the order of the options in a terminal command should be the same.
<target name="07. [package exe]">
<mkdir dir="${publish.dir}"/>
<input message="certificate password:" addproperty="certPassword" />
<java jar="${sdk.dir}/${adt}" fork="true" failonerror="true" dir="${deploy.dir}/">
<arg value="-package" />
<arg value="-keystore"/>
<arg value="${air.certificate}"/>
<!-- NATIVE_SIGNING_OPTIONS -->
<arg value="-storetype"/>
<arg value="pkcs12"/>
<arg value="-storepass"/>
<arg value="${certPassword}"/>
<!-- <arg value="-tsa" />
<arg value="none" /> -->
<arg value="-target" />
<arg value="bundle" />
<!-- Name Of File To Create-->
<arg value="${publish.dir}/${publish.exe}" />
<!-- App Descriptor-->
<arg value="${application.descriptor}" />
<!-- Files To Package -->
<arg value="Icon*" />
<arg value="Default*" />
<arg value="iTunesArtwork.png" />
<arg value="-C" />
<arg value="${deploy.dir}/" />
<arg value="${deploy.swf}" />
</java>
</target>
Hope this helps some people having the same problems.
Add a comment Mai 8th, 2011 by webfraggle
2001 we did this game together. David painted the graphics and I programmed the flash part. Some time ago I found this on some backups, ported it to AS3 and AIR2.6 and since yesterday it’s available on the Apple App Store.


Have fun with it, load it from the App Store.
5 Comments Juli 1st, 2010 by webfraggle
At innovation mecom, where I’m employed, we developed a simulation for training and marketing of a Dräger NIV ventilator called Carina®. It’s a small handy device to ventilate patients in hospitals. This Flash AS3 simulation reproduces all functions of the real device. So it is possible to get a real good impression of it even without using a real device.
UPDATE: The iPhone Version is online.
The online version of this trainer can be found here.
I did the coding of this simulation and I thought it would be an amazing experience to use this on an iPhone or another touch device.

Continue reading >>>
Add a comment Juni 12th, 2010 by webfraggle
6 Comments September 14th, 2008 by webfraggle

Today I released my GSAK2iPhone tool, which I first coded only for myself. But maybe someone out there in the big geocaching family will find it usefull.
GSAK2iPhone
Add a comment August 23rd, 2008 by webfraggle
fl.explor’r ist im Adobe AIR Marketplace aufgenommen.
Und ich darf mir für 300$ ein Zertifikat für ein Jahr bei thawte bestellen.
Also voted mal ein wenig positiv für mein Tool.
Add a comment August 5th, 2008 by webfraggle
Add a comment Juni 18th, 2008 by webfraggle
AIR 1.1 veröffentlicht. Nun auch in anderen Sprachen außer Englisch:
http://get.adobe.com/air
Es gibt ein offizielles Update-Framework von Adobe Labs:
http://labs.adobe.com/wiki/index.php/Adobe_AIR_Update_Framework