1 / 21

Cosc 5/4730

Cosc 5/4730. Sign, convert, and install Android files on Blackberry Playbook. Playbook android . Blackberry places the following limitations on android apps: No launcher Activity (a widget) and two or more launcher Activity. Must have android API level of 10. Unsupported hardware:

thuy
Download Presentation

Cosc 5/4730

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cosc5/4730 Sign, convert, and install Android files on Blackberry Playbook.

  2. Playbook android • Blackberry places the following limitations on android apps: • No launcher Activity (a widget) and two or more launcher Activity. • Must have android API level of 10. • Unsupported hardware: • Telephony, SMS, and MMS (because Playbook doesn’t have it) • Bluetooth, Camera (the camera intent is supported) • NFC, Barometer, Ambient Light and Proximity sensors • VoIP • Unsupported Intents • Android Marketplace and Launcher (home screen) intents • More information can be found here: • https://bdsc.webapps.blackberry.com/android/apisupport

  3. Android-> BB Playbook • Android produces .apk files • The Playbook requires signed .bar files • This lecture will step you through how to convert them without the command line process.

  4. Prerequisites • Request code signing keys - You'll need these right away, so get them ASAP and store them somewhere safe. • Remember your PIN, this is not your device PIN. It's chosen by you and must be alpha-numeric, lowercase and contain 6-10 characters • the keys are free and could take up to a couple of hours before you receive it. • Download The Android Command Line Tools - Don't let the name scare you, you won't really need to use command line. • Download The Android SDK - Grab the version most compatible with your system. ie: Mac for Mac, Windows for Windows. Unzip it and go to the "Tools" folder where you will need to run the file named "Android" and grab the updates. • Download The BlackBerry Tablet OS Graphical Aid - This is the magic that makes it all happen. Make sure you grab the right version. ie: Mac for Mac, Windows for Windows. Unzip and install the file.

  5. Installing. • Open the commandline.zip and drop the folder somewhere you can remember • C:\program files\ is a good spot. • Assuming you already have the android sdk installed • Install the Blackberry Tablet OS graphical Aid • Configuration on the next slide.

  6. Blackberry Tablet OS graphical Aid • It is going to ask you to configure a lot of stuff. • Point the location Blackberry Commandline tools • For the Blackberry WebWorks SDK, Tablet OS SDK, and Blackberry SDK for Android Apps. • Point the location for Android SDK for • Android-SDK-windows directory.

  7. Developer Certificate • Click create Certificate • Follow the directions and finally click next • Register Tablet OS Code Signing keys • They should be in your email (hopefully at this point)

  8. Developer Certificate (2) • Point locations for the two keys. • The CSJ PIN is the pin you created when you ordered the keys • The password, choose one and repeat in both boxes. • If you are doing this for real, just a real password, otherwise just use the CSJ PIN. • Click Register. It should then come processing screen and finally that it is registered.

  9. The setup is now complete!

  10. Converting and signing an .apk • On the Build an Android tab

  11. Converting and signing an .apk • Click the “Choose APK File” • For the rest of this, I’m going to use the FormExampleA.zip from the beginning of the class • Make sure it is using Android 2.3.3 as well in eclipse. • The apk will be in the bin directory of the project.

  12. Check Compatibility • Once you have selected the apk, check it’s compatibility. • A 1 or less is acceptable. • Note, the FormExampleA gets a 1 because of the icon size is not correct. Should 86x86.

  13. Now fill out the rest. • Enter an Author name • Click sign Application, enter the password you choose. • Finally click Build. After a Operation processing, you should hopefully get: • Note the bar created in the same directory as the apk.

  14. Installing. • While there are a lot of ways to install .bar files (side-loading). The aid comes with one. • You need to turn on development mode on the playbook (and set a password).

  15. Installing (2) • Get the IP address of playbook (found in development mode icon) • Enter the IP and password you set • Click install.

  16. Installing (3) • As a note • formExample won’t launch (error 22) on the playbook. No idea why.

  17. As a last note. • I switched a very simple and small app to get around UW’s wireless problems. • It’s called Helloplaybook.zip, which is on the handout page as well, if you want to give it a try.

  18. Installing (4) • You get a please wait • Finally you get:

  19. Uninstall • On the same page as install, you can uninstall the app as well. • Note this is the only way to uninstall a “side-loaded” app.

  20. References • https://bdsc.webapps.blackberry.com/android/apisupport • http://crackberry.com/how-sign-convert-and-install-android-files-your-blackberry-playbook-using-windows-or-mac.

  21. Q A &

More Related