Location of the resource via a URL file? e.g. file:///?

I'm trying to implement a local HTML file reading and writing directly to the browser by using one of the examples of the RIM.  The HTML file is a resource of program (help file).  I want to load the file by using a "file:///" url (yes I know, that I can do through class.getResourceAsStream).

Does anyone know what would be the URL path for a resource file or if it is still accessible in this way?

In fact, this proved be simpler I thought it would be. (I found it by searching in the old forums)

Private private = Browser.getDefaultSession ();
browserSession.displayPage ("cod: / / / [module name] / help.html");

Seems to work very well on everything that I've tested it with.

Tags: BlackBerry Developers

Similar Questions

  • No showingf location for the Resource Center content in Encore CS5.1

    When I go into Preferences/Media, Edition Watch dialog box and the location of the library is OK, however the area location of the RC content is empty. Should there be a place showing?

    In addition, I do not show any menu in the Styles Panel there should be a. I can access the different menu via the "import in the form of menus" tab file, but can not really see what they are until they are charged.

    I'll be a "Newby" who does not yet properly or something wrong.

    Any help would be greatly appreciated

    Hi, John T

    Please ignore all my previous. I finally thought to it after losing two days. Thanks for your effort in trying to help tho

  • To access the elements of the scene, via a SWF file that is loaded inside the scene

    -J' I A.fla.

    -A.fla includes buttons, video clips and also B.swf is loaded in A.fla with a CHARGER

    -I want to access the elements in A.fla, from codes actionscript inside B.fla to change these video clips and buttons based on the actions going on in B.swf

    for example, lets say there is an X button in A.fla and there is a button there B.fla, B.swf is loaded into A.fla, and I want the key Y to delete X when you click the button.

    General question: to access the elements in a stage, via a file SWF loaded in this stage.

    This is a way silly to explain: there is this pregnant mom, a child is loaded inside him, now, I want the codes inside the child, access to MOM

    elements, such as lets say, I want the code of the child can make the eyes of MOM flashing faster. logically there is something inside something else, but I want to have access to the bigger picture of what is loaded. I hope I can get my point across.

    I repeat what I replied to your other psoting for this same question and adding just a little bit more...

    If you load a swf into another using the Loader class, then the charger itself is the parent of the loaded swf file, so MovieClip (parent.parent) could help you target the timeline that the charger was born.

    The way to have a loaded file to speak to a parent file is through the sending of events that the parent assigns headphones for after the file has been loaded.  Here is a link to an announcement that could help explain how to implement this.

    http://forums.Adobe.com/thread/470135?tstart=120

    And here's a quick example...

    Example:

    Add something to raise the event in the child:

    dispatchEvent (new Event ("eventTriggered"));

    In your SWF to loading/parent, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf file.

    triggered when external swf loading event handler
    function loaderCompleteHandler(event:Event) {}
    (event.currentTarget.content as MovieClip) .addEventListener ("eventTriggered", eventHandler);
    }

    function eventHandler(event:Event):void {}
    trace ("event sent in loaded swf");
    }

    So in your A.swf, you should have the other event and functions of event handler that would take care of control buttons.   Event listeners could be assigned to the B.swf after that that it has loaded.  In your B.swf you just have it dispatches an event and the A.swf manage self adjustments you need taken care of.  This allows the two files to be independent of each other on a functional level.

    Regarding the buttons that you want to disable, you can either use the removeEventListener() method to remove the listeners you have assigned, or you can set the mouseEnabled property to false, or you can set the visible property to false.

  • The analysis via an XML file

    Hello

    I work with an XML file that is generated through the API of Google Books.  I'll apologize in advance if I don't get quite accurate XML terminology - it's my first foray into some of the tags XML see  I'm reading a XML file in and attempt to send data:

    "< cfhttp url = 'http://www.google.com/books/feeds/volumes?q=john+grisham+the+firm & min-viewability biased =" method = "GET" > "

    < CFSET xmlfile = xmlparse (cfhttp.filecontent) >


    < cfset xmlsize = arraylen (xmlfile.feed.entry) >


    < cfloop from = "1" = "" #xmlsize # "index ="a">"

    < b > title: #xmlfile.feed.entry [a].title.xmlText # < /b > < br >
    < b > Format: #xmlfile.feed.entry [a].format.xmlText # < /b > < br >
    < b > author: #xmlfile.feed.entry [a].creator.xmlText # < /b > < br >
    < b > identifier1: #xmlfile.feed.entry [a].identifier.xmlText # < /b > < br >
    < b > identifier2: #xmlfile.feed.entry [a] .identify [2] .xmlText # < /b > < br >

    < / cfoutput >
    < / cfloop >

    It works pretty well.  Here's the problem: there is often a third identifier field (xmlfile.feed.entry [a] .identify [3] .xmlText)- but not always.

    I'm testing the existence of this field before you post.  I tried the following:

    < CFIF isdefined("xmlfile.feed.entry[a].identifier[3].xmlText") >
    is defined

    < CFELSE >

    is not defined
    < / cfif >

    Gives the typical error:

    Parameter 1 of function IsDefined, which is now xmlfile.feed.entry [a] .identify [3] .xmlText, must be a valid variable name syntactically.

    I would use structkeyExists, but I can't understand how the third node (?) using the reference code:

    < cfif structKeyExists(xmlfile.feed.entry[a],"identifier") > only works for xmlfile.feed.entry [a] .identify [1] .xmlText

    < cfif structKeyExists(xmlfile.feed.entry[a],"identifier[3]") > is not valid.

    So with strucktkeyexists, I can not understand how to properly reference the name of the variable...

    Any help?  Or the best ideas to verify the existence of this variable?

    The node you are looking at is an array, so:

    you need to do. At the present time, you test for the attribute 'xmltext' rather than to check its node parent exists.

    HTH.

  • Add location of the slide in published URL

    I am trying to create a hyperlink that will go to a specific slide in my e-learning module. Y at - it anyway to set an anchor point within the URL of the e-Learning module published so that when you click on a link to access the module, it will take you to a specific slide in the module.

    This was written for Cap 7 upwards but should still work with some updates the reference APIInterface of course if you can get the Javascript window on the option run Javascript behave (I really hate this window). The solution don't use anchors in itself but enters the number of the slide from the URL and passes to the internal function of the CAP to jump to a slide.

    Jump to a specific slide in a course using Captivate 7 - CaptivateDev.com

    If you read the comments under the article there are some tips to run Cap 8.

    Note! This solution only works if you do not have the course on a server or the preview in a browser where the course starts an instance of localhost. Local testing (where the index page is run from somewhere out of the hard drive) will see the JS disabled for security reasons.

    Jord-

  • Need to revoke the resource via a scheduler object

    Hello

    I revoke the receiver Office of a user that already exists in the basis of IOM. I use the createDeleteReconciliationEvent() API to revoke the RO as below:

    userData.put ("NT Logon Name", 123456);
    createDeleteReconciliationEvent ("RO_NAME", userData);

    The API is executed successfully, but there is no change to the Office of receiver of the user. The receiver Office remains in configured state.

    Do I need to have additional configurations in the Console design to achieve this?

    Please advice.

    Kind regards.

    To revoke the Office of receiver, you will need to use

    userOperationsIntf.revokeObject API

    Please be more clear about your requirement.

  • Location of the DW CS3 on Mac files

    I use Dreamweaver CS3 on a Mac Pro running OS x 10.4 Tiger. I'm about to upgrade to Leopard 10.5, and I want to do a clean install of all of my CS3 products. I have a complete backup of my HD and I want to copy all my preferences for CS3 software back to my Mac Pro after installing Leopard. Where OSX stuff preferences, etc. for DW, ch & Fireworks?

    Thanks Murray. I didn't know that the batch is an option. This will make the task much easier.

  • Change the location of the file thumbnails and original pictures folder to a drive other than the c: drive

    Windows Live Photo Gallery has interesting features, I would like to use, but I have thousands and thousands of photos and cannot afford to use the default locations for the resource files and application folders. My c: drive is a small solid state drive, so I want ALL the resources of the application on another drive.

    C:\Users\John\AppData\Local\Microsoft\Windows Live Photo Gallery has 6 GB of files it contains.
    I can't find a way to move this place also.
    The app also seems to copy original Images folder in several versions for restore points. How can I prevent that to happen?
    And how to configure this software so that the location of the original images is in a folder and drive that I specify, rather than the default location on the C?
    I would really like to continue to use this software, but I'll drop and throw if I can't get the resources that are located on a different drive...
    Thanks for the tips!

    Hello

    The question you have posted is related to Windows Live Photo gallery and would be better suited to the Windows Live community. Please visit the link below to find a community that will support what ask you:
    http://www.windowslivehelp.com/product.aspx?ProductID=20

  • Is there a possibility to archive all the resources in a project to a dvd?

    It would be nice to have a function when a video is completed which would allow you to physically locate all the resources involved in the project and allow them to be all moved to a folder or engraved on a dvd for archiving.

    It is... search the help file for...

    Project Manager

  • Name of dynamic resource for Excel/csv files

    Hi all

    Playback of a source (as well as csv) excel file, I tried passing the name of the resource via a variable that is defined to contain the name of the file (update). However, the performance, the file name with a character '-' extra without be specified in the interface variable text to deal with the load step.

    The error that says:

    ODI-1227: SrcSet0 (load) task fails on the source of the FILE connection < ConnNameHere >.

    Caused by: java.sql.SQLException: ODI-40438: file not found: C:\DirectoryNameHere\ /OTD.

    This is expected behavior where one needs to escape special characters?

    I checked that the extra / is not present in the value of the variable or the directory for the physical schema.

    TIA.

    Hello

    In my view, ODI generates the character ' / ' by default and I don't think we have any special treatment to escape this character.

    Based on the error message, it looks like you gave "C:\DirectoryNameHere\" in the directory in the physical schema. Lets say "SourceFiles" is your name of directory where all you produce will land and you want ODI to choose that path there, then directory will be "C:\DirectoryNameHere".  When you run the task, ODI generates path like this: "C:\DirectoryNameHere/OTD.csv."

    Kind regards

    KK

  • "Word cannot complete the save due to a file permission error."

    I have Windows XP.  Recently, this message appeared when I tried to save my Word documents: "Word cannot complete the save due to a file permission error."  I can always eventally the record via a temporary file, but it's very messy.  "A file permission error" - what on Earth is this?  And what should I do to get things to normal?     Ron Davis, Newcastle N.S.W..

    When you press the F8 key and access the Safe Mode start screen, use the arrow keyboard keys to select "Safe Mode with networking" and press the Enter"" key.  A list of startup items you will see on the screen, but after all that, you will get a normal login screen (except the screen may seem bigger than normal and 'Safe Mode' can appear in the corners of the screen.  At this point, log in as any user with administrator privileges.  After successfully login, you should be able to right click on a folder or file and select "Properties".  When the Properties screen, you should have a 'Security' tab at the top.

    Another approach is to use the command line command "cacls" to a normal startup that will show and allow you to set permissions on files and folders.  (Start-> Run-> "cmd") and then you can use the cacls command.  The Calc command syntax can be found here:

    <>http://TechNet.Microsoft.com/en-us/library/bb490872.aspx >

    or you can type: cacls /?

    "Cacls" allows to screw things easily and quite bad so if you can switch to the tab 'Security', which is the way to go.

    HTH,

    JW

  • The initial launch of DW CC 2014, get following error: "cannot locate the resource file in the Configuration folder. This file is Spectialized to run Dreamweaver. Please reinstall the application. "This app has been updated through CC.

    I have to first remove the DW? With the help of PC Win 7.

    The error message: "Unable to locate the resource file in the Configuration folder", so it seems that something is missing. Could be a permission problem... I would suggest:

    1. go to a user admin account

    Connect using built in Administrator | Create the local admin account. 7, 8, Windows Vista

    Install or run Adobe applications in the new user account. Mac OS X

    2 remove the application DW CC 2014 by uninstalling or using the cleantool.

    https://helpx.Adobe.com/creative-cloud/help/install-apps.html#uninstall apps

    Use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

    3. manually delete the directories of config according to KB: (you need to of course search the CC 2014 folder instead of the older versions in the KB)

    Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6

    This step will ensure that also the configuration file will be regenerated on re installation!

    4 reinstall on the new admin account and test again. If works please go back to the old account and test again.

    Good luck!

  • We can access autogen_dimensions.xml file via a URL?

    Hello

    We can access autogen_dimensions.xml file via a URL?

    Is it possible to access the file autogen_dimensions.xml with the URL as shown below.

    http://host:port / < App name > /Data/State/autogen_dimensions.xml file. I want to read this file in my java class.

    Kind regards
    Ravinder P

    Service platform is delivered with 2 copies of the reference application. The folder that you noted is not functional, for reference.

    Who is running is located at:

    \Endeca\PlatformServices\6.1.2\tools\server\webapps\endeca_jspref

    You should be able to just drag the files in there.

  • MAR to location of the file has changed?

    Hello

    We use MAR patch files automatically Firefox by https://wiki.mozilla.org/Software_Update:Manually_Installing_a_MAR_file. However, the http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/ directory is no longer exists and has been replaced by a file README.txt document how to use web download.mozilla.org .

    Is there a new location for the files last update MAR, or better still, a way to use the web service of releases to get a MAR?

    Thank you

    You must download the files of MAR of the repertoire of the current version.
    The most recent release directory no longer exists as you have noticed.

    You can construct a URL like this with the current version and the version that you want to update.

    This will give you a MAR file if this partial update is available.

  • Name & location of the e-mail for the backup files

    I am being backup of files on my computer using the FTP FileZilla to work program.  Can you please tell me the names of my files from Windows Mail (Inbox, and sent) and where they are found in my computer, so I can make the upload on the site of backup storage?

    Thank you very much!

    See www.oehelp.com/backup.aspx#wm the actual location of the message store can be determined via Tools | Options | Advanced | Maintenance | Storage folder.  The files are hidden, select then show the files hidden under control panel | Folder options | View and also uncheck Hide extensions of known files so you guys can better detect the eml files.
     
    Steve
     

    I am being backup of files on my computer using the FTP FileZilla to work program.  Can you please tell me the names of my files from Windows Mail (Inbox, and sent) and where they are found in my computer, so I can make the upload on the site of backup storage?

    Thank you very much!

Maybe you are looking for

  • Safari and help YouTube Vids

    Youtube videos embedded on community bulletin boards make their appearance as the black rectangles and won't play. How can I update?

  • I have pop ups, asking me to fill out surveys to back up files

    It just started happening recently

  • MBP (retina 2015) [with LOG] kernel panic

    Hi everyone, today I had my first kernel panic on my MBP early 2015 with OS X El Capitan retina finally release. I closed the laptop (stop) last night and when I wake it today it I had to turn it on and when it started I got the following message is

  • Street and trail GPS travel questions

    I just started a 60 day trial of streets and travel 2011.  I have difficulties clear GPS track. If this is not possible, can I select the track and change the color or the size of the line?  I use the 2007 version and am able to erase or change color

  • HP PSC 2200 SERIES: HP PSC 2200 PRINTER SERIES

    Hi I do not know why I try for a week for printer some paper work and my printer keep saying error in printing I have HP DESKTOP COMPUTER WINDOWNS 7 PROFESSIONAL MY PRINTER IS HP PSC 2200 SERIES. I can't hear any sound of the cartridges back and eith