1. Cobalt232's Avatar
    Hi there!

    I read quite a few posts where people are asking if it is possible to run Android apps in headless mode. The answer is quite simple: Yes, it's possible. This guide will help you to get everything up and running.

    Here's how to proceed:

    Step 1
    Download my enhanced Blackberry Developer Tools. The package contains two new files:
    1. Launcher.bat, a launcher for all Blackberry Tools that have a GUI
    2. headless_manifest.mf, a prepared manifest file with the required settings for headless mode

    Step 2
    1. Unpack Blackberry Developer Tools to a directory and run Launcher.bat
    2. Choose Blackberry-Signer, select configure signing and request a developer token. Close when done.
    3. Choose Blackberry APK-Packager and select your APK file, select Advanced Settings, select Minimum OS 10.2
    4. In Custom Manifest section, choose the file headless_manifest.mf, select Add custom Manifest value (merge)
    5. Select Development Mode, do not select sign!
    6. Press Package

    Step 3
    Make sure, that you have transferred the developer token to your device. Then transfer the BAR file to your Blackberry. You can use Snap Installer to transfer the bar if you are not familiar with sideloading. Just drop the BAR file on the installer and it will install the file on your device.

    Download:
    http://forums.crackberry.com/android...taller-902493/

    That's it. Just open and close the app once to make it work. Tested with Lync 2013!

    How to make Android Apps work in headless mode (as Skype)-launcher.png

    How to make Android Apps work in headless mode (as Skype)-headless-1.png
    Last edited by Cobalt232; 03-11-14 at 08:10 AM.
    01-15-14 04:15 PM
  2. diegonei's Avatar
    What about 10.2.1 and direct APK installs?
    thebest1BB likes this.
    01-15-14 04:25 PM
  3. Cobalt232's Avatar
    What about 10.2.1 and direct APK installs?
    It won't work with direct APK install. The special settings in headless_manifest.mf are not allowed to run without a developer token. As we do not have Blackberry signing keys, this is the only way to get it to work.
    Last edited by Cobalt232; 01-15-14 at 05:30 PM.
    diegonei likes this.
    01-15-14 04:28 PM
  4. Gykesdollars's Avatar
    I guess this can ONLY work for devices with a particular developer token. Or can the modded bar work for all devices (BB10 devices though)???

    Posted via Tecno_n9 Pad using the Android CrackBerry App!
    01-15-14 05:59 PM
  5. Cobalt232's Avatar
    I guess this can ONLY work for devices with a particular developer token. Or can the modded bar work for all devices (BB10 devices though)???

    Posted via Tecno_n9 Pad using the Android CrackBerry App!
    It only works with a specific token.
    01-15-14 06:47 PM
  6. Gykesdollars's Avatar
    It only works with a specific token.
    OK, thanks though

    Posted via Tecno_n9 Pad using the Android CrackBerry App!
    01-15-14 08:10 PM
  7. dustmalik's Avatar
    Nice share as always.

    Posted via CB10 using my Gorgeous Z10
    Cobalt232 likes this.
    01-15-14 09:12 PM
  8. theninjew's Avatar
    I don't have those files in the bin folder.

    https://www.dropbox.com/s/0ltzdoi57p...BlackBerry.jpg
    01-15-14 09:48 PM
  9. xtremez's Avatar
    I can't seem to locate those files either, am i missing something?
    01-15-14 11:48 PM
  10. zaid-z10's Avatar
    So now viber is headless

    Z10STL100-1/10.2.1.1925 pin:24D775B4 for more information
    01-16-14 03:45 AM
  11. Cobalt232's Avatar
    I redownloaded the tools, looked into \bin folder and this is what I get:

    How to make Android Apps work in headless mode (as Skype)-commandlinetools.png

    I bet your Windows is not configured to display the file endings. Anyway, the files are there. Proceed as descibed in original post.
    Last edited by Cobalt232; 01-16-14 at 04:27 AM.
    xtremez likes this.
    01-16-14 04:10 AM
  12. incongruent's Avatar
    My main intention is to get a SIP phone app installed and running headless on my z10. I've been waiting EONS for Taki to go headless.

    Will try this later.

    Posted via CB10
    01-16-14 04:35 AM
  13. xtremez's Avatar
    Okay will try again, just wanted to ask Cobalt, has there been any downside Android apps being headless?
    01-16-14 05:11 AM
  14. Gykesdollars's Avatar
    My older debug token stopped working on my win8. Don't know how to go about uninstalling it from my PC and creating a new one, any help will come in handy

    Posted via Tecno_n9 Pad using the Android CrackBerry App!
    01-16-14 05:22 AM
  15. Cobalt232's Avatar
    Okay will try again, just wanted to ask Cobalt, has there been any downside Android apps being headless?
    I've been running Lync 2013 for quite a time now and have not noticed any downsides. The method is exactly the same as used in Skype.
    01-16-14 12:05 PM
  16. xtremez's Avatar
    Cause I referred to the screenshot and I have the exact same files, but when I see the command prompt pop up it just disappears. It doesn't come to the other portion where I can select the files to put apk

    Posted via CB10
    01-16-14 10:13 PM
  17. Cobalt232's Avatar
    Cause I referred to the screenshot and I have the exact same files, but when I see the command prompt pop up it just disappears. It doesn't come to the other portion where I can select the files to put apk

    Posted via CB10
    Good one :-)

    You can run these commands in DOS mode only!
    1. Use mouse right click on \bin folder and select 'DOS prompt here'
    2. In DOS window type cd bin
    3. Type command ie. blackberry-apkpackager.bat -gui
    01-17-14 02:42 AM
  18. anon(4086706)'s Avatar
    IMHO isn't it just possible to take an APP, Convert it to BAR the normal way without token, Modify the Manifest file and sideload?

    Z30 | Z30STA100-2/10.2.1.1925 | Globe PH
    01-17-14 03:00 AM
  19. Cobalt232's Avatar
    IMHO isn't it just possible to take an APP, Convert it to BAR the normal way without token, Modify the Manifest file and sideload?

    Z30 | Z30STA100-2/10.2.1.1925 | Globe PH
    Sorry but it's not possible. The required settings

    Code:
    Entry-Point-System-Actions: _sys_android_autostart_service,_sys_android_rrr
    are not accepted by the OS unless the package has been signed with Blackberry signing keys (as Skype has)

    But feel free to try
    01-17-14 03:14 AM
  20. xtremez's Avatar
    Will try that again later, i see where I have missed out. Thanks for the reply Cobalt! If you could add more screenshots will be lovely
    01-17-14 05:31 AM
  21. xtremez's Avatar
    How to make Android Apps work in headless mode (as Skype)-error-android-headless-cmd.png

    I'm guessing I made a mistake somewhere lol
    01-17-14 05:47 AM
  22. ravipiero's Avatar
    Great method. Will definitely try this.
    Is there also a method to make android application still running in active frame? Some of my applications pause when I minimize it to active frame.

    Posted via CB10
    01-17-14 05:58 AM
  23. Cobalt232's Avatar
    Xtremez, you're on the right way.


    Now just add the argument -gui when starting the batch file.

    Blackberry-apkpackager.bat -gui




    Posted via CB10
    01-17-14 06:24 AM
  24. xtremez's Avatar
    Yo Cobalt, I think I have got it. But I have another question, the target folder must be the phone?
    How to make Android Apps work in headless mode (as Skype)-android-headless-cmd.png
    How to make Android Apps work in headless mode (as Skype)-android-headless-gui.png
    01-17-14 08:36 AM
  25. Cobalt232's Avatar
    Target folder is the folder, where the BAR file will be created. Usually its the same folder as the APK
    01-17-14 08:41 AM
91 123 ...

Similar Threads

  1. Any App Devs Willing to Build a Hockey App?
    By jd_statman in forum Developers Lounge
    Replies: 10
    Last Post: 02-04-14, 11:12 AM
  2. Get your picks in...
    By VT_JustinGlass in forum BlackBerry 10 OS
    Replies: 15
    Last Post: 01-24-14, 07:05 PM
  3. App stores?
    By Jordss in forum More for your BlackBerry 10 Phone!
    Replies: 11
    Last Post: 01-16-14, 09:47 AM
  4. Headless Android apps, is it possible?
    By DrHamedz in forum More for your BlackBerry 10 Phone!
    Replies: 6
    Last Post: 01-15-14, 07:23 PM
  5. Help bb link wont work!
    By AlexB1227 in forum Desktop Software
    Replies: 2
    Last Post: 01-15-14, 05:11 PM
LINK TO POST COPIED TO CLIPBOARD