| | 05-14-11, 06:07 PM Thread Author #1
Simple way to install "BAR" applications on your Playbook without AppWorld (UPDATED!)
So, since AppWorld is taking forever to get applications built, and there are members of the community here that are developers of applications we would like to try out! An example is Searching for Humans, they provided a bar file for people to download so they can try their application before it hits AppWorld.
Problem is, most people don't have the desire to install the entire SDK just to push an application to their PB. I decided to take out just the files needed to push a signed bar file to a development mode enabled PB. Also, I created a batch file to make the install process simple and easy from within Windows. (Shouldn't need to drop to a command line to use it) This won't let you load up development / debug bar files, only files signed by the developer will load through this tool.
Here's what you need to do -
Set a password on your Playbook and turn development mode on. (Options -> Security)
You'll want to make sure you have the latest Java Runtime Environment installed on your machine. Right now they're at version 1.6 update 25, and you can download the latest for your system here: Java SE Runtime Environment 6u30 Downloads
And finally download the zip file provided below that has the needed libraries to load the application to your tablet, and a batch file to simplify the installation procedure.
Open the batch file (PB-Instaler.bat) in notepad and edit the lines "TABLETIP" and "TABLETPASS" up at the top to match the hostname or IP address and password on your playbook. (At homescreen press the person icon with the gear in their shirt at the top to get your current IP address) Save the file when you're done.
Now all you have to do is drag a bar file onto the PB-Installer.bat icon. It will launch in a window and start attempting to push it to your device.
I've included my free app from app world, SimpleBrowser, with this zip file.
You can use this file to test the loading process listed below.
Also included with it now is a new batch file PB-Connect.bat. This file will setup a connection with your PlayBook so you can use the developer mode SSH connection. You really should go create your own private key pair files, but I've included ones that are known to work along with a matching converted PuTTY ppk file for those that just want to get going with it. These key files are 4096 bit and do not require a password, they're just included for convenience.
Open up PB-Connect.bat and set your IP address, password, and change the PUBKEY entry if you would like to use your own public key file. After that you should be good to make a connection to the PlayBook, double click it and you will see the progress in the window.
Once a connection is established you can go into your SSH application and make a connection to the PlayBook, but don't forget to set your private key file before connecting!!! If you're just getting started with SSH and all that, download PuTTY and plug in the IP address of your PlayBook on the first screen, then in options tree on the left navigate to "Connection->SSH->Auth". You want to set the "Private key file for authentication:" to be the included "rsa-putty.ppk" file if you're using the included keys.
Let me know if you try this and how it works for you!
Made some changes again!!! Now you can drag multiple BAR files onto the batch file and it will load them up one by one, makes it much easier to install multiple applications at once. Additionally I've included another utility, PB-Connect can be used to setup your PlayBook for an incoming SSH session. This is a nice quick way to setup the connection and then you can use PuTTY or your favorite SSH client.