Saturday, November 17, 2012

Migrating your Android app from BlackBerry PlayBook to BlackBerry 10

Here?s a guest post on porting Android apps ? Ed.

TITLE_IMAGE

As you will see below, there?s very little (usually just an icon change) required to transition you app from the BlackBerry? PlayBook? to BlackBerry 10, or the other way around. So even if you haven?t submitted your Android app for distribution to BlackBerry App World? yet, now is a great time to do so.

Icon size

The main difference to consider when you migrate your app from BlackBerry PlayBook to BlackBerry 10, is a change in the recommended icon size. Be sure to update your app?s icon to take advantage of the higher resolution and have your app stand out in the app grid. The suggested icon sizes are as follows:

BlackBerry PlayBook: 86x86px

BlackBerry 10 full touch devices: 114 x 114

BlackBerry 10 keyboard devices: 114 x 114

Fixed orientation

BlackBerry 10 smartphones are fixed to display content in the portrait position, unless your app uses the accelerometer to adjust the UI layout based on the portrait (vertical) or landscape (horizontal) positioning of the device.

API (sub) set

The good news on the API front is that once your app is functional on the BlackBerry PlayBook, than it will have no problems running on BlackBerry 10 smartphones. You can think of the supported APIs on BlackBerryPlayBook as a subset of the BlackBerry 10 APIs. Everything that is supported on PlayBook, will be supported on BlackBerry 10 and more. Feel free to reference our API support page, as well as our API roadmap.

Resolution Differences

If your application is drawing the UI directly, take note of the change in resolution for both the full touch and keyboard devices. Otherwise, the BlackBerry Runtime for Android apps will scale your app accordingly to fit on the screen.

BlackBerry PlayBook: 1024 x 600

BlackBerry 10 full touch devices: 1280 x 720 (16:9)

BlackBerry 10 keyboard devices: 720 x720 (1:1)

Vendor portal

BlackBerry App World has already opened its doors for you to submit your Android app for BlackBerry 10 full touch model. ?To support BlackBerry 10 with an existing Approved/Up for Sale application, please submit it as a new release. Otherwise, when you?re creating a new release in the BlackBerry App World Vendor Portal, you will now see a new Family called ?BlackBerry 10? and one new device ?All Touch?. You can select ?All Touch? to target your app for BlackBerry 10. The BlackBerry 10 Dev Alpha is also still available for targeting your app for testing purposes.

Related Posts

Source: http://feedproxy.google.com/~r/blackberry/CAxx/~3/4xLWdNj1eSE/

university of alabama national championship game bcs game lsu vs alabama college football college football ncaa football

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.