QNXStageWebView: New problem since update the OS of the PlayBook!

Hello

In my Air application, I use QNXStageWebView to make a help section. So I'm used to my pages help form in my folder bar; in order to open with the QNXStageWebView component.

It works well before the OS PlayBook last updated. I store my HTML pages:

file:///accounts/1000/APPDATA/PlayCloud.Debug.testDev_Cloud_debugXXXXXXX/app/air/help/index-en.html

It seems that now, I can't open my file

What is the change of OS? How can I deal with now? Can I continue to use HTML pages? I have to convert my HTML pages in the Air?

Nicolas

Hello

According to me, in my first version, my window is not correct and I can shoot my QNXWebView out my container.

Here, my class:

package
{
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.events.Event;
    import flash.filesystem.File;
    import flash.geom.Rectangle;

    import qnx.media.QNXStageWebView;

    public class HelpView extends Container
    {
        private var webview:QNXStageWebView;

        private var _filePath:File;

        public function HelpView(rect:Stage, locale:String='en')
        {
            super();
            super.setSize(rect.stageWidth, rect.stageHeight);

            trace("[HelpView]", "width = " + rect.stageWidth + " height = " + rect.stageHeight);

            webview = new QNXStageWebView("LocalVP");
            webview.stage = rect;
            webview.viewPort = new Rectangle(0,0,rect.stageWidth,rect.stageHeight);
            webview.visible = true;
            webview.blockPopups = true;
            webview.enableJavaScript = true;
            webview.enableLocalAccessToAllCookies = true;
            webview.zOrder = 1000;

            var appPath:File = File.applicationDirectory.resolvePath('help/index-' + locale + '.html');
            _filePath = new File(appPath.nativePath);

            webview.loadURL(_filePath.url);

            if (!webview.hasEventListener(Event.COMPLETE))
                webview.addEventListener(Event.COMPLETE, onDownloadComplete);
        }

        public function setLocale(locale:String):void {
            var appPath:File = File.applicationDirectory.resolvePath('help/index-' + locale + '.html');
            _filePath = new File(appPath.nativePath);

            webview.loadURL(_filePath.url);

            if (!webview.hasEventListener(Event.COMPLETE))
                webview.addEventListener(Event.COMPLETE, onDownloadComplete);
        }

        public function onDownloadComplete(event:Event):void {
            trace('[HelpView]', 'onDownloadComplete:');

            webview.removeEventListener(Event.COMPLETE, onDownloadComplete);
        }

        public override function setSize(width:Number, height:Number):void
        {
            trace("[HelpView]", "setSize: widthxheight = ", width, 'x', height);

            super.setSize(width, height);

            if ((width > 0) && (height > 0)) {
                webview.viewPort = new Rectangle(0,0,width,height);
            }
        }

        public override function destroy():void
        {
            webview.visible = false;
            webview.stage = null;
            webview.dispose();
            webview = null;

            super.destroy();
        }
    }
}

Nicolas

Tags: BlackBerry Developers

