LocalBar: Install BAR files directly from your PlayBook
- Try browsing this page on your PB, might be easier to find the BAR files:
Converted APKs - BBXTeam Wiki11-06-11 08:21 PMLike 4 -
- Hello, I have a problem.
Every time I side load a converted android app (.apks to .bars using this app) that has been marked TESTED AND WORKING in a thread, and try to open it, it just does nothing. please help :S I see the icon, it works but the app itself doesn't.11-08-11 05:28 AMLike 0 -
-
-
-
Posted from my CrackBerry at wapforums.crackberry.com11-08-11 11:13 AMLike 0 - SlcCorradoBlackBerryI initially upgraded to 2.0. Had issues loading .bar files via sideload. Did a security wipe, no luck. Did another security wipe, no luck. Went back to 1.07, then when the new beta came out, upgraded. Was able to sideload localbar and angry birds. Loaded kik,kindle and skyfire via localbar, icons show up, click on em, nothing. Rebooted multiple times, deleted and reinstalled, nothing. Guess I'll have to try and sideload as opposed to using localbar. Very weird.
Posted from my CrackBerry at wapforums.crackberry.com11-08-11 11:20 AMLike 0 - 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.
I tried to connect to "https://localhost/cgi-bin/login.cgi?request_version=1" from Android code but I got exception saying "No route to host". Even with "https://127.0.0.1/cgi-bin/login.cgi?request_version=1"
FYI, I set up the SSL as following, this code extracted from BarDeploy.jar
Code:protected void initHttpClient(HttpClient httpClient) throws NoSuchAlgorithmException, KeyManagementException { HttpProtocolParams.setUserAgent(httpClient.getParams(), "QNXWebClient/1.0"); TrustManager[] trustAllCerts = { new X509TrustManager() { public X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted(X509Certificate[] arg0, String arg1) { } public void checkServerTrusted(X509Certificate[] arg0, String arg1) { } } }; // SSLContext sc = SSLContext.getInstance("SSL"); // sc.init(null, trustAllCerts, new SecureRandom()); try { KeyStore trustStore = KeyStore.getInstance(KeyStore .getDefaultType()); trustStore.load(null, null); SSLSocketFactory sslSocketFactory = new MySSLSocketFactory( trustStore); sslSocketFactory .setHostnameVerifier(new AllowAllHostnameVerifier()); Scheme sch = new Scheme("https", sslSocketFactory, 443); httpClient.getConnectionManager().getSchemeRegistry().register(sch); } catch (Exception e) { e.printStackTrace(); } } public void printDetails(){ Log.i("device IP: ", ""); } class MySSLSocketFactory extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("SSL"); public MySSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException { super(truststore); TrustManager tm = new X509TrustManager() { public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { } public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { } public X509Certificate[] getAcceptedIssuers() { return null; } }; sslContext.init(null, new TrustManager[] { tm }, null); } @Override public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException { return sslContext.getSocketFactory().createSocket(socket, host, port, autoClose); } @Override public Socket createSocket() throws IOException { return sslContext.getSocketFactory().createSocket(); } }
11-10-11 10:04 AMLike 0 - 11-11-11 09:54 AMLike 0
- I skimmed the thread so may have missed the answer to my question:
How do you REMOVE or UNinstall a bar file installed with localbar? I tried using DDPB but it does not show the apps installed by localbar, only those installed using DDPB itself.
So, do you just press/hold on the icon on the "homescreen" and then Delete it or is there a more formal way to UNinstall these bar files?
Thanks in advance.11-21-11 09:20 PMLike 0 - F2, any of the available ways to install or delete apps work in the same way, so yes, merely touch/hold and Delete will do exactly what any other approach will do. Unless something goes wrong, and I haven't heard of it yet, the entire sandbox for the app (data and code) will be removed, along with some metadata. (I think possibly it remembers permission settings and reuses them on reinstall, but I've never checked that myself.)11-21-11 10:36 PMLike 0
-
- This app has been working flawlessly for me up untilnow. Suddenly I am getting an Error 'unable to retrieve data' ...... help?11-30-11 04:44 PMLike 0
-
- Forum
- BlackBerry PlayBook Forums
- PlayBook Apps & Games
LocalBar: Install BAR files directly from your PlayBook
LINK TO POST COPIED TO CLIPBOARD