HTML resources

Is it possible to have a page .html as a resource in your project and open it with a private or a browserfield?  Thank you.

Yes.

The easiest option is the browser;

See this thread:

http://supportforums.BlackBerry.com/T5/Java-development/loading-a-local-HTML-file-in-the-browser/m-p...

Browser option is more difficult for BrowserField 1 (i.e. pre OS 5.0).  You need to wrap the file in a http connection.  There is code on the forum to help with this. Have a search around.

Tags: BlackBerry Developers

Similar Questions

  • Migration of the old folios DPS - HTML resources

    Hello

    IM migrating some old folios of DPSuite to DPSolution and may not know how to use the HTMLResources zip.

    The zip contained some PDF documents that I need to make a link to folios.

    Ive searched and read some threads (here and here) - on the one hand, it seems that HTMLResources have not been implemented in DPSol, but then someone mentions an API, which, to be honest, it is a bit over my head.

    If - is simple (easy) way to use HTMLResources in DPSol when I update my old folios anyway?

    Thank you!

    s

    We migrate automatically HTML resources in old sheets above the new DPS system. If you migrate any content that you do have to do something special: the links will still work after the migration.

    Neil

  • HTML resources plans?

    Are there plans to implement HTML resources in 2015 DPS?

    The new PDF to the DPS conversion tool is great and does a great job - but has still some hiccups, however, it will not work for our scenario.

    We need embedded content will be opened in a window in the application, allow us to explore the content, then close and be right we were at the breast of the app. As an article, we cannot replicate this experience. We could reproduce the experience by hosting PDF files online, however, since it is files owners requiring a secure view connection, hosting the files online PDF isn't a viable option either.

    Being able to reach external documents such as content integrated into the app, it's a basic feature that is currently missing which is cruelly in 2015 from DPS.

    Are there plans to implement this?

    Thank you

    Tommy

    Hi Tommy,.

    Why can't replicate with a file .article? If you use a navto link to go to the .article is just your PDF, it will, indeed, open it in its own window, and when you close it, you to where you were. 'Close' action is the back button in the UI instead of close, but it's the same exact hierarchy.

    Neil

  • HTML resources: New problems PDF

    In my view, that it is a new bug. We use HTML resources primarily for PDF files.

    On our iPads running iOS8 running v32 file PDF appears in the browser correctly, but you can't pinch and zoom in more on it. It is a problem for us because we rely on this ability for our users to read old PDFs that have not been redesigned for the iPad.

    We also tested a Gen1 iPad and when we try to press the button for the PDF files, it crashes the browser. If you try several times sometimes blocks the app.

    Please let me know if you need more information. Is this a known issue?

    Yes. In iOS 8, impossible to pinch and zoom resources html PDF files. the spectator team looks at it.

  • Folio page layouts - import html resources

    Newbie question... I can't get the folio to recognize and create two vertical patterns and horizontal in our paper... only the vertical arrangement is recognized.  I use inDesign and have created and modified the other layouts but I can't seem to understand this...

    Is there a more documentation/tutorials on the "import html resources.

    I try to import a javascript/html code that contains educational activities, but the function "insert html" in indesign does not allow me to insert the entire code (it's too big)...

    Thanks in advance

    Looks like you're confusing HTML articles with HTML resources. Resources HTML is primarily a way to share images and assets among various articles. Searching for information on importing HTML articles.

  • To access images of html resources

    \I'm generation html on the fly and using a BrowserField to display it. I want to display an image wgich I have in my resources. How do I reference?

    TIA

    If the images are modified or generated programmaticaly you could store on the micro SD or MEM and access using file:///... URL.

    If they are static, you can use a local: / / / to access them directly from your COD file.

  • Are there anyone experiencing problems of DPS with HTML resources on iOS8?

    We have a resources HTML pdf file which works fine in iOS7, but the inline browser comes in white with launched in iOS8. We tested with a folio 31 and a folio 27 iOS8.

    It is a known issue, it will be addressed in our version v32 expected in a little less than a week.

    Neil

  • the article html to html resources link

    I'm trying to link to an image in the HTMLResources.zip and have been extremely frustrated and unsuccessful

    the image is at root/HTMLResources.zip/images/logo4.png

    I tried the following

    .. /HTMLResources/images/logo4.PNG

    .. /.. /HTMLResources/images/logo4.PNG

    .. /.. /.. /HTMLResources/images/logo4.PNG

    any failure

    article html is

    root/cg_html/Intro/intro.html

    I guess by link you mean that you have an img element, correct?

    Your code should look like this:

    Company Logo

    Is that what you have in the article HTML?

    EDIT: I fixed the link, he already has two directories, it should be one.

  • HTML resources does not not in published application

    Has anyone encountered this problem?

    I have two pdf files configured to open in the browser in app via htmlresources. Everything is set up correctly in indesign and all previews very well in the content viewer / our custom Viewer.

    I published the application as a single edition in DPS App Builder application. Everything works fine, but when I go to view the pdf files the browser opens with this message.

    Could not open the Page

    This page does not open due to an error

    The error is 'the requested URL not found on this server."

    (- 1100).

    Anyone have any idea why this is happening? I missed something in the edition?

    Make sure that the file named exactly zip HTMLResources Select both PDF and zip it, do not compress the folder that contains the two PDF

    Import or by downloading HTMLResources.zip

  • Video displays in HTML resources

    It is possible to specify where a poster is referred to in a video when embeded with a < embed > tag?

    At this time the poster is taken from the first frame of the video, it would ideally be fired from a different location in the video.

    Thank you

    -Scott

    Since this is a superposition of web, you cannot use the option displayed in the Panel of media to enter the video image you want. One option is to play the web video overlay on an iPad and do a screen capture (Home + Power) of the film image you want as a poster. Crop the image, and then use it as a poster for the overlay of web (perhaps with a play button).

  • Cannot pinch and zoom resources HTML pdfs more

    After update the Folio Viewer there is no pinch and zoom in PDF, to HTML resources.

    Before the update, everything works fine in my Folios. Someone at - it the same problem?

    Reconstruction of a Folio V32, only vertical, standard PDF - same problem. (iOS8.0.2. Ipad)

    Is there a solution?

    Thank you

    This does not output today. The team is still studying the issue.

  • HTML PDF resources - Folio does not download the Viewer

    Hello

    I have a problem with a folio containing PDF links. This is not the first time that we use it and we had no problems with it before

    After you have imported all my batteries and HTML resources zip file; When I open the Viewer from Adobe on Ipad application, I can see the slip but the download does not start; He remains at 0 MB and nothing happens

    It seems that the problem is with the HTML PDF. Any idea?

    Someone had the same problem?

    The zip file is 247 MB, is there a limit?

    Hello

    You can try Archieve of the Folio and download it again or try to publish the Folio (private / free), this is the way you can see if there is a problem on your web servers or file. If, after having published the ongoing problem... Try to create a new folio... I didn t get this part

    minia92 wrote:

    It seems that the problem is with the HTML PDF. Any idea?

  • How to load *.html files saved in folder /res

    Hello.

    I'm trying to load a html file that is saved on a/res/html folder. I have seen a few examples where they use the following code:

    BrowserField mBrowserField = new BrowserField();
    add(mBrowserField);
    mBrowserField.requestContent("local:///index.html");
    

    I tried this code but it does not work. I don't know if this is the best way to load a html resource. Is there another way? Is the folder "res" the best place to put my html code? "' local: / / ' means the folder the project root?"

    Thank you in advance.

    Sergio

    to generate the file name cod, as defined in the Application descriptor on the tab.

  • Active HTML appear of people with disabilities in the media designer

    Just getting started with the DMS 5.3. I added a few test html resources in the DMM, but when you create a presentation in the media designer, they appear dimmed, people with reduced mobility. What is the reason for this?

    Hi Jacob,

    Which element of the designer helps you when trying to add to the HTML assets? If you choose the 'Media' item, it is expected that you cannot load HTML in there. You must use the 'Playlist' with "All Types of media" element to add HTML content.

    Kind regards

    Marco

  • Need a power-Cli report which shows pools of resources, including CPU, memory, reviews, DS, VM, VMDK files into a CSV file.

    Hi LucD

    I'm looking for a script more which is basically watch resources pools which s VM CPU, memory, comments, DS or files VMDK into a CSV file instead of the HTML resource pool file. Could you please help me on this.

    Your help would be very appreciated!

    Thank you.

    Nauman

    Try like this, it will produce 1 CSV file with all the information.

    $report = @)

    {foreach ($cluster Get-cluster)

    foreach ($rp in Get-ResourcePool-location $cluster) {}

    foreach ($vm in (Get-VM-location the $rp)) {}

    $report += get-disk hard - VM $vm |

    Select @{N = "Cluster"; E = {$cluster. Name}},

    @{N = "ResourcePool"; E = {$rp. Name}},

    @{N = "VM"; E = {$vm. Name}},

    @{N = 'HD'; E={$_. Name}},

    @{N = "Datastore"; E={($_. Filename.Split(']') [0]). TrimStart('[')}},

    @{N = 'Filename'; E={($_. Filename.Split('_') [1]). "Split('/') [0]}},"

    @{N = 'Path VMDK'; E={$_. File name}}.

    @{N = "Format"; E={$_. StorageFormat}},

    @{N = ' Type'; E={$_. DiskType}},

    @{N = "CapacityGB"; E={$_. CapacityGB}}

    }

    }

    }

    $report | Export Csv report.csv - NoTypeInformation - UseCulture

