cosc 5/4730 sign, convert, and install android files on blackberry playbook
TRANSCRIPT
![Page 1: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/1.jpg)
Cosc 5/4730
Sign, convert, and install Android files on Blackberry Playbook.
![Page 2: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/2.jpg)
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
![Page 3: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/3.jpg)
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.
![Page 4: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/4.jpg)
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.
![Page 5: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/5.jpg)
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.
![Page 6: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/6.jpg)
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-windowsdirectory.
![Page 7: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/7.jpg)
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)
![Page 8: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/8.jpg)
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.
![Page 9: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/9.jpg)
• The setup is now complete!
![Page 10: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/10.jpg)
Converting and signing an .apk
• On the Build an Android tab
![Page 11: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/11.jpg)
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.
![Page 12: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/12.jpg)
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.
![Page 13: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/13.jpg)
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.
![Page 14: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/14.jpg)
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).
![Page 15: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/15.jpg)
Installing (2)
• Get the IP address of playbook (found in development mode icon)
• Enter the IP and password you set• Click install.
![Page 16: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/16.jpg)
Installing (3)
• As a note– formExample won’t launch (error 22) on the
playbook. No idea why.
![Page 17: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/17.jpg)
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.
![Page 18: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/18.jpg)
Installing (4)
• You get a please wait
• Finally you get:
![Page 19: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/19.jpg)
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.
![Page 20: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/20.jpg)
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.
![Page 21: Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook](https://reader036.vdocument.in/reader036/viewer/2022062421/56649dd35503460f94acb205/html5/thumbnails/21.jpg)
QA&