- 11-05-2011, 01:30 AM
Thread Author #1
LocalBar: Install BAR files directly from your PlayBook
update 23 Nov 2011: doesn't work in 2.0.0-4867 (RIM blocks the port for local connection)
update 8 Dec 2011: if you have rooted your playbook, reenable localbar by:
Put it in startup.sh to make it automatic.Code:cat /etc/pf.conf | grep -v '443'| pfctl -f-
update 3 Feb 2012: by startup.sh, i meant the one in /accounts/devuser/
Hi,
I just quickly developed an app that will allow you to install signed BAR files directly from your PlayBook. This app is called LocalBar. To install it for the first time, you will need to sideload the app using some methods that you can find in this forum.
You can download the app, and see the guide from my website:
LocalBar
Edit I was in a hurry when I posted the original message. Here are some additional details:
- I am using https://localhost method. To put it simply: it works like other desktop installers that connect via network or USB, it sends commands to an HTTP service in the playbook. The only difference is that it works through the playbook itself.
- It is possible that in the future RIM may block requests from localhost
- I don't have time to develop nice GUI for this, so I just use the basic GUI API that is accessible using NDK. For example: in the NDK there is a "login dialog" but no "password dialog", so for the password dialog I use the "login dialog" that shows the "user" field (which I don't need).
- This works on OS 1.0.7 and on 2.0
- With this you can sort of OTA install through the playbook. From your PlayBook Just go to a website that has some bar files (for example this forum) , download it using the built in playbook browser, then run LocalBar to install the downloaded bar files.Last edited by tinyhack; 02-03-2012 at 03:45 AM.
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.Thanked by 45:+ Show/Hide list of the thanked -
2ndHalfCor (11-05-2011), badtoyz (11-05-2011), bengalt9 (11-05-2011), bimmerstein (11-07-2011), bluemax413 (11-05-2011), CalS22 (11-07-2011), collapsed (02-20-2012), DaedalusIcarusHelios (11-07-2011), dakid2k6 (11-06-2011), dana_lopez (11-05-2011), DangerMouseUK (11-05-2011), daniel200 (11-06-2011), demzzy (11-05-2011), diegonei (11-05-2011), dudermont (11-06-2011), Foppa_21 (11-09-2011), GlenB (11-05-2011), HaTaX (11-05-2011), jasperlin (11-06-2011), jcarty (11-05-2011), jeffreytoronto (11-08-2011), jesse_h (11-21-2011), jonty12 (11-05-2011), jvictor77 (11-05-2011), KermEd (11-05-2011), livejam (11-05-2011), lyricidal (11-05-2011), mertin.m (11-06-2011), metroside (11-05-2011), mikeplus1 (12-09-2011), mister_turtle (11-05-2011), mscooley (11-05-2011), NaijaBerry (11-06-2011), peter9477 (11-05-2011), project_x (11-05-2011), rob7100g (11-05-2011), SCrid2000 (11-05-2011), sdickie (11-06-2011), sheldonbk (11-05-2011), SlcCorrado (11-06-2011), snoozininsomniac (11-05-2011), SoUnCool (11-06-2011), vecharo (11-05-2011), vi_di (11-08-2011), Wolfgan (11-05-2011)
- 11-05-2011, 01:53 AM #2
Sounds great. I will give it a shot once I'm at pc..
- 11-05-2011, 01:56 AM #3
Damn, trying it now!
Also, you can find instructions on DDPB here: BlackBerry + Android, and thank you DDPB Installer | File Archive Haven - 11-05-2011, 02:01 AM #4
tinyhack: I have REd the sshd connect by the way (save you time).
Developer of PPSSPP, ReQognise, Dingleberry, PB Connect, Sachup + Sachibar and other Qt apps. Porter of many opensource Qt apps. - 11-05-2011, 02:12 AM #5
Nice job! I'm going to take a stab in the dark here, but are you using bps_event_create() to push an install request into the queue?
EDIT:
Nevermind, looks like you're installing it through the https://localhost/ method. Still great work! I'm sure now that the method has been uncovered, there is bound to be some new life breathed into the PB before next year.
Last edited by HaTaX; 11-05-2011 at 02:44 AM.
- 11-05-2011, 02:18 AM #6
wow! this is awesome!
- 11-05-2011, 02:49 AM #8
- 11-05-2011, 02:49 AM #9
Should work with either, was built using the 1.0.7 NDK.
- 11-05-2011, 03:07 AM
Thread Author #11
Yes, you are correct, I am using the https://localhost method. I was wondering why one one implemented this idea before.
It is quite obvious that in development mode we can Install apps through the network, so using the same protocol we can install apps directly from the playbook.TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 03:16 AM
Thread Author #12
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 03:19 AM
Thread Author #13
I have edited my original post to explain this. This is how it works:
When you use the desktop sideloader, you enter an IP address, then connect through the network to that IP address.
LocalBar uses the same protocol, but since it knows that it connect to the same IP address as itself, it can just use "localhost" as the connection address.TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 03:25 AM
Thread Author #14
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 04:33 AM #16
It is working extremely well. Smooth work.
- 11-05-2011, 05:09 AM #17
Wow... great stuff!!
Posted from my CrackBerry at wapforums.crackberry.com - 11-05-2011, 08:13 AM #18
Brilliant! Well worth a donation too. Thank you!
Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
Follow us on Twitter or Facebook or visit Engenuity's mobile apps page. - 11-05-2011, 08:35 AM
Thread Author #19
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 09:08 AM #20
tinyhack, have you tried to get this accepted into App World yet, or have plans to submit it?
Battery Guru for BB10 tracks voltage, power, battery health. (Also on the PlayBook.) White Noise helps you sleep or concentrate.
Follow us on Twitter or Facebook or visit Engenuity's mobile apps page. - 11-05-2011, 09:36 AM
Thread Author #21
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth. - 11-05-2011, 09:59 AM #22
Is it just me.. I don't see a BAR file when the downloaded file is unzipped?
> Update- I changed the file extension of localbar to localbar.bar and it installed - No icon on PB thoughLast edited by sheldonbk; 11-05-2011 at 10:14 AM. Reason: Update
Blackberry Tips & Free Help http://www.facebook.com/bbhelp
Twitter: http://www.twitter.com/sheldonbk
Z10 (OS 10.0.10.672)
Playbook 32 (OS2.1.0.1088) - 11-05-2011, 10:19 AM
Thread Author #24
TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.

Reply
















