Need help, returning at the request of private

Hello

My application uses a private to open a web page. When the web page opens, the user types in their login credentials, and then they are transferred to a new site that told them to close the BlackBerry browser and return to my request.

Now, I'm trying to see if I can do the following:

-Create a URI template customized for my application, so that the Web site can send to an address as "myapp: / /...". "and will open my application. I did research online and on the forums on this subject, and I don't think its possible. I searched a lot on JSR 211 content managers and MIME types. I have also studied the chapidemo demo in JDE samples.

-Close the private. I know that I can't do this from within my application. I moved my application in the foreground successfully after my application filed an HTTP successfully, but the browser returns to the foreground when the Web site transmits to the new page (which tells the user to close the browser)

-Somehow determine the URL of the current private. If I could do it, I could have my application in the foreground when I recognize the URL of the page that was passed to the.

Unfortunately, I can't use a BrowserField because the site that I opened in the browser must support javascript and ajax... I tried this in the BrowserField, and it did not work.

Does anyone have any advice or suggestions?

Thank you!

I was able to achieve bringing my application to the foreground once the browser forward towards a new page using JSR 211 and a type mime custom. (BrowserPlugin.java & LoaderApp.java JDE samples)

Tags: BlackBerry Developers

Similar Questions

  • Need help return correct name of a created the code clip

    Hello. I'm a n00b AS3 with fortunately we a simple question I am designing a simple flash game. Copy the following code creates an array of video clips and the bsigns a photo for each of them. It is a map screen. What I need, it is when I click on one of the created movie clips, I need to return either the index of the item in the table or the name of the clip. Basically everything that I can use to differentiate them in the code. Here is the code:

    import flash.display.MovieClip;
    var MapLoader:Array = new Array();
    var strJPGext:String = ".jpg";
    var intContTileNumber:int;
    var strContTilePath:String;
    var intDistStartX:int = 63;
    var intDistStartY:int = 64;
    var intDistMultiplyY:int = 0;
    var intDistMultiplyX:int = 0;
    var intDistCount:int = 0;
    var MapSquare:Array = new Array();

    for (var i: int = 0; i < 729; i ++)
    {
    var MapSquare:MovieClip = new MovieClip();
    MapSquare.push (new MovieClip());
    MapSquare [i] .x = intDistStartX + (intDistMultiplyX * 30);
    MapSquare [i] there = intDistStartY + (intDistMultiplyY * 30);
    MapSquare [i] .name = "MapSquare" + i;
    addChild (MapSquare [i]);
    intContTileNumber = i;
    MapLoader.push (new Loader);
    strContTilePath = intContTileNumber + strJPGext;
    MapLoader [i] .load (new URLRequest (strContTilePath));
    MapSquare [i] .addChild (MapLoader [i]);

    intDistCount ++;
    intDistMultiplyX ++;

    If {(intDistCount > 26)
    intDistCount = 0;
    intDistMultiplyX = 0;
    intDistMultiplyY ++;
    }

    }

    stage.addEventListener (MouseEvent.CLICK, reportClick);
    function reportClick(event:MouseEvent):void
    {
    trace ("name of the movieClip Instance =" + event.target.name);
    }

    Now, it all works very well, it creates the plan and assigns the correct image and places them in the good X, position Y and this is the good 27 x 27 squares grid. The problem is with the name, when I click on the clip, it returns "Instance2" or "Instance5" or something else. It starts by 2 and then increases each number by 3 for each clip, so the first is 2, then 5, then 8 and so on. This is not good. I need to return the name I have given
    . If I put the code in trace(MapSquare[1]) it will return the name 'MapSquare1' so I know has been assigned the name, but it is not returning.

    Please help

    Thank you

    -Red

    Add event listeners just like anything else you set in the loop for...

    MapSquare [i] .addEventListener (MouseEvent.CLICK, reportClick);

    They can all use the same event handler function, so there is no problem.

  • Need help to install the network on laptop drivers

    I have a laptop of HP 2000-239WM and recently erased due to trying to sell. However, when I reinstalled everything back on the PC, no network drivers have been installed, so I have no access to the internet, wireless and wired. Should what programs I install via USB in order to solve this problem?

    The network adapter driver specifically requests the Ethernet, wifi and it...

    Hello McKinley,

    Thank you for visiting Microsoft Community and we provide a detailed description of the issue.

    According to the description, I understand that you need help to install the network drivers into the laptop.

    Certainly, I understand your concern and will try my best to help you.

    In order to install the NIC drivers in the system, I suggest to visit the link below and check if that helps.

    http://support.HP.com/us-en/drivers/selfservice/HP-2000-200-notebook-PC-series/5091493/model/5119030

    Note: Make sure you have access to the internet to another computer and download the network drivers using the USB and install on your laptop.

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Need help to diagnose the regular system analysis on iMac - processors maxed out

    I need help to identify the cause of a problem that occurs at least 2 - 3 times per day using my iMac (27-inch, mid 2010) running 10.11.5.

    I will use my iMac and then all at once things will start to really trolling. To the point of being completely unusable. Even if I'm able to move my cursor, then click to drag the windows around the screen nothing does really.

    I have iStat menus running so that can see graphics in my menu bar that all 4 cores are completely overfished. Occasionally, I was fast enough to launch the activity monitor to try to see what applications / services are responsible for, the use of % CPU column is completely empty of values, so I can't identify the culprits in a reliable way. I try to keep that column sorted by % CPU use in the hope that he could reveal something and normally it's the kernel_task who is up there.

    I use a Wacom Bamboo dated Tablet (MTE - 450 has) instead of a mouse, and at one point, I was convinced the pilot of PenTabletDrive it is based on was to blame. I contacted Wacom on this subject, and although there is no known issues they pointed out that although the latest drivers will allow me to use the tablet that they no longer support older devices. I was wondering if there was a problem of communication between the device and a driver that is no longer supported. I installed the latest driver supported for my tablet, but the problems persist.

    It may be interesting to note that, when my computer is in this semi-frozen state, I am able to launch the window enough force and quit all open applications leaving me with only the Finder. I guess that means that there are none of my apps running and it is probably one of the services. If I restart the Finder system grinds to a completely enclosed holt.

    I hope someone can let me know what I can find in the Console or elsewhere to help me finally zero in on what is to blame. I can share a log if that helps.

    Thank you in advance!

    Information that might be useful:

    Kept by I tend to be running: Adobe InDesign, Photoshop, Acrobat (all CC 2015), Mail, Safari with several tabs & Dropbox sync constantly.

    Download and run EtreCheck, created by one of his own assistants here in CSA. It is a diagnostic tool that is very useful for us to find problems. It will also give us additional specifications on your Mac. After his execution after the logfile here. It will never contain any personal information.

  • Need help to remove the zeros on the right

    Hello.

    I need help to replace the zeros in the string.

    I have a string which is the output of the network packet. There are a few trailing zeros in the package.

    I don't see them in normal mode, but the size of the string tells me that it's bigger then it looks like.

    When I pass in hexadecimal mode, you can see zeros.

    I tried to use the find/replace function allows you to search for 0 and replace it with an empty string constant. But, for some reason any, that he took no zeros.

    I need to stop the string that follows * 69.

    Show your code.  You won't find and replace with all zeroes.  These 00 in hex mode they are null characters.  (not printable byte with a value of zero).  You need search and replace on that character.  (replace string should look like 00, when it is set to display the hexadecimal code.

  • cq57: need help cq57 enter the password administrator or power on password... deisabled system 58555314

    need help cq57 enter the password administrator or power on password... deisabled system 58555314

    Thank you!!!

    @clatimer

    Enter 47433930

    REO

  • Need help in using the ActiveX to retrieve a VARIANT

    Need help in using the ActiveX to retrieve a VARIANT.

    Variant is shown as var {VT_Ul1, 1} in debugging

    By using the following

    HR = CA_VariantGetShort (& var, &value);)

    I get 0 for my answer instead of 1.

    Answered my own question.

    VT_Ul1 is an unsigned char and not a short.

  • I need help to Flash the bios. I have an Aspire 5810TZ. I start and it just says: "acer".

    I need help to Flash the bios. I have an Aspire 5810TZ. I start and he just says "acer" and goes no further. I went to the download page for BIOS on us.acer.com and it has a zip file with 5 files:
    JM4151135.exe
    IN FLORIDA...
    GPC_V135.bin
    Readme.txt
    FLASH. BAT
    What should I do? I tried to copy the files on a USB key and turn on/off with Fn + ESC key. After the release the power button and pressed Fn - Esc another screen appears after 30 seconds. I gave up and gave her 30 minutes but it does nothing. I read another person that should be flashing power button online. I have to rename one of the files. Help, please!

    Aspire 5810TZ menu of frozen startup.

    I finally understand it.

    I couldn't start a back b/c drive, it me did not start anything.

    I followed this chain of logic:

    -Downloaded the bios (2.35 is the one that worked for me)
    -Find the exe file in the winflash file.
    -Extract the files in archive exe using the 7-Zip program
    -Find the .fd file and rename it to JM41X64. FD (I read in a forum was unique in my laptop)
    -Copied JM41X64. FD and FLASH it is. EXE on a USB
    -A the battery and the hard drive out.
    -With its trendy diet I supported Fn + Esc and that you press the power button once while ensuring that the Fn + Esc has been always held down.
    -J' waited 6 seconds and release the Fn + Esc and seen the flashing flash player
    -After about 10 minutes, restarted the machine and the bios as like new.

    Later, I found that there was a hard drive problem.

    I want you guys should help more. All I needed was the name of the JM41X64 file. FD and you don't know how many hours I put into trying to find how simpy bios flash. It is not that difficult for someone with a b.s. in computer science to learn how. Couldn't we a m.s. back b/c the bios drive was messed up. F12 didn't work.

  • Need help now for the live installation

    Need help now for the live installation

    Hello

    As described in the question, I understand that you need help. I will definitely help you however, I would be grateful if you could help me with more information to better understand the problem and resolving it.

    1. What is the problem you are experiencing during installation?

    2. That you install? Any software or operating system?

    3. How you try to install the software/Os/application?

    If you need live support from Microsoft then you can click on the link given below and check if it helps.

    https://support.Microsoft.com/en-us/contactus/

    Hope that this help, please write us back for any further assistance on this point, we will be happy to help you further.

  • Need help to uninstall the game Deadspace

    Original title: uninstall Deadspace

    need help to uninstall the game Deadspace

    What you're looking for?
     
    Revo uninstaller can be faster.
     
  • Need help to retrieve the magnetic border

    As the title says, I need help to get the magnetic border thing (I don't know what his name). It helps a lot when I am rearraging my dekstop icon so that they are all neatly. Its the sticky feeling when you put an icon next to each other. I installed Stardock Fences before and which could lead to the missing or disabled?

    Hello

    • Right-click on an empty part of the desktop
    • Leave the mouse on the view
    • Click Align icons on the grid

    Tricky

  • Need help to identify the type of object in the loop of pl/sql

    Hello

    I need help to identify the Type of object declared beneath a procedure as shown below:

    I need to pass the parameter to the procedure as a TYPE of OBJECT and also refer to variables of Type Object in a loop

    create or replace type TEST_VALIDATION_REC is RECORD (order_num varchar2 (30),)

    number of inventory_item_id

    reserved_YN varchar2 (1).

    error_flag varchar2 (1).

    Error_message varchar2 (2000)

    );

    CREATE OR REPLACE TYPE VALD_TBL AS VARRAY (10000) OF TEST_VALIDATION_REC;

    PROCEDURE ADD_TO_ORD)

    p_lot_number_list IN VALD_TBL,

    p_ord_number IN Varchar2,

    p_user_id in NUMBER: = fnd_profile.value ('USER_ID'),-change 1.10

    p_responsibility_id in NUMBERS: = fnd_profile.value ('RESP_ID'),-change 1.10

    p_application_id IN VARCHAR2: = 'PO',-change 1.10

    x_error_flag OUT Varchar2,

    x_error_msg OUT Varchar2

    )

    In the above procedure, I had the VALD_TBL. Is it OK?

    And how in the loop if the records if I use:

    FOR indx1 IN 1.p_lot_number_list. COUNTY

    LOOP

    BEGIN

    SELECT

    inventory_item_id

    IN

    ln_item_id

    Of

    dummy_lot_tab

    WHERE

    lot_number = p_lot_number_list (indx1); - > how direct the item here?

    EXCEPTION

    WHILE OTHERS THEN

    ln_item_id: = NULL;

    END;

    Records are PL/SQL objects.  They are not the SQL objects.  You can create a SQL TYPE (schema level) as a collection (variable-tables only, tables nested).

    So therefore your first statement is syntactically incorrect

    CREATE OR REPLACE TYPE TEST_VALIDATION_REC IS RECORD
    (order_num VARCHAR2(30),
    inventory_item_id NUMBER,
    reserved_YN VARCHAR2(1),
    error_flag VARCHAR2(1),
    Error_message VARCHAR2(2000)
    );
    

    You must put in an anonymous PL/SQL block or the stored procedure

    DECLARE
    
       TYPE test_validation_rec IS RECORD
       (
        order_num VARCHAR2(30),
        inventory_item_id NUMBER,
        reserved_YN VARCHAR2(1),
        error_flag VARCHAR2(1),
        error_message VARCHAR2(2000)
       );
    
       TYPE vald_tbl iS VARRAY(10000) OF test_validation_rec;
    
       lv_tbl vald_tbl;
    
    BEGIN
    
       lv_tbl := vald_tbl();
      -- insert your code here 
    
    END;
    
  • Hello, I need help for cancel the payment on my adobe account.

    Hello, I need help for cancel the payment on my adobe account. I'm from Peru, Im paying a monthly fee as a student. Help, please...

    Cancel your membership creative cloud

  • Need help to solve the problem with the margin at the bottom of the converted pdf file.

    Need help to solve the problem with the margin of the converted CEO down. What caused the change in format?

    Hi jerrio1949,

    There is no way to change the margin, you settle back into your original file & then convert to PDF format.

    Kind regards
    Nicos

  • I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    Start with the tutorials in the Welcome window to start and takes a course from a site like Lynda.com.

Maybe you are looking for

  • Qosmio G50 - Sidebar ignores the gadget

    Hello HD console 1.0.8.3 installation runs and everything seems to install ok. Spurs.gadget file is installed to \program files\windows siderbar\shared gadgets but sidebar.exe completely and in silence, ignores the gadget. Any ideas on what is wrong

  • What should I do with a library migrated?

    I have a file of iPhoto library taking 107 GB of space on my hard drive. The library has already been migrated to Photos, I have to delete it?

  • Computer laptop 15-r236TU: 15-r236tu

    Can anyone tell if the computer laptop 15-r236TU has 5 GHz wifi ability please. My router is on its last breath and I need to know if I can already it with double band. Thank you.

  • Search programs and files option is missing in my Start menu.

    Start menu problem search programs and files option is missing in my departure menu.i uses windows7.can of assistance for me?

  • Inspiron N5110 secondary GPU MIA

    Hello. I have a Dell Inspiron laptop n5110 that came with a main Intel HD GPU and a secondary, more powerful GPU Radeon HD. Now, all of a sudden the Radeon is MIA. It is not found on the Device Manager and I can't start the switchable graphics or cat