roguish

Category: Mobile

Mixing Stage3D with Display List — Performance Test

A demo was recently released by Adobe (Thibault Imbert, Blog Post). It features an optimized use of Stage3D. By grouping assets that use the same texture, the number of drawTriangles calls is minimized. Adobe wrapped up this principle in a little framework (called GPUSprite) based on a metaphor of a stage with layers of content containing sprites.

The framework is clever and is a great starting point for understanding Stage3D optimization. I was surprised to see that a framerate measurement layer was placed over the top of the Stage3D content in a traditional Display List layer. It was my understanding that any Display List content over Stage3D would have a significant performance impact. To test this, I modified the sample to display the framerate in a new Stage3D layer and ditched the Display List (actually, you can toggle between the 2 views). Read the full article »

Screen Captures with 3 Mobile Device Types

Over-The-Shoulder Quick Tip

Here’s how to capture a screenshot of various mobile devices while they are running:

iOS:
Press-and-hold the home button then while still holding the home button down press-and-release the sleep button. The screen will flash white and you’ll hear a snapshot sound. Tested on iPhone 3GS and iPad v1.

Android:
Only solution is with a connected computer. Use the Android SDK softwware while the device is attached to your computer. http://www.addictivetips.com/mobile/how-to-take-screenshots-of-android-device. Tested on Google Nexus One.

BlackBerry PlayBook:
Press the Volume Up and Volume Down buttons at the same time.

To Kill or Pause an iOS App (when it’s Deactivated)

When an app is deactivated on iOS you can kill it instead of allowing it to continue running in the background (background running is the default behavior). Use the UIApplicationExitsOnSuspend property in the application configuration XML file:
<key>UIApplicationExitsOnSuspend</key>
<string>YES</string>
Adobe doc*

* please note the revised syntax and description from Holly Schinksy:
<key>UIApplicationExitsOnSuspend</key>
<true/>
http://devgirl.org/2011/06/24/exit-vs-suspend-your-ios-application/ Read the full article »

AIR 2.7 SDK Phantom Update (now with iOS fullscreen/gpu)



iOS developers trying to use the AIR 2.7 SDK have noticed that they’re unable to publish with the following combination of features: GPU/Fullscreen/Landscape mode. Adobe has updated the AIR 2.7 SDK release to fix the problem (users confirm it was fixed for iOS only), but there has not been an announcement about it nor is there any date on the AIR download page to suggest that the SDK has been updated. Get it here: http://www.adobe.com/products/air/sdk/ Read the full article »

Mobile Performance Tester — Now Live in App Stores

Performance Tester Icon
The Roguish Mobile Performance Test Application has been released on 3 mobile platforms: iOS, BlackBerry PlayBook and Android. The app is designed to demonstrate the performance difference with various Flash development settings and techniques. I’ll update this post with more details about the app and performance test results.

The app was published with Flash Builder 4.5 and the AIR 2.7 overlay.

Below are the download links in the various app stores: Read the full article »

BlackBerry PlayBook First Impressions/Use Tips

BlackBerry PlayBook In HandMy BlackBerry PlayBook arrived recently. Here’s a few first impressions, discoveries and comments about it. Read the full article »

JVM Terminated: Java 1.6 on Mac OS X 10.5.x (for PlayBook) breaks Flash Builder

The Problem: JVM Terminated
You are a Flash developer using Flash Builder and a Mac running OS X Leopard (10.5.x). You want to develop an app for the new BlackBerry PlayBook using Adobe AIR so you get everything you need from the BlackBerry site (http://us.blackberry.com/developers/tablet/adobe.jsp) and install it according to the instructions.

Once you have the BlackBerry SDK installed, VMWare installed and running the BlackBarry virtual machine simulator you’re all ready to head over to Flash Builder to output your AIR project to try it in the Simulator. To your surprise, Flash Builder won’t launch! Read the full article »

Tricky end-game — signing your PlayBook apps

Here’s a Fantastic blog post by Adobe Platform Evangelist Hemanth Sharma with detailed step-by-step instructions to help you through the tricky end-game of deploying an AIR app to the new Blackberry Playbook — getting setup to sign and submit your app.

10 Easy Steps to Package and Sign AIR Apps for PlayBook

http://www.hsharma.com/tech/tutorials/10-easy-steps-to-package-and-sign-air-apps-for-playbook