Archive for the 'iPad' Category

Adobe AIR Gyroscope Native Extension with Euler Angles (roll, pitch, yaw) for iOS

Add a comment

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.

Add a comment

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

Add a comment

Meine Kinderlieder App ist im iTunes Store in der Versionn 1.2 erschienen.

Neu ist eine speziell angepasste iPad Version.

http://apps.xplore-it.de/

Viel Spaß damit.

Fastest way to install debug build on iPhone.

Add a comment

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

  1. Install (If you did not have one installed already) a web server on your local machine. MAMP on Mac or XAMPP on Windows
  2. Create a new directory for the OTA files somewhere
  3. Create an alias in your http.conf to that folder
    Alias /yourapp "/Users/christoph/Documents/path/to/OTA"
  4. Use iOS Beta Builder to create the files to the OTA folder
  5. 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):

  1. Switch to iOS Beta Builder, press “Generate Deployment Files”, the folder should be correct, so just “Choose Directory”
  2. 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.

Add a comment

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

5 Comments

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

Add a comment

„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:

Kinderlieder Karaoke Light im App Store öffnen

Encode and deliver MP4 Video for Flash, iPhone, iPad, Android, Quicktime with timeshift possibility

8 Comments

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 >>>

Simulations of medical devices on touch devices, multi-screen publishing (Desktop, iPhone, iPad, Android …)

5 Comments

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 >>>