You know, I’m addicted to rotating knobs. And this is my new version. This one works over Wifi. So it works for desktop and mobile, native and Adobe Air. It is build with an Arduino Leonardo, a RedFly Wifi Shield and a ProtoShield with 10 buttons, 1 rotary encoder and 3 LEDs.
On the software side I’m using the OSC protocol over UDP which is very fast and responsive.
iPad

THE KNOB I – a hardware iPad knob
Here is a video of my first hardware knob for the iPad
Maybe a little bit more later.
Adobe AIR Gyroscope Native Extension with Euler Angles (roll, pitch, yaw) for iOS
UPDATE: I have released the extension including source on google code with some changes.
Euler Gyroscope ANE on Google Code
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
Build an iPad app in a few hours.
The challenge:
„We need a small iPad app. Just four buttons, every button opens a video. Today!“
I thought, „OK“. I had only a freshly installed Mac and an Apple developer account.
Continue reading
Kinderlieder Karaoke Update
Meine Kinderlieder App ist im iTunes Store in der Versionn 1.2 erschienen.
Neu ist eine speziell angepasste iPad Version.
Viel Spaß damit.
Fastest way to install debug build on iPhone.
If you are developing with an other framework than Xcode, Flash or Appcelerator Titanium it is a long way to get the .ipa file installed on your iPhone. You have to update the .ipa in your iTunes or the iPhone Configuration Utility and than you have to Sync your iPhone again. That needs time an many clicks and drag & drop operations. So I found a new way. It makes use of the OTA (Over The Air) installation feature of IOS 4 and higher.
Step 1: Configuration
- Install (If you did not have one installed already) a web server on your local machine. MAMP on Mac or XAMPP on Windows
- Create a new directory for the OTA files somewhere
- Create an alias in your http.conf to that folder
Alias /yourapp "/Users/christoph/Documents/path/to/OTA"
- Use iOS Beta Builder to create the files to the OTA folder
- Open Safari on the iPhone type in your local machines ip plus alias e.g.: http//192.168.0.40/yourapp. Click install and OK
Step 2: Use it after every build
And everytime you have an update you have only to do these steps (iOS Beta Builder is opened and used one time):
- Switch to iOS Beta Builder, press „Generate Deployment Files“, the folder should be correct, so just „Choose Directory“
- Switch to Safari, press the install link from the already opened local machines URL
For me it’s time saving.
Any other ideas how to improve the process to get .ipa files installed on the iOS device? Please comment.
Update: The Dräger Carina Simulation is now available on the iPhone.
Last week Apple reviewed the Dräger Carina Trainer Simulation App. This App was first developed with Adobe Flash for the Desktop. And then was a little bit changed to fit on the smaller screen, but the codebase is the same. At some places I needed to do some optimization because of the lower processor power, but now it works fine and was published with the Adobe Packager for iPhone.
Resign an iPhone App, insert new Bundle ID and send to Xcode Organizer for Upload
The challenge: Create a Flash App, pack it with the Packager for iPhone with my certificate and provisioning profiles, send it to the client that he can resign it with his informations and import it into Xcode Organizer for validating and uploading to the App Store.
Continue reading
„Kinderlieder Karaoke“ – Meine erste iPhone App
„Kinderlieder Karaoke“ ist nach langer Registrierungs- und Reviewzeit seitens Apple nun endlich im App Store verfügbar. Es ist eine App für Eltern die mit ihren Kindern singen wollen, aber weder Texte oder Melodien kennen.
Probiert es einfach selbst aus:
Encode and deliver MP4 Video for Flash, iPhone, iPad, Android, Quicktime with timeshift possibility
A big challenge was to find a solution to encode and deliver videos for as much platforms as possible. The only thing that was clear I had to use mpeg4 for max. compatibility.
Continue reading