Convert applications or games from Android (.apk) to Blackberry (.bar)

convert apk to bar

Applications and games in Blackberry 10 (BB10) using .BAR as their installer format. Like Playbook, Blackberry 10 also can run android applications and game. But you must convert the files first from .APK to .BAR.

FYI, Blackberry 10 (BB10) using Android Runtime player from Gingerbread 2.3.3 and in updating proccess to jellybean 4.1

convert .apk to .bar is not same with porting.

Preparation

  1. Download
    • Java Platform (JDK)
    • CommandLineTools
    • AndroidSDKTools
    • Platform Tools
  2. Install JDK (JDK-7uXX-windows-i586.exe)
  3. Order Signer Keys
    Make sure you take a note for PIN and company, use valid email to register because the key will send to your email.
    Sometime it`s took 2 hours before they email the key, so be patience.
  4. Make new folders
    Make 3 new folder in your drive:

    1. c:\apk
      this folder will contain .apk files that you want to convert
    2. c:\apk2bar
      place your tools in this folder
    3. c:\bar
      this converted files will goes here (.bar)
  5. Extract CommandLineTools.rar file to c:\apk2bar\
  6. Install Android SDK tools to c:\apk2bar\, make sure “start SDK manager (…)” is uncheck
  7. Extract platform-tools.rar to c:\apk2bar\android-sdk\tools\
  8. Open your email, see if your keys is arrived. When you got those email, it will attach with two .csj files (client-PBDT-xxxxxx.CSJ + client-RDK-xxxxxx.CSJ). Download and save it in c:\apk2bar\bin\
  9. Open windows command prompt (start > run, type: cmd)
  10. Change the work path to apk2bar\bin

    cd c:\apk2bar\bin\

  11. Register the keys, type:

    blackberry-signer –register –csjpin yourPIN –storepass yourpassword client-RDK-XXXXXXX.csj client-PBDT-XXXXXXX.csj

    note: change the red color text with your own
    csjpin is pin that you input when register the keys in earlier steps
    storepass is password that must enter every time you sign in.

  12. wait until you saw this message

    Info: Successfully registered with server
    Info: Successfully registered with server

    this mean your two keys is ready to use. as a note: you can delete .csj files because after is registered then those files is no longer needed.

IMPORTANT!!!
After register the keys, you need make backup for author.p12, barsigner.csk and barsigner.db. These file are locate in:

  • Windows XP

    C:\Documents and Settings\[user]\Local Settings\Application Data\Research In Motion

  • WIndows Vista, 7 and 8

    C:\Users\[user]\AppData\Local\Research In Motion\

change [user] with yours windows user

Convert android application/games installer (.apk) to Blackberry installer (.bar)

  1. Get .apk files that you want to convert and put that file in c:\apk\
  2. Open windows command prompt (start > run, type: cmd)
  3. Change the work path to apk2bar\bin

    cd c:\apk2bar\bin\

  4. type to convert .apk to .bak

    apk2bar c:\apk\filename.apk c:\apk2bar\android-sdk\tools -t c:\bar

    Wait until convert process success, the converted file will go to c:\bar.

  5. Do sign for the converted files

    blackberry-signer -storepass yourpassword c:\bar\filename.bar

  6. Wait until the sign process success, then the .bar file is ready to install in blackberry 10

Note:
Not all android application or games can be convert and install to blackberry. If your convert fails, maybe cause of that.

Download Support File

Related Post
.
Top Posts