Use the command line tool to convert an Android app to a BlackBerry PlayBook app

Source: Internet
Author: User

Yesterday I wrote an article about Android app conversion. I used BlackBerry's online Conversion Tool to convert Android apps into BlackBerry PlayBook apps. Some netizens reported that the method was a bit difficult, so today we need to add a new conversion method: Use the command line tool to convert the Android Application to the BlackBerry PlayBook application.

The first thing to note is that the command line tool is easy to use, but it has certain requirements for users. Although there are many steps to use online web pages for conversion, the operation is relatively simple. Therefore, it is recommended that you use the online conversion tool from the previous blog post.

If you want to use the command line tool for conversion, You need to download the command line tool from the BlackBerry manager network, as shown below:

The downloaded file is a zip file named commandlinw.ls.zip. After decompression, A commandlinw.lsforrepackagingapktobar directory is provided. The bin directory is the directory where the command line tool is located.

Add the preceding bin directory to the path environment variable and enter the command line interface to start the conversion.

Note: This tool is executed in java and JRE needs to be installed.

There are three main tools used:

Apk2bar: used to convert an Android apk file to a PlayBook bar file.

Blackberry-signer: used to sign the generated bar File

Blackberry-deploy: Used to deploy bar files and upload bar files to PlayBook.

Apk2bar usage:

Apk2bar <apk file name to be converted>

Apk2bar example:

Apk2bar MyHello.apk

Blackberry-signer usage:

Blackberry-signer-storepass <Certificate file Password> <name of the bar file to be signed>

Example of blackberry-signer:

Blackberry-signer-storepass mypassword MyHello. bar

Blackberry-deploy usage:

Blackberry-deploy-installApp-device <PlayBook IP address>-package <bar File Name>-password <PlayBook password>

Example of blackberry-deploy:

Blackberry-deploy-installApp-device 192.168.0.104-package MyHello. bar-password 1234

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.