Similar Questions

  • New problem since update with shape

    On the website of my client, they complained that the shape is not a link back to "sending after" thank you page and it says error when sending.

    This is a first for me, because I have not changed anything, that I have no idea where the problem comes from, Adobe or server?

    Any help would be appreciated.

    Thank you

    Joel.

    I tried to check the form and you can see that shows Server error by submitting the form, please follow the steps here:

    https://forums.Adobe.com/docs/doc-3581

    Thank you

    Sanjit

  • Problem to update the views by using templates

    Hi all

    I'm trying to implement the model of presentation using Cairngorm in my flex application. I have a problem to update the views using the presentation model.

    Here's what I do.

    1. I am trying to create a login screen.
    2. To store the current of the user logged in ModelLocator, I created a "currentUser" property
    3. My Member information screen (the screen is displayed after successful login) displays the username like this.
      • < mx:Label label = "{memberUI.fullname}" / > "
    4. I created a template, memberUI for Member information screen. It has a property called "name", which stores the full name of the current user.
    5. I created a method in the presentation model called setFullname() which does the work of definition of the fullname property. This function is called in the answering machine for the connection event.

         public function setFullname():void {
              var appModel:AppModelLocator = AppModelLocator.getInstance();
              appModel.currentUser = event.result as UserVO;
              var uim:memberUI = new memberUI();
              uim.fullname = appModel.currentUser.firstname + " " + appModel.currentUser.lastname;
         }
    

    But even when I was able to login, I am unable to display the full name in the view. Why is this happening?

    Can someone tell me what I am doing wrong?

    Thanks and greetings

    ShiVik

    I've seen two approaches to this within the PM + Cairngorm architectures.

    (1) pass a reference of your MP in your Cairngorm event to allow the command / responder call Update with the results of a service. It's an approach simple but tie your orders and the speakers to your PM class, which makes them less versatile.

    (2) have your PM record reminders with your Cairngorm event to allow results to be returned to your MP. Reminders may take the form of event, function references listeners or an object that implements IResponder.

    Unfortunately, I'm not aware of many examples online for this, but the following link to get (2) passing references to functions:

    http://www.allenmanning.com/?p=31

  • problem while updating the number of lines.

    Hello..

    Im very new to obiee and now to learn things.

    I'm using the following link to learn how to create a repository and work with it.

    [http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html]

    and im facing problem by updating the number of lines.

    get a dialog like...

    There is an error while updating the number of lines for "SH"... "" SH ". "" CHANNELS ".
    + [nQSError:17001] Oacle Eroorcode:942, message: ORA - 00942:table or view does not exist the OIC OCIStmtExecute call: select count (*) channels. +
    + [nQSError:17011] SQL statement execution failed. +

    Wat could be the problem? can anyone help?

    thnx in advance.

    Have you downloaded zip included in the tutorial and placed in the right place?

  • Result of Sniffer code: 3 / CUDA-problems since update Mavericks

    Hey guys, first of all, we thank very you much help / or check that.

    I have this problem since upgrade to the Mavericks of Mountain Lion.

    After the upgrade, I noticed there is a CUDA sign in my prefs system - which was new to me, having the classic built-in ATI Radeon my MacPro.

    From After Effects since then results in:

    Last log message was: < 140735271506704 > < GPUManager > < 2 > Sniffer result Code: 3

    .

    Generation of journal of crash that can take a few minutes.

    then OSX tells me that AE has stopped working.

    System Specs:

    MacBook Pro

    15 inches,

    End of 2011

    AMD Radeon HD 6750 M 512 MB.

    OSX 10.9.2 (13 C 64)

    Therefore, the classic on the graphics card and nothing fancy/PC-NVIDIA.

    What I've done so far:

    Installed CUDA-latest Version (even if, in terms of prefs system tells me that he needs an update, even when you download the newest NVIDIA)

    Uninstalled and installed all of the CC-Suite, cleaned, made a new admin user, uninstalled again, installed on user news (same problem), installed on the former.

    CUDA-drivers were uninstalled since in the Terminal (kill all the files NVIDIA.kext and GeForce.bundle), rebuild the files extensions with kext utility.

    Opportunity-utility disk in the system and rebooting with COMMAND-R, checked the volumen and permissions, nothing relevant Adobe came back.

    I'm a little very stuck here...

    Any help would be welcome.

    Thank you

    The problem is that you have installed the CUDA software on a computer on which no CUDA compatible hardware. Don't, don't.

    You must remove the computer CUDA framework. See the last part of this article:

    http://blogs.Adobe.com/kevinmonahan/2014/03/19/avoid-installing-NVIDIA-CUDA-drivers-on-com combuilt-with-amd-GPU.

  • Problem with updating the firmware on 40TL838G

    Hello

    I am very happy owner of Toshiba 40TL838 screen (G).
    Recently, I tried to update the firmware on it.
    Next steps in the user manual I tried to do the update of the network. "No new updates available" poped upward. I goggled solutions and came across a manual update of the USB.

    I downloaded the firmware recent Telefilm, coppied to usb (4 GB, formatted FAT32).
    Following the online instructions I have unplluged TV power.
    Plugged in USB. Connected TV to the power and he lit. And nothing happened.

    After 20-30 sec info abut being plugged usb pop uped question I wish to put on the Media Player.

    Firmware: 6.1.0M.1
    MBoot: 00480288
    MFC: 240226

    Any ideas how to proceed with this case.

    Concerning
    SLim

    Hello

    The firmware can be downloaded and updated via the network.
    But as far as I know you need to change the drive media or software update settings can not be started.
    Media Player-> USB media player-> installation
    Then press left or right, and select THE
    Now we turn on the TV
    Insert the USB key containing the firmware and after inserting the USB firmware update information appears on the screen.
    Then choose YES

  • Problems after updating the BIOS on Satellite Pro P200

    I recently buy a Satellite Pro P200 running Windows Vista Business. Yesterday, I updated the BIOS to the version 1.50 supplied with the machine to 1.80 available on the Toshiba site. I double checked that I was using BIOS correct update for the Pro P200 Satellitel running Vista.

    After updating the BIOS, I have now two problems:

    1. whenever I start and join the office, I get an error message "record of Vista has stopped working". This problem has been identified as toshibavistaregistration.exe here: [link: http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=99805]

    2 Control Panel > system now shows the processor and the memory (RAM) as "not available". Execution of the diagnostic PC Toshoba tool and looking at basic information show also no information on the memory (RAM) Although the processor information here. There may be pieces others missing too under the eyes of list shorter than before the update of the BIOS.

    Basically, I want to get everything working again as it should, but cannot find any information on these issues.

    After further review, it appears that the update of the BIOS is not the cause of the problems.

    Immediately after updating the BIOS, I had a major system crash. It turns out that this is what has caused problems.

    After a system restore to a point before the update of the BIOS and the major system crash, now everything is working again with BIOS version 1.8 in place.

  • Problem since update to 9.3 on W7 64bt

    I accepted the automatic update for Acrobat Pro 9.3. No apparent problems with installation and when first used to display PDF files, I had no problem. During the session when I have opened the program, it tries to reload all the PDF previously displayed, then Windows detects an error and closes the program with the message "Adobe Acrobat 9.3 has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available.

    I tried reapplying the update and rebooted the system, a couple of times, but the problem persists.

    Anyone else seeing this?

    Is it possible to start Acrobat and deleting preferences?

    Thanks in advance

    Running Windows 7 64 bit, no problems with the lack of memory or disk space.

    There are several default plugins that are part of Acrobat. Hold the SHIFT key is a way to open Acrobat faster by the Extras won't load does not, but may overlook something that you would normally available. For you it apparently has a chance to correct a problem. It's a nice observation and remember.

  • problems to update the SDK 5.0

    I recently installed the complete installation of Blackberry java plugin version 1.5.0.201110141512 and I want to install the blackberry java SDK 5.0.0.25, but I still get this error... the strange thing is the user and the password are valid. Connect to the developers space every time I get the error and I have no problem:

    An error occurred collecting elements to install
    session context has beenprofile = SDKProfile, phase is org.eclipse.equinox.internal.p2.engine.phases.Collect, operand =, action is).
    Cannot read the repository to the: https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA... Too many connection attempts that failed.

    Thanks in advance

    Horacio Morales Gonzalez

    Hello again

    I've solved this problem... the URL to download the SDK was incorrect!... it needs to be http://www.blackberry.com/go/eclipseUpdate/3.6/java instead of 3.5.

    Thanks for your time!

  • InDesign: New problem since the last updated: coloring .tif

    Seit dem last Update (yesterday oder so)

    ICH habe problem um einzufarben .tif in indesign...

    DAS topic erschein kurz in der Farbe wieder Sekunden verschwindet aber nach 1-2 gewahltene

    ist wieder schwarz... und obwohl die Farbe ganz klar ausgewählt wird und auch correspondingly

    in der Toolleiste wird displaying...

    Help...

    Known, issue turn on overprint Preview in the view menu.

  • Problems of updating the app with a new BlackBerry ID token for the signature

    Hi all

    Since may 2014, I have an application that I update often... This may 2015 my BB ID token expired, so I created a new one with the same BlackBerry ID account, that I have used before. However, I am facing some problems to make a new update, I got the "file bundle (votre_nom) was rejected. Package ID is required for all .bar file. "If this is an upgrade, ID of Package must match the ID of Package original batch file."

    The thing is, my application has been signed with the same BB ID account and keep the same package name, as always.

    Circumvention of this topic (link here) say contact at BB Vendor Management Support to update my application, but is not guaranteed retain the same downloaded application to the BB world.

    My question is: if I generate a new BB ID token with the same account ID to BB, and I keep the same name of packgane, how can I do to update my application without losing my users?

    THX

    The account name or package BlackBerry ID has changed.  It is the only cause of this error.  Here's how you can verify that it has changed.

    1. Open your original BAR file with a utility like WinZip archives.
    2. Extract of the MANIFEST. MF file in the META-INF directory.
    3. Repeat this procedure with your new file BAR.
    4. Open the manifest files in a text editor.
    5. Compare package-author-Id and the name of the Package in the manifest.

    If the package-author-Id is different, the application was signed with a different account.  If the Package name is different, then that changed.

    If you find that package-author-Id has changed and you do not know what account has been used send me the package-author-Id in a private message and I can watch it for you.

  • My 'search' bar does not. It's a new problem, since I downloaded the latest version of Firefox.

    Recently downloaded the latest version of Firefox. I then tried to use the function "search". I can type the subject in the search bar space, but when you click on "search", there is no response.

    Thank you!

    Don

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • Problem with updating the firmware/kernel of 4305G

    Hi forum,

    I searched this forum for similar cases, but can't find an answer.

    I have firmware and the kernel update files for the DPM G 4305 (5.2.0_FCS_4305.fwimg & DMPkernel_A2_4305.tivella) and tried all means known to me to upgrade the DMP, but without success.

    We have DMS 5.2. I tried the upgrade through the DMM, / * Style Definitions * / table. MsoNormalTable {mso-style-name : « Table Normal » ; mso-tstyle-rowband-taille : 0 ; mso-tstyle-colband-taille : 0 ; mso-style-noshow:yes ; mso-style-priorité : 99 ; mso-style-qformat:yes ; mso-style-parent : » « ;" mso-rembourrage-alt : 0 cm 5.4pt cm 0 5.4pt ; mso-para-margin : 0 cm ; mso-para-marge-bottom : .0001pt ; mso-pagination : widow-orphelin ; police-taille : 11.0pt ; famille de police : « Calibri », « sans-serif » ; mso-ascii-font-family : Calibri ; mso-ascii-theme-font : minor-latin ; mso-fareast-font-family : « Times New Roman » ; mso-fareast-theme-font : minor-fareast ; mso-hansi-font-family : Calibri ; mso-hansi-theme-font : minor-latin ; mso-bidi-font-family : « Times New Roman » ; mso-bidi-theme-font : minor-bidi ;} DMM - DSM and even with the IIS web server that I found as upgrade on this forum, but still no joy.

    To be more specific, try with IIS web server, I downloaded the file in the root folder and used this example below:

    (http://10.10.10.2:7777 / set_param? mng.command = start + upgrade + kernel + http://10.10.10.10/DMPkernel_A1_4300.tivella) I've only had a window to enter the username and password of the DMP and then nothing happens.

    I double that the DPM has the IP address of the DMM to centralized management, DMM - DSM server time-out set at 300 dry, DPM Web account as well as the user/pass in DMM, DPM Service account same user/pass and also active FTP.

    The strange thing is that in DMM, it shows G 4305 such that registered for a while, but after awhile it registers outside, and the status changes to red X. During this brief period, I tired to upgrade the DMP in the Action drop-down list menu, although he did nothing.

    I know kernel must be applied first, then the firmware. For the sake of the argument, I improved the 4400 G firmware through the digital multimeter with no problems at all.

    The name of the exact model is: DMP - 4305G - 5.1 - K9

    If you need me to download and/or add additional info to this question, don't tell.

    Any input will be greatly appreciated!

    Maxim

    OK, I tested a DMP - 4305G here who was 5.0.

    I upgraded to first 5.0 to 5.1.  The upgrade was successful.

    Then, I upgraded to 5.1 to 5.2.  The upgrade was successful.

    You may need to capture a trace of sniffer to see what is

    current.  And use the same steps and legends that I use

    to verify everything in your configuration.

    T.

    RECREATE THE NOTES:

    ===============

    DMP = 10.10.10.10

    WEB server = 20.20.20.20

    User = admin

    Password = default

    Webserver = Apache (I don't use IIS)

    5.1 web site Directory Server = Software/dms-images/DMP-images/5.1/

    5.1 the firmware kernel file = DMPkernel_A1_4305.tivella

    5.2 web Directory Server = Software/dms-images/DMP-images/5.2/FCS/5.2.0_FCS_4305/

    5.2 the firmware kernel file = DMPkernel_A2_4305.tivella

    UPGRADE from 5.0 to 5.1 KERNEL *.

    STEP #1

    http://admin: [email protected] / * */:7777/get_param?p=sinfo.version

    T_STRING Linux version 2.4.22 sInfo.version ([email protected] / * /) (gcc version 3.3.2) #1 Fri 19 Oct 11:00:01 PDT 2007

    STEP #2

    http://admin: [email protected] / * /: [email protected] / * / [email protected] / * * / _4305.tivella

    STEP #3

    http://admin: [email protected] / * */:7777/get_param?p=init.upg*

    init.upg_context T_STRING Upgrade (core) succeeded

    init.upg_percent T_LONG 0

    init.upg_status T_STRING non active Firmware update

    STEP #4

    http://admin: [email protected] / * */:7777/get_param?p=sinfo.version

    T_STRING Linux version 2.4.22 sInfo.version ([email protected] / * /-desktop) (gcc version 3.3.2) #1 Tue Nov 18 14:48:57 this 2008

    > Success upgraded to 5.1 kernel

    UPGRADE from 5.1 to 5.2 KERNEL *.

    STEP #1

    http://admin: [email protected] / * */:7777/get_param?p=sinfo.version

    T_STRING Linux version 2.4.22 sInfo.version ([email protected] / * /-desktop) (gcc version 3.3.2) #1 Tue Nov 18 14:48:57 this 2008

    STEP #2

    http://admin: [email protected] / * /: [email protected] / * / [email protected] / * */FCS_4305%2FDMPkernel_A2_4305.tivella

    STEP #3

    http://admin: [email protected] / * */:7777/get_param?p=init.upg*

    init.upg_context T_STRING Upgrade (core) succeeded

    init.upg_percent T_LONG 0

    init.upg_status T_STRING non active Firmware update

    STEP #4

    http://admin: [email protected] / * */:7777/get_param?p=sinfo.version

    T_STRING Linux version 2.4.22 sInfo.version ([email protected] / * /) (gcc version 3.3.2) #1 Wed Dec 9 22:10:26 PST 2009

    > Success upgraded to 5.2 kernel

  • Problems since update: slow catalog and crash

    I have recently updated to the latest version of LR and have had problems with the fact that it is slow and crash since then. I recently posted that I had some insights on these imports, but I solved that by optimizing the catalog. This morning I sat down to work, and my catalog has been extremely slow. I restarted my computer several times but LR was still unusable. Then it crashed and said the catalog was corrupted and needed repair. After 30 minutes, I was told repair was not possible. I backup every night, so I copied the backup of my EXHD, and open instead. It was slow but functional. I optimized it and when he finished it is still slow. Now, it crashes after a few minutes of being open and now it will not open at all. It is a vital catalog and the only backup I have is that I already tried to work from. Help!

    Have you tried to disable the GPU in LR / Edit / Prefs / Performance - uncheck CPU chart use

  • New problems to update with lower opacity effect

    Since the new update of Adobe Muse in February, I noticed that the text lower opacity on my pages do not work when I'm writing the site.

    Website: http://www.ampaevents.com/wed/about-us.html

    For example, the dreams of design should be transparent.

    I took the PNG of your page and placed it with opacity reduced on the other elements of a provision of the Muse. Everything worked well.

    Could you reduce as much as possible a single page, upload it to a provider of cloud like dropbox and post the link here?

Maybe you are looking for

  • Firefox get low performance after runing 2 years as well

    Hi allin advence, I am happy to be one of the users of mozilla firefox.really, I think it's a stable browser.After two years using mozilla firefox Charleston, it became very very low return onFacebook and youtube and a few Web sites that use a lot of

  • What is a "dynamic dependency?

    Hi all I read white papers on the management of a base of Labview code correctly and I've seen several references to 'dynamic dependencies. Can someone explain what dynamic dependency is and provide a simple example? I couldn't find a good explanatio

  • HP Office Jet G85, new Dell, Windows 8 (and 8.1) - refusal to print

    My G85 will not print for the purchase of a new computer with Windows 8 (later upgraded to 8.1). It will display the pages with very little content, as controls. However, with something else, the printer will print an inch or two of a page and then g

  • HP dv 6247cl: maximum capacity of RAM for my motherboard

    I would like to improve the RAM of my laptop. My rating has 2 GB of RAM. Can I increase this? My motherboard is Quanta 30BB 66.36. Thank you

  • How to use all the internal speakers and headphones?

    Hello, I am using the internal speaker and the headphones together...I have a HP Pavilion dv9695el laptop running windows vista ultimate 64 bit and my sound card is a Realtek ALC268 (I have updated drivers). Card his has three exits: 3, 5 mm jacks on