Call my app when clicking on a specific URL in the BB10 webworks

Hi all

I want to register my application to open a specific URL (like: http://www.xyz.com) on impact on the browser. Below is the contents of the config.xml file, I tried. This does not work for me.



    
        APPLICATION
        
            bb.action.OPEN
            text/plain //tried with * also
        
        
    

I tried several configuration in the config.xml file, but no luck. Also researched a lot on forums and found below URL for native code.

http://supportforums.BlackBerry.com/T5/native-development/how-to-invoke-my-app/m-p/2734705#M57010

Is this possible in BB10 Webworks?

Finally found the solution which shows pop up to open my application by hitting a specific URL in the browser. Here's the changes to make in the config.xml file.


        APPLICATION

        
          bb.action.VIEW
          *
          
        

        
          activetext:
        

    

Tags: BlackBerry Developers

Similar Questions

  • When I'll be able to navigate the bb10 apps?

    When I'll be able to navigate the bb10 through my devAlpha apps?

    Same way that you submit for BB10...

    When you add a set of files, you must select the platform = QNX, OS min. = 10.0.0 and then selected Device Support. In the dialog box, you will see 10 BlackBerry listed. You can take them all and get BB10 and Dev Alpha phones, or select View devices and choose those individual.

  • call cavas them when click the button

    Can you please tell me how can I call the canvas when click on the button. and position the fabric next to the button

    Hello

    try something like that.

    go_block('block_name');
    SHOW_VIEW('CV_STACKED'); ---for showing
    HIDE_VIEW('CV_STACKED'); ---- for hidding.
    

    and...

    SET_VIEW_PROPERTY('CV_STACKED', VISIBLE, PROPERTY_FALSE);
    

    I hope this helps.

    Sarah

  • purpose of freezing when clicking and then release after moving the mouse

    Hello

    When I want to select on the object, I click on it.

    Then, the freezing of the object.

    I move my mouse whenever I want, wait 1 to 2 seconds, and the object comes from here where I am with my mouse.

    Could someone explain to me what is the problem? Is there only one checked option which should not?

    Thank you very much

    Running on yosemite 10.10.3 and AI CC14 18.1.1

    Finally, there seems as if it was an app, I installed recently, called "rightzoom.

    I uninstalled it, and the problem seems to be gone. A little weird, because rightzoom had GOT in its exceptions.

    In any case, here's a post on the issue: https://discussions.apple.com/thread/2796058?tstart=0

    Thank you very much

  • Double-click listitem for opening URLs in the Application of MAF

    Hello

    I developed a demo application in which I have a data in the arraylist and I showed in the listview layout amx. Now, on each element of the list, I superimposed golink component for opening URLs outside the application.

    Here's my amx page code:

    < amx:listView var = value ' row' = "#{bindings.generalFeeds.collectionModel} '"

    fetchSize = "#{bindings.generalFeeds.rangeSize} '"

    selectedRowKeys = "#{bindings.generalFeeds.collectionModel.selectedRow} '"

    selectionListener = "#{bindings.generalFeeds.collectionModel.makeCurrent} '"

    showMoreStrategy = 'autoScroll' bufferStrategy = 'viewport' id = "panel1".

    inlineStyle = "background - color:rgba (0,0,0,0.0);" ' > '.

    < amx:listItem id = "li2" >

    < amx:panelGroupLayout id = "pgl.

    inlineStyle = "margin: 0;"  Padding: 4%; padding-top: 2%; padding-bottom: 2%; ">

    < amx:tableLayout id = 'tl1' inlineStyle = "width: 100%;" height: 50%; "width ="100% ">

    < amx:rowLayout id = "rl2" >

    < amx:cellFormat id = "cf9" width = "100 percent;" >

    < amx:outputText id = "ot31".

    inlineStyle = "make-weight: bold;" do-size: 18px; grid-rank: auto; Color: #666666; »

    value = "#{row.tital}" / >

    < / amx:cellFormat >

    < / amx:rowLayout >

    < / amx:tableLayout >

    < / amx:panelGroupLayout >

    < amx:goLink id = "gl5.

    inlineStyle ="width: 100%; left: 0px; Top: 0px; opacity: 0.0; float: left; position: absolute; background-color: red; height: 100%; »

    URL = "#{rank." URL} "/ >"

    < / amx:listItem >

    < / amx:listView >

    Side of the problem:

    (1) I have to double-click the list item for the opening of url that I provided by the golink component. On one leg, his does not work.

    (2) when I clicked on a list item, it shows me a flag and when I double click on it, once again, it shows an indicator.

    (3) issue even with directly by double clicking it, it shows a two indicator.

    Please help me.

    Kind regards

    Siddharth

    Yes, update your js to include this

    {showJavaCallBackPopup = function ()}

    var url = arguments [0];

    If (device.platform = 'Android') {}

    navigator.app.loadUrl (url, {openExternal:true});})

    } else {}

    Window.Open (url, "_system");

    }

    }

  • Everytime I open Photoshop elements V13, I get the message that there is an update V13.1 and Camera Raw 8.7.1. However when clicking on update now or after the release it will never update. There is also no updates listed for V13 on the Web site.

    Is this a false message, or is there an update available? If yes how do I update my version?

    Hello

    It is not a false message, these updates are available. (I covered the camera raw info here)

    If you load the editor, when you get told updates and you click Update, it may take a while to get there.

    If you are on a Windows system, you can find that there is a flashing icon of user access control in your taskbar. I don't know about MAC systems.

    Brian

  • Mediathek photo: A way to keep the Photos on Photos.app when you want to remove them on the iPhone?

    I understand the concept of the Mediathek Photo.

    The goal is to keep the Photos on different places for example iPhone, iCloud and synchronized Macbook.

    Automatically.

    Because the volume of data on my iPhone is not very large, sometimes I have to delete the photos.

    Is it possible to prevent these pictures from beeing deleted on the Macbook?

    Or do I have to completely give up the automatic transfer of photos only?

    In my mind, I think of a kind of function of archive for Photos.app.

    A flag that prevents pictures archived the synchronization beeing part.

    Can you give me an opinion please?

    Thank you.

    Because the volume of data on my iPhone is not very large, sometimes I have to delete the photos.

    Is it possible to prevent these pictures from beeing deleted on the Macbook?

    Photo library of iCloud will synchronize the full library of Photos.   If you remove a photo from the library on a device, it will be removed from all libraries in snced on other devices.

    One way to synchronize on a selective basis would be to have more than one library of Photos on the MacBook. A library of synchronization iCloud Wavec with only the photos you want on your iPhone.  And a library with other photos that you don't want in iCloud.  See this help page on the use of several libraries: https://help.apple.com/photos/mac/1.0/?lang=en#/pht6d60b524

    Another approach would be to use "Optimize storage" on the iPhone.  Then the photos will be optimized smaller photos on the iPhone store and more pictures will be fit.

  • I'm getting charged for an application that is no longer on our devices?  How can you kill the renewal/invoicing app when you can't find it on the device?

    Can anyone help with this?

    Re-download for free. To do this, log in to the App Store using the Apple ID used for the original purchase, then access the purchased tab. The app should be there.

  • LinkButton click does not launch URL in the bin-release folder

    I have a 'xyz.mxml' project in which I use a datagrid control. The action script affects an ItemRenderer to object LinkButtonRenderer

    gdColumn.itemRenderer = new ClassFactory (LinkButtonRenderer);

    This LinkButtonRenderer.mxml is another file in my project "xyz.mxml".

    When I run the application in Flex builder, it works fine and click on the button that opens the url. But when I copy all the files from the record "/ bin-debug ' to any other folder, clicking on a button does not work. If I do an 'Export Release Build' all files created in the folder "bin-release". But the link button does not work here.

    <? XML version = "1.0"? >

    <! - LinkButtonRenderer.mxml - >
    " < = xmlns:mx mx:VBox ' http://www.adobe.com/2006/mxml "> "
    < mx:Script >
    <! [CDATA]
    Import mx.events.ListEvent;
    Import mx.controls.LinkButton;
    Import mx.controls.Button;
    Import mx.controls.Alert;
    import flash.net.navigateToURL;


    private void handleClick(eventObj:Event):void
    {
    var u: URLRequest;
    u = new URLRequest (data.url.toString ());
    navigateToURL (u, "_self");
    }
    []] >
    < / mx:Script >
    < mx:LinkButton id = "url" label = "{data.label}" click = "handleClick (event); "color ="blue"/ >
    < / mx:VBox >

    If this post has answered your question or helped, please mark it as such.

    You may need to set the--use-network argument of the compiler to true or false depending on your situation.

    Project - Properties - Flex Compiler - additional compiler arguments:

    Add - use-network = true and if it does not add - use-network = false.

  • Back on the tree Page when click the button cancel on a Page called

    Hello

    I develop an application that uses the Application Express 4.1.1.00.23, I developed a tree similar to the APEX tree, Example of Application of database (i.e. reports > shaft of product).
    When I click on a specific node of the tree, it navigates to another page in the existing application (such as tree of the database Application example).

    Example of Application of database does not return to the called Page (so called from reports > shaft of product).

    I have an obligation to come back on the tree of the Page when I click the button cancel on a Page called.

    Please advice. Thanks in advance.

    tnvrahmd wrote:
    Hi Rohit,

    Thanks for the reply. If you look under query (query Sample Application tree), clicking on a tree node, it opens the page 3, 6 or 29 based on link_type = am ", 'C', 'P' or 'o' and the constructed url."

    In this case just a tree node gets selected and should capture the number of the called page.
    As there are 4 urls and 3 pages being called, how do I capture the page given in hidden element or application,

    Thank you.

    I understand the code of the tree. But I'm not clear on what you mean by "How can I capture page reset hidden element or application". Do you mean that you need to store the page in a hidden page element numbers? If so, you can set the value in the URL that you generate in the tree. For example,.

     case when link_type = 'M'
                 then 'f?p='||:APP_ID||':3:'||:APP_SESSION||'::NO:RIR:P1_HIDDEN_PAGE_ITEM:'||3
                 when link_type = 'C'
                 then 'f?p='||:APP_ID||':3:'||:APP_SESSION||'::NO:CIR:IR_CATEGORY,P1_HIDDEN_PAGE_ITEM:'||name||','||3
                 when link_type = 'P'
                 then 'f?p='||:APP_ID||':6:'||:APP_SESSION||'::NO::P6_PRODUCT_ID,P1_HIDDEN_PAGE_ITEM:'||sub_id||','||6
                 when link_type = 'O'
                 then 'f?p='||:APP_ID||':29:'||:APP_SESSION||'::NO::P29_ORDER_ID,P1_HIDDEN_PAGE_ITEM:'|| sub_id||','||29
                 else null
                 end as link 
    

    where P1_HIDDEN_PAGE_ITEM is your element on the page where you have the tree.

    >

    -Application of tree-
    with the data as)
    Select'm ' as link_type,.
    NULL as parent,
    "All categories" as id,.
    'All categories' as the name.
    NULL as sub_id
    of demo_product_info
    Union
    Select distinct('C') as link_type,
    'All categories' as a parent,.
    category such as id,
    category name,
    NULL as sub_id
    of demo_product_info
    Union
    Select 'P' as link_type,
    parent category,
    TO_CHAR (product_id) id,
    product_name as the name,
    product_id as sub_id
    of demo_product_info
    Union
    Select 'o' in the link_type,
    TO_CHAR (product_id) as a parent,
    NULL as id,
    (select c.cust_first_name |) ' ' || c.cust_last_name
    of demo_customers c, demo_orders o
    where c.customer_id = o.customer_id
    and o.order_id = oi.order_id). ', ordered ' | TO_CHAR (OI. Quantity) as the name.
    order_id as sub_id
    of demo_order_items oi
    )
    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    name as title,
    NULL as an icon,
    ID as the value,
    'See' as ToolTip,
    -case when link_type = am'
    then ' f? p ='|| : APP_ID | » : 3 :'|| : APP_SESSION. ': NO:RIR '.
    When link_type = 'C '.
    then ' f? p ='|| : APP_ID | » : 3 :'|| : APP_SESSION |':NO:CIR:IR_CATEGORY:'
    || name
    When link_type = 'P '.
    then ' f? p ='|| : APP_ID | » : 6 :'|| : APP_SESSION |': NO::P6_PRODUCT_ID:'
    || sub_id
    When link_type = 'o'
    then ' f? p ='|| : APP_ID | » : 29 :'|| : APP_SESSION |': NO::P29_ORDER_ID:'
    || sub_id
    Another null
    end as link
    from the data
    Start with the parent is set to null
    connect by prior id = parent
    siblings arrested by name

  • &lt; img &gt; image not cached in app BB10 Webworks

    Hello

    Is there some configuration setting, that I need to use to get Webworks (on BB10) to cache images served from a server?

    I have a BB10 Webworks app that dynamically adds and remove the DOM html.  Images referenced in items loading as expected, but if the item is removed from the DOM, and later added again, Webworks reloads the image file from the server, rather than using a cached version.  (I can watch what is happening in the Web Inspector).

    If I run the code in a browser, Chrome on Windows, it behaves correctly, by using the cached copy of the image when the new item is added to the Dom.

    The frequency from the server HTTP headers are:

    Cache-Control, must-revalidate
    Content-length: 1730
    Content-Type: image / jpeg
    Date: Mon, 21 October, 2013 21:18:34 GMT
    ETag:c4863b363e4536f8d854d721092cf528
    Expires on: Wednesday November 20, 2013 21:18:34 + 0000
    Last modified: Monday February 4, 2013 17:20:13 + 0000
    MicrosoftOfficeWebServer:5.0_Pub
    Server: Microsoft-IIS/6.0
    X-Powered-ByHP/5.2.13, ASP.NET

    So, with response codes above, Chrome set cache the image as expected, while the BB10 Webworks reload from the server each time (no caching).

    I'm running on a version of the software Blackberry Z10, model number STL100-3, 10.1.0.4181, and the app is created using Blackberry 10 Webworks SDK 1.0.4.11.

    What Miss me?

    Thank you

    Terry

    My apologies for the confusion.  The purpose of qnx is only available in a native extension running inside the app - not directly from JavaScript running in your application.

    Here is an example of an extension that uses the qnx object:

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/PreventSleep

    Specific location where it is used:

    https://github.com/BlackBerry/WebWorks-community-APIs/BLOB/master/BB10/PreventSleep/ext/community.PR...

    What is your comfort level write / using native extensions?  You will need to create your own, to interact with this API.

  • I have Firefox Home on my iPhone 4S and created an account synchronization, but when I click on 'I have a sync account' the app gives me an access code to enter the synchronization options, and when I go to sync options, the only button available is 'Set

    When I do this it gives me a password to enter on my device! I have passwords, but not where to enter!

    Hello!

    You must re - set up your account, and for this you will need your recovery (sometimes called sync key) key and follow these instructions: https://support.mozilla.com/en-US/kb/How%20to%20sync%20Firefox%20settings%20between%20computers#w_what-if-im-not-near-my-first-computer

    If you do not have the recovery key, your only option is to reset the recovery key. To do this, follow these simple instructions:

    1. Click on «Set up Firefox Sync»
    2. Click on 'Connect' as I already have an account.
    3. In this window, forget the code and click on 'I don't have the camera with me' right underneath the 3 boxes.
    4. In this window, under the 'Sync key' field, there is a paragraph with a link to the end. "I lost my other device."
    5. Click on it and follow the instructions. In the end, you'll be ready to go. Just reset your Firefox Home app and that's all.
  • I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    iPhones have a proximity sensor which is supposed to automatically turn off the screen when you hold it in your face. If this is not the case you can take the phone and have it checked.

  • How can I default to LR, when clicking on the cloud creative app. ?

    How can I default to LR, when clicking on the cloud creative app. ?

    Hi Ron,

    What do you mean exactly? The creative cloud App is just that - a stand-alone app that manages your subscription CC, including the app updates and active such as files and fonts.

    You want an icon to click to run Lightroom? In this case, you would start Lightroom (not CC App) and either "pin to taskbar" (Windows) or "Keep in Dock" (Mac). If you need help doing that, just tell us what operating system you are running. If this isn't your question, please clarify what you are asking.

    Mike

  • Call the process page when clicking on a link to report

    Hi all
    I want to call a process of conditional page when clicking on a link to report;
    That is to say the process runs only if the user clicks on the report link.
    How can I do this?

    Thanks for your help.

    Concerning
    Ozzie

    Hello

    Yes, if you use the column change attributes report, in the section "links" column you can assign values to some articles.

    But if you only need to apply, you should probably use URLS like target and a javascript:doSubmit('REQUEST');.

    Kind regards
    Andrea

Maybe you are looking for