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.
Last edited by HaTaX; 12-17-2011 at 04:08 AM.Thanked by 40:
+ Show/Hide list of the thanked
Alt-F4 (12-07-2011), apercu (12-17-2011), bbnutcase (10-26-2011), bengalt9 (10-23-2011), c0rinne (05-30-2011), CanadianThomas (12-14-2011), cl8baller (08-07-2011), daniekl (10-20-2011), deltadiva2 (05-22-2011), diegonei (10-31-2011), dkingsf (05-16-2011), donan71 (10-28-2011), evilgonzo (05-20-2011), GeeReaderDev (05-15-2011), hjkimbrian (03-03-2012), KermEd (10-26-2011), LmH19 (12-31-2011), lyricidal (05-23-2011), Megacharge (12-05-2011), Michele Weisneck (03-06-2012), mikelcal (01-09-2012), Mojoski (05-16-2011), morganificent (04-05-2013), mosquitos (10-19-2011), mtx69 (11-29-2011), NinjaBread (08-09-2011), NooRoticX (12-27-2011), paul386 (10-19-2011), robkd (12-29-2011), SCrid2000 (10-19-2011), sedalia066 (07-22-2011), JDukeOSBB (05-30-2011), Spaceheater (07-02-2011), spid4me (10-19-2011), sstephanie40 (11-04-2011), technomensch (10-20-2011), togardergrosse (07-01-2011), KRol (10-05-2011), Wolfgan (06-01-2011), Xavier85 (08-11-2011)
So has anyone given this a shot? Does it work for you? I'd like to get some feedback on it and make sure it's working smoothly on other people's systems.
Who knows, if this works well enough, I might just throw together a web based installer that developers could use to deploy apps out to users. You would still need a PC in the mix, but it's better then the options we have currently. (None without using AppWorld)
- 07-01-2011, 07:17 PM #9
DAMN! So freakin' cool!
I didn't know that I could do this on WiFi!
Before, I used the USB cable, and today I used WiFi.
Just make sure both your PC/Laptop and PB use the same WiFi.
Ericsson T20s > T28s > T29s > T39m > Sony Ericsson K508i > K640i > BlackBerry Curve 8330 > Bold 9650> Galaxy Nexus & Bold 9900
Galaxy Tab P1000 16Gb, PlayBook 16Gb
Heh, glad to see some people still use this method! I know someone else here made a nice GUI tool, but I always prefer the KISS route.
Glad it's working for you! It is pretty slick to install an app in just a few seconds like you can do with your BB OTA. (In other words, outside of the "marketplace/store/whatever" app)
Just a quick note, I've updated the original post with some new information. I've also included my free application for testing inside the ZIP file so there's no need to go dig up a BAR file now.
I also included some instructions with it so you have a reference without needing to dig this thread up for info.
The batch file is for windows only, but the files for loading the app can be used on pretty much any system with Java installed. There were some people in the android thread that used it to load the android player from their mac using the files in the ZIP. But the batch file won't do you any good on anything but windows, so you'll have to do it manually from a terminal prompt.
- 08-07-2011, 12:38 AM #19
I asked this on the post on the home page but just to quote and quote and I'm a tad bit serious.
Soooooo, "Does it play Doom", I mean Angry Birds.BlackBerry 8900< BlackBerry 9000+BlackBerry 8100< BlackBerry 6210 (Dont ask)<BB 9000< BlackBerry Z10!
Proud BlackBerry PlayBook owner.
Proud BlackBerry Z10 running BlackBerry 10 owner.
- 08-07-2011, 01:12 AM #20
the issues i'm having is finding the google file to download the market. Everything else is allready done. Please some help"Never look down on anybody unless your're helping him up" (Jesse Jackson)
- CrackBerry User
08-07-2011, 12:23 PM #22
- 77 Posts
This looks very promising. However, I'm having trouble getting past the part: "drag a bar file onto the PB-Installer.bat icon". I get a dos window popup with this message when I try the sample SimpleBrowser file: "Java.exe was not found in your path, is the Java runtime installed? Exiting..." I've already installed Java. Does it have to be installed to a particular directory?
Thanks in advance!
Java SE JRE 6u25 Download
I've seen others run into this error because they had the 32 bit JRE loaded on a 64 bit system, make sure you select the right architecture at the link above!