Launch the Blackberry Hub

Hello

I want to launch or to capture the Pid of the blackberry in app BB10 Hub, so far I tried to run it through PPS object, but it seems that I can launch all the applications using their package ID, but not BB HUB, also I'm tired to use the framework of the appeal, but the problem is I want to run as a separate process / application , not as a card in the same application, so that I can get its pid, need help!

You're right, the centre can only be invoked using the AppLauncher ( https://github.com/RodgerLeblanc/TheUnexposedAPIs/blob/master/src/AppLauncher/AppLauncher.h ) code, you can use a standard InvokeRequest:
Application of InvokeRequest;
request.setUri("pim:application/vnd.blackberry.hub");
m_invokeManager-> invoke (request);

This means that two major drawbacks:
(1) you can not call from headless.
(2) your user interface should be full screen to call.

I have not found another way around it.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Z10 Cant send facebook massages through the Blackberry hub

    Hmm, I bought my Z10, a day ago and always try to play and figure how things work.

    Realized today that I can not answer facebook chat massages through the hub of blackberry. I checked the forum and found a similar problem that shows a red clock on the left side of the column, my typical massage is not visible, and the time watch Thu, 1 jan 8 "00 am for each test I tried to meet a cat. He disappears as well if I close the hub and re entry. I checked the time as its perfect setting. the friend I tried I you answer on my friend, which in my case is different from the previous users list. whether friend or girlfriend, I can't answer via the hub of bb.

    Help, please!

    Thank you!

    Try this first:

    • Your main settings > accounts (sliding down from the upper bezel) and click on Facebook.
    • At the bottom of this screen, click on delete.
    • Perform a simple reboot on the BlackBerry this way: with smart BlackBerry poweredphone, remove the battery for a minute and then reinsert the battery to restart.
    • After the restart, return to the same location and reconnect back to Facebook.
    • Now, see if the response works in the hub.
  • Don't launch the blackBerry Smartphones Applications

    I just downloaded a theme OTA and it seems that it is the cause of my "BOLD" for not being able to run almost all of my applications.

    I tried to go to 'Options' to delete the theme, but I can't open it same.

    Hello josephineloretta

    Welcome to the BlackBerry Support Community Forums

    First perform a battery pull reboot as this device on remove the battery for a min. then reinsert it wit back up what your device restarts. Then give it a try and see if it allows you to uninstall this application.

    If that does not start then your device on Safe Mode, while safe mode remove the theme of your device. Options of > device > application > remove it of there.after conducting another battery pull reboot.

    KB17877 How to start a mode BlackBerry smartphone safe.  

     

     

     

    Prince

    ______________________________________________________________________________

    Click 'Like' If you want to thank someone.

    If problem resolves mark message (s) as a 'Solution', so that others can use.

  • BlackBerry Hub your device is not compatible with this version

    Hello.

    I and BQ Aquaris X 5 with Android Marshmallow 6.0.1. I can't install the Blackberry Hub + and I get this message:

    "Your device is not compatible with this version.

    What is going on?

    Thank you!

    Thank you for your patience @mintsteven & @njw123

    Hub + is currently supported by smartphones that have 2 GB or more RAM, a density of screen between 420 and 640 dpi and have a version officially released Marshmallow 6 Android from the device manufacturer.

    Based on this each fo your devices do not meet the minimum requirements of the DPI (each of your devices has a DPI of 294)

  • BlackBerry Hub please add support for 7.1 App Launcher shortcuts...

    Hello

    7.1 Android App shortcuts is very useful for the application that have already implemented this feature would be nice to be able to use it with the BlackBerry Launcher...

    Thank you!

    Your comments, note, thank you @Lumute!

    For others who find this thread, like this post to express your interest

  • Authorization for the notification icon in BlackBerry Hub

    Hey people,

    is there a way for us to ask for permission to add a notification icon in BlackBerry Hub?

    We do not want to publish applications for the BlackBerry World storefront but only for use in internal business applications.

    I asked for a response in support of the supplier portal and he directed me to the forum of Support here.

    Thank you!

    Kind regards

    Daniel

    Documentation says to email,

    [email protected]

    https://developer.BlackBerry.com/native/reference/core/com.QNX.doc.UDs.lib_ref/topic/manual/overview...

  • Launch the application from a url in the browser for BlackBerry?

    I'm developing an application where I will launch a url in the browser where I run my application.

    Suppose if I click google.com , and then press enter, it will launch my app. For this, I tried with the HttpFilterRegistry API.

    For reference, I use the HTTPFilterDemo application. But currently while launching the application, I get the NullPointerException .

    I wrote the code below I have the openFilter method:

      public Connection openFilter( String name, int mode, boolean timeouts ) throws IOException
        {
            Logger.out("Protocol", "it is inside the openFilter method");
            _url = name.substring(2);
            _requestHeaders = new HttpHeaders();
            _responseHeaders = new HttpHeaders();
            _responseHeaders.setProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE, "text/html");
    
            // Attempt to parse for the file name
            int slashIndex = name.indexOf('/', 2);
       if (_resultData == null)
            {
    
    final int modHandle = CodeModuleManager.getModuleHandle("AppLaunchBrowser");
                        Logger.out("Protocol", "here is the module handle:::" +modHandle);
                        final ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(modHandle);
    //                  final String[] arguments = new String[1];
                        final ApplicationDescriptor appDescriptor = new ApplicationDescriptor(apDes[0], new String[]{});
                        Logger.out("Protocol", "here is the app descriptor:::" +appDescriptor);
                        try {
                            final int appCode = ApplicationManager.getApplicationManager().runApplication(appDescriptor, true);
                            Logger.out("Protocol", "here is the app code:::" +appCode);
                        } catch (ApplicationManagerException e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                        }
         }
            return this;
        }
    

    And I am creating alternative entry point in the application class and using as below:

    public class AppLaunch extends UiApplication{
        public static void main(String args[])
        {
            Logger.out("AppLaunch", args+"length of the arguments::::" +args.length);
            if((args != null) && (args.length > 0) && (args[0].equals("background")))
            {
                Logger.out("AppLaunch", "in the alternate entry point");
    //          Logger.out("AppLaunch", args+"length of the arguments::::" +args.length);
                HttpFilterRegistry.registerFilter("www.google.co.in", "com.innominds.ca", false);
    
            }
            else
            {
                Logger.out("AppLaunch", "Inside the Applaunch");
                AppLaunch theApp = new AppLaunch();
                theApp.requestForeground();
                Logger.out("AppLaunch", "created the app launch object");
                theApp.enterEventDispatcher();
    //          Logger.out("AppLaunch", "in the alternate entry point");
    //          HttpFilterRegistry.registerFilter("www.google.co.in", "com.innominds.ca", false);
            }
        }
    
        public AppLaunch()
        {
            checkPermissions();
            showTestScreen();
        }
    
         /**
         * This method showcases the ability to check the current permissions for
         * the application. If the permissions are insufficient, the user will be
         * prompted to increase the level of permissions. You may want to restrict
         * permissions for the ApplicationPermissionsDemo.cod module beforehand in
         * order to demonstrate this sample effectively. This can be done in
         * Options/Advanced Options/Applications/(menu)Modules.Highlight
         * 'ApplicationPermissionsDemo' in the Modules list and select 'Edit
         * Permissions' from the menu.
         */
        private void checkPermissions()
        {
    
            ApplicationPermissionsManager apm = ApplicationPermissionsManager.getInstance();
            ApplicationPermissions original = apm.getApplicationPermissions();
    
            if(original.getPermission(ApplicationPermissions.PERMISSION_BROWSER_FILTER) == ApplicationPermissions.VALUE_ALLOW)
            {
                // All of the necessary permissions are currently available
                return;
            }
    
            ApplicationPermissions permRequest = new ApplicationPermissions();
            permRequest.addPermission(ApplicationPermissions.PERMISSION_BROWSER_FILTER);
    
            boolean acceptance = ApplicationPermissionsManager.getInstance().invokePermissionsRequest(permRequest);
    
            if(acceptance)
            {
                // User has accepted all of the permissions
                return;
            }
            else
            {
    
            }
        }
    
        /**
         * Shows the test screen to allow the user to exercise the application
         * permissions capabilities.
         */
        private void showTestScreen()
        {
            UiApplication.getUiApplication().pushScreen(new AppLaunchScreen());
        }
    }
    

    can someone please help... Sorry for the almost total code display...

    I was finally able to solve this problem. NPE is to come in other methods of recall because I'm implementation of the FilterBaseInterface.

  • BlackBerry Hub Hub + icon is not red "spark" new messages

    I downloaded and installed the software Hub + on my Samsung Galaxy 7 Edge.

    I noticed that when I get new messages and emails, it does not display the "spark," red on the Home Hub screen icon as it does for the Priv and BB10

    I looked at my notification settings and everything is turned on, I get the message icon the screen, I get the message popup, but the spark does not appear

    Someone knows how to solve this problem, or am I the only one having this problem?

    Kind regards

    Dave

    Hi @MooseNYC & @Pigfynn

    I can confirm that red splat will not work unless you use the BlackBerry Launcher which will be available soon

    I'll mark my answer as the solution so that others are aware

    Thank you!

  • BlackBerry Hub Hub + subscription

    The new Hub + paid subscription for Android will have devices the characteristics of BB of private security, Dtek50 android OS?

    Hi @chuyou

    Hub + is a productivity suite only, it does not include the DTEK application or other features that we have implemented in our two Android (PRIV and DTEK50) devices.

    For a more secure and productive material BlackBerry experience is the way to go

    Thank you!

  • BlackBerry Hub cannot open any contact...

    Hello

    I get the error "the contact does not exist" when I click any contact in the Contacts application. On a Nexus 6 p with Android with a paid subscription of Hub 6.01 + and all installed applications...

    The only ones that I can open are those of the Favorites tab, but these even gives error even if I try to open them from the all Contacts tab or anywhere else.

    I gave all the permissions in the Contacts app, I tried to wipe data and cache, also tried to uninstall and reinstall the app, still the same problem.

    No idea how to solve this problem?

    Thank you

    G

    Hi Ty,

    I found and fixed the problem.

    Looks like the Contacts Android app is the default application for contacts that caused a conflict that I guess. I went to the setting / applications and clicked the app Android Contacts, clicked on "Open by default" and then clicked on the button "default clear".

    I then opened the Contacts from BlackBerry and clicked on any contact and he asked me whether the app to use, I chose the BlackBerry Contacts one and clicked on "Always".

    Seems to work fine now.

    Thank you

    G

  • Launching the Maps application from the browser

    I'm currently building in a small web application the ability to launch native maps app.

    This is a normal site, will be displayed in the browser, not a WebWorks app.

    It is pretty...

    blackberry.launch.newMap ({address: {/ *... * /}});

    but of course this does not (blackberry is not set).

    All the posts I found on this topic are several years old (and inconclusive to whom).

    So... what I can or can't I trigger the native application of maps of in the Blackberry browser?

    I am on OS 10.3.

    Hello

    You can open maps to your application via a link href like this: find us

    EINFO mor on the "geo" uri: http://en.wikipedia.org/wiki/Geo_URI

  • How to launch the sms application?

    Hi everyone, I'm moving my app for sms and mms native app I use the following code:

    Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, new MessageArguments());
    

    but he throws the messages app... is it possible to launch the sms app?

    Thanks for any help!

    Have you checked these arguments?

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/RIM/BlackBerry/API/invoke/MessageArguments.ht...

  • Blackberry app in the world running on the Blackberry 10 Simulator

    Hello

    I would like to run blackberry apps world that I download on App world on the Simulator.

    I could do with the pre OS 10 simulators, but with the latest it doenst seem to work, no matter what Application download.

    I tried with different versions of the Simulator including 10.2.2_0X1444

    The Simulator to load correctly.

    I can browse the internet, so I know I have connectivity,

    I can go on the App World and then choose an application to download.

    The progress bar then moves as it downloads the file.

    However at this point, I'm getting the problem. Once the file is downloaded then just get the message 'Installation pending '.

    Is it possible to get an app in the blackberry world to run on the Simulator?

    answered my own question...

    Of

    https://DevNet.madewithmarmalade.com/questions/14729/test-launch-of-a-BlackBerry-bar-file-on-a-Devic...

    The reason is basically because the Simulator is x 86/intel architecture and we build for ARM (device architecture).

    We want to support the Simulator, but various other tasks (for example Windows Phone) platform support take priority for the forseable future. There are some difficulties to support the Simulator with an internal architecture on our side, graphics drivers, etc..

    Note that because the binaries, you can run in the device Simulator BB10 and aBB10 are different (if you use BlackBerry own SDK, it will compile two different binary, one for each architecture), you would not even test a real construction identical and there is always possibility of issue on the device, you do not see on the desktop.

  • Launch the browser on WiFi

    Try to launch the browser via Wi-Fi on a 8820 and having not much of chance.   Code looks like this:

    Private private = Browser.getDefaultSession ();

    browserSession.displayPage (url + "; interface = wifi");

    The browser launches, but insists on the use on board.

    I don't have this problem when calling direct http java app: adding '; interface wifi =' correctly routes the data via the WiFi network.  For example, it's very well:

    HttpConnection connection = (HttpConnection) Connector.open (url + "; interface = wifi");

    Is there anything else I need to do to force the browser to use wifi?

    Thank you

    Nurikabe, the link in your message is the appropriate way to open the BlackBerry Hotspot browser.

  • I tried repeatedly webworks install SDK for 10 BB and BB OS 7 or an earlier version, but failed to launch the SDK succesfully.

    I tried repeatedly webworks install SDK for 10 BB and BB OS 7 or an earlier version, but failed to launch the SDK

    successfully.

    Finally, Iam able to build the package correctly on google chrome emulator Ripple by following the instructions

    https://developer.BlackBerry.com/HTML5/documentation/creating_helloworld_for_bb_os.html.

    Now, I asked for signature keys. But how to operate the get nd of emultor my ex helloworld application

Maybe you are looking for