Maybe you are looking for

  • menu shortcut "Page Speed" video playback

    Precision to answer to given to https://support.mozilla.org/en-US/questions/961774#answer-463032 (closed thread): the menu shortcut "Page Speed" video applies to a flow of reading html5 video. Video more old flashplayer does not support this feature.

  • Download of Sims2pack clean install

    I am trying to download an installer of Sims2Pack clean off the Mod the sims site. When you try to download, I get the answer to uninstall the old version before installing the new, and I already uninstalled the old time version back via the control

  • iTunes crashes when you go to the store

    Hi, this could well be the last chance. I had this problem since the installation of the latest version of Itunes. I can update my apps ok, but as soon as I try to access the store for music, etc it hangs. There is no error number and ends by saying

  • PDM - the page cannot be displayed

    I was able to access the MDP without problem before. Now, I can get through logging in the PIX, but the window PDM says "cannot display page". I think I would have changed my browser settings. Any ideas? Thank you.

  • HP Officejet Pro 8600 more indicates 'missing or does not print head ". I followed HP 4 instruct. Help

    HP Officejet Pro 8600 more indicates 'missing or does not print head ". I did 4 HP instructions and now I'm #4: contact HP. I cleaned the heads, replaced the 4 cartridges, removed and replaced the unit restarted, everything. Now what?