Problem with the library of the skin of the ADF

Hello

I created a skin ADF library to include myself in other projects.

My skin also contains FontAwesome, but the doesn´t of font files get included, although my path is correct.


FontAwesome icons are displayed only when the user installs the FontAwesome.otf on its system.

I m using Jdeveloper 12 c.

What should I do?

Thank you

DestinatioN

Hello

ADF 11 g will downgrade tags CCS3 to CCS2, with result ignored @font-face

This has been fixed in ADF 12.1.3, so the official statement will be moving to the ADF 12.1.3

However a workaround is available that works on ADF and ADF Mobile browser also.
It is to apply the rule of @font-face in a separate CSS file:

{@font-face}
do-family: 'LucidaSansFont ';
SRC: url ("http:////fonts/lucida_sans.eot?#iefix")format('embedded-opentype'), ")
URL ("http:////fonts/lucida_sans.woff")format ("woff"), ")
URL ("http:////fonts/lucida_sans.ttf")format ("truetype"), ")
}

Note: http:////fonts/lucida_sans.ttf is the path to the police which is present in the same application deployed on weblogic server package that is.

Required steps:

  • Incorporation of the @font-face rule does not work, it is therefore necessary to create a new rule CSS containg @font-face it alone.
  • The newly created CSS should not be stored in the Trinity - skins.xml, while the other continued to be recorded.
  • The newly created CSS is so designated in single .jspx using tag . This does not work in .jsff.
  • The references to family of fonts in @font-face does not return the contextual or absolute path on different browsers

IE works with absolute path / deployed URL path for fonts, but not with the contextual road, while in Firefox, it only works with the contextual road and deployed URL path.
This is observed only during the test by the ADF application, however trials through HTML and CSS standards things work very well on all url references.

Ref: what is the approach recommended in the ADF to use a custom font? (Doc ID 1931343.1)

Thank you

Amey

Tags: Java

Similar Questions

  • JSF tutorial, EJB, JPA, the sample of the problems with the ADF runtime

    Hello

    I'm new to jDeveloper.
    I downloaded the version 11.1.1.2.0 and tried to make my first tutorials with the product.
    I started with the sample "create Applications with EJB, JPA and JSF" and run to the following problems:

    -1st part: step 10 expose the EJb as a data control
    Click here FODFacadeBean.java and choose Create a Data control.
    This option "create data Control ' is not at all to the top. There is no option

    -Part 2: Step 1 Add tag libraries in a project
    The ability to select "the ADF Faces Components 11'
    does not come either. I can't see any ADF Associates options...

    Is there something missing in my installation, because I can't access these components of the ADF?
    Should I include the components of the ADF sometime during the installation to have access to these
    or is it a license option?

    I downloaded the product yesterday from the public site, filename jdevstudio11112install.exe

    Jan-Erik

    Go to tool-> preferences-> roles
    and pass the default role, then you should have all the ADF their stuff available.

  • Problem with the ADF window.

    Hi all

    I use jdev 11.1.1.5.0. In my use case I display a pop-up but when page refresh automatically closed window.
    So, how can I stop to close the popup window. When I'm pragmatically refreshing page before calling popup then popup window appears.
    the code is following.
    {} public void refresh()
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    String refreshpage = facesContext.getViewRoot () .getViewId ();
    ViewHandler viewHandler = facesContext.getApplication () .getViewHandler ();
    UIViewRoot viewroot = viewHandler.createView (facesContext, refreshpage);
    viewroot.setViewId (refreshpage);
    facesContext.setViewRoot (viewroot);
    }

    public String showPopup() {}
    Add the code in the event here...
    Refresh();
    RichPopup.PopupHints ph = new RichPopup.PopupHints ();
    pkgpopup. Show (pH);
    Returns a null value.
    }
    And in my case, it is important to refresh the page before you call popup.

    Thanks to Advacance.

    Define autoCancel property to off, that is to say:

             
    
  • Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

    Library Eroor.jpg

    This is a double post of a following:

    Hey I have a problem with the library, when I try to enable the creative cloud desktop application it keeps saying "cannot restore the file: C/users/USER name as the location of the file is not available."

  • Need of XLSX files tested to see if there is a problem with the content library

    Hello

    I have a file which causes an error when you use the library of Stellent. The file is a file XLSX and when we open and then save the file again, then does not cause the error. This leads me to believe that the file has been successfully created or something wrong with the library. More than likely it is the file. Is there any tool that I can use to test the file that will tell me what exactly is the problem? The file is automatically generated by a survey company. And so if we can show a problem with the file itself, then they will have to solve the problem in their autogenerator.

    Thank you
    Larry

    Published by: 1000345 on April 16, 2013 06:44

    Published by: 1000345 on April 16, 2013 06:45

    Published by: 1000345 on April 16, 2013 07:00

    Published by: 1000345 on April 16, 2013 07:00

    Which, in my view, that we use it for is to get out of text or metadata files to create an index on the data.

    Yes, it's also OutsideIn. I believe you can use the SDK to export research.

    If I were you, I'd do some testing base of the new version and it doesn't help, create a service request in Metalink so that management can take a peek inside.

  • java.sql.SQLException: problems with the native/lack of loading methods library

    Hi all

    Please let me know how to fix the exception "java.sql.SQLException: problems with the native/lack of loading methods library: no ttJdbc in java.library.path".

    Thank you
    Prabhu

    Published by: Nina Prabhu on November 20, 2012 02:12

    Hi Prabhu,

    Probably, you must specify the LD_LIBRARY_PATH variable. Like the following:

    export LD_LIBRARY_PATH=$TIMESTEN_HOME/ttoracle_home/instantclient_11_1
    

    Best regards
    Gennady

  • Problems with the library missing/native methods: No. ttJdbcCS in loading java.li

    IAM facing a problem when you plug the timesten customer on the server The SQL Exception that Iam is pasted below: -.

    Problems with the native/lack of loading methods library: no ttJdbcCS in java.library.path

    I work with MAC OS X 10.7.2 and my version of timesten customer is 11.2.1.0

    I also changed the preferences of 64-bit to 32-bit Java, but still whenever I tried to connect with the SQL Developer it gives me the error above.

    As far as I see it, the problem here is that, when a native Mac application is launched, it does not inherit together of the usewr that launches it seems to start with some default environments so the parameters such as LD_LIBRARY_PATH, DYLD_LIBRARY_PATH (equivalent on OS X) does not always seem proagate imto the app too, because it has only a TT 32-bit for OS X client to present :-(it is essential that everything runs in 32-bit mode. -d32 must run the JAVA virtual machine in 32 bit mode, but it can be necessary also other things.

    I'm not an expert on Eclipse, but it is very likely that there are too many settings for things like 'path of the native library' and so on...

    Chris

  • Problem with the Canon LBP 1120 printer installation driver

    Hello

    I have a machine running 64-bit vista Home premium. and I have a Canon LBP-1120 printer. This printer is in good shape and I don't want to buy another printer.
    But the problem is that the only driver that there is, is for Vista 32 bit. And when I try to install, I get the error message saying that I need 64-bit drivers.
    I'll be happy even with basic print function because I do not do more printing.
    Looked everywhere on the web... good .no
    A workaround solution would help me a LOT!
     
    I found this, but the link does not work
    [Quote]
    Hello

    There should be a Vista driver for it that will at least at the base
    print function, although it does support all of the features:
    https://winqual.Microsoft.com/hcl/PR...P-1120&OID=191

    [/ Quote]
    Hello
     
    1. are you able to print successfully?

    3. What were the recent hardware changes performed on the computer before the question software ro?
     
    A Windows Vista 64 Bit operating system is compatible in installation of 32-bit drivers. All the 64-bit version operating systems have the ability to run 32-bit applications, but on a version 32-bit operating system, you are limited to only 32-bit software.
     
    According to the information on the website of Canon, Canon provides only the 32-bit drivers for Canon LBP 1120 printer, 64-bit drivers are always expected. To improve assistance to the topic to download driver 64 bit I ask you to contact Canon.
     
     
    Canon LBP 1120 32 Bit drivers
     
    For problems with the installation of the printer drivers 32-bit in a 64-bit Vista system, you can go through the resources in the following article and see if it helps:
     
    Error message when you try to add a printer driver 32-bit on a 64-bit print server: "the folder you specified contains a compatible software driver for your device.

    http://support.Microsoft.com/kb/979385

    Please see the link for more information about the issue mentioned.

    Installing the driver for 32-bit and 64-bit platforms


    http://msdn.Microsoft.com/en-us/library/Windows/hardware/gg463027.aspx


    I hope this helps.

  • Problem with the gallery after update 2.3 music

    Hello

    Recently updated my XperiaX10i (French version, not operator sim locked). No problem with the update itself and the phone seems to work fine.

    But, the music gallery has first not detected music files already in the sd card 32 GB (no problem for photos, videos or other files), and does not so load in the library. I had to download them all again through Media Go and now the library shows them, but album covers are not more in the album list as in version 2.1, which was very convenient for the selection, however the sleeves appear in the background during playback of a track: this looks more like a bug than anything else.

    I am also missing the first Quick Launch bar application for Wifi, Bluetooth, GPS, sync and the brightness of the screen, it seems that the launch of all these features to go into the settings file now.

    In conclusion, I hardly see what exactly improved on this phone since version 2.1. except maybe the speed and the quality of the screen display.

    Update from 1.6 to 2.1 was a total revolution in comparison.

    Power control widget is always there

  • problem with the drivers for the card microsoft virtual wifi miniport... problems with PnP devices

    He said to reinstall the drivers for this problem, but they don't reinstall... also he says hardware changes have been detected... can someone explain in easy to understand words what the problem is and how to fix it... pleaseeeeee... Thank you... The convenience store said: THERE IS A PROBLEM WITH THE DRIVER of MICROSOFT VIRTUAL WIFI MINIPORT ADAPTER... DRIVERS MUST BE REINSTALLED... it won't reinstall... also: PROBLEM WITH PnP DEVICES HARDWARE CHANGES HAVE BEEN DETECTED? CAN SOMEONE HELP ME UNDERSTAND, IN EASY WORDS, EXACTLY WHAT I NEED TO DO TO FIX THIS... CD-ROM... IM USING A SAMSUNG LAPTOP MODEL NPR 519 RUNNING WINDOWS 7... Thank you... Update on the microsoft Web site says: this DEVICE no IS NOT WORKING PROPERLY BECAUSE WINDOWS cannot LOAD THE DRIVERS REQUIRED for THIS DEVICE (code 31)... im not computer savvy please someone help

    Hi MAGIC,

    It seems that you may need to update your BIOS firmware.

    You may need to contact Samsung for more information, if the update is available for download on their Web site.

    When started this issue is happening?

    You can disable the virtual WiFi adapter, as it essentially works as a tool of development at the moment:

    http://msdn.Microsoft.com/en-us/library/dd815243%28VS.85%29.aspx

    What is the device that has the problem?

    Reinstall the drivers to fix the problem?

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Problems with the help of web camera, it shows it programs and on the desktop. But when I double click on it. It will go to the program do not know what to do. Help, please. Thank you.

    Having problems with the help of web camera program does not work when I click it. don't know what to do. Please help thanks.

    Hello

    Right click on the shortcut tab icon - properties - look on the target line to see where and what type of program
    is supposed to work.

    You will probably need to reload the drivers of the device and any camera control software.

    Login as an administrator.

    Double-click Control Panel / Device Manager - Imaging - writing down of the brand and model of camera.
    on this subject and on the tab of the driver is version. Now, click on update drivers (who are unable to do anything as MS
    is far behind the pilots of certification). RIGHT click on the camera - UNINSTALL - REBOOT - it
    will update the driver stack.

    Now, go to the system manufacturer's website and download the latest driver for the camera and the other related camera
    software (if not more recent get the same).

    Download - SAVE - go to them and RIGHT CLICK - RUN AS ADMIN - reboot after each driver.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Then let windows updates on however prevent loading of drivers who are often older than the
    those that you have installed. If updates suggests a pilot and then HIDE it and watch manually to see if their
    really is a more recent version (at the time system manufacturer and the sites of the manufacturer of the device).

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • "A problem with the display driver.

    Recently, I get an error message whenever I open Photoshop CS4. It reads as follows.

    "As Photoshop has encountered a problem with the display driver and has temporarily disabled GPU enhancements. Visit the Web site of the manufacturer of the video card for the latest version of the software.

    "GPU improvements can be enabled in the Performance preferences panel."

    I checked the graphics cards in Device Manager, and when I tried to update the software, it told me that I was aware.

    • OS: Vista Edition Home Premium
    • Dell Inspiron 1520
    • Display driver: NVIDIA GeForce 8400 M GS

    Sincerely, Danny

    Hello

    Try to update your display manually driver and do not use the analysis of the drivers on the manufacturer's website either.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • You try to run the system on my desktop restore encounters a problem with the program looping.

    Original title: System Restore loops

    Hi, I am trying to run restoring the system on my desk is a problem with the program in a loop.  He directs the system restore and then comes back just to start the system again Restore page.  How to solve this?  I started having problems when I have updated the BIOS on my motherboard.  When I installed the motherboard at the start, I think I used the incorrect installation disc (my son has same brand motherboard but the sound is more advanced).

    Recovery of your computer (Windows) using "Recovery Partition" of the Manufacture or
    contact PC manufacturing (see support links below) and order the recovery media.

    Note: Activation is not required when you use the recovery partition or recovery media, but you will need to reinstall all your applications.

    Also to save your documents on external support (if possible) before starting the recovery process.

    Once completed, your PC will be actually in the State when you first purchased it and turned on for the 1st time.

    To access the recovery Partition, start your computer, and then by pressing the appropriate function key. It can be either F1, F2, F9, F10, F11, F12, DEL or tab key. Check the list below or your user manual for your brand and model.

    If your hard drive has failed, do not have a recovery partition or the recovery partition is not accessible,
    Then, you must contact the manufacturer support team and ask for a "recovery disc" which allows to reinstall Windows 7.

    How access/start the process of recovery of the manufactures listed below.

    Acer: Press and hold ALT + F10, as soon as you see the logo
    http://Acer.custhelp.com/app/answers/detail/A_ID/2631
    Acer support: http://www.acer.com/worldwide/support/
    Acer recovery support: http://store.acer.com/store/aceramer/en_US/eRecovery

    Advent: restart your computer, then the immediate start by pressing the [F8] key or the F10 key.
    The fastest way to restore your computer is to use the hard disk recovery tools. You can access them by restarting your computer and then pressing the [F8] key or the F10 key until the Advanced Boot Menu appears. Use the arrows to select "Repair your computer", then press [Enter]. Read all of the instructions on the website of advent and made your choice as to the action you want to perform: http://www.adventcomputers.co.uk/restore-or-reinstall-windows-your-computer
    Support: http://www.adventcomputers.co.uk/product-support/support-services

    ASUS: Press or press the F9 key as soon as you see the Asus logo.
    http://support.ASUS.com/troubleshooting/detail.aspx?SLanguage=en&m=X53E&OS=&no=1775
    ASUS support: http://support.asus.com/contactus.aspx?SLanguage=en

    Dell: Press F8 directly after switching on / to start the computer
    Recovering detail instructions:
    http://www.Dell.com/support/troubleshooting/us/en/19/KCS/KcsArticles/ArticleView?docid=DSN_362066
    http://www.Dell.com/support/troubleshooting/us/en/19/KCS/KcsArticles/ArticleView?docid=52182
    Dell support: http://www.dell.com/support/home/us/en/19?c=&l=&s=
    Or: http://www.dell.com/

    EMachines: hold the Alt key and hold press and release the key F10
    http://Techchannel.RadioShack.com/eMachines-system-recovery-1747.html
    Support: http://www.emachines.com/ec/en/US/content/support

    Fujitsu: Press F8 several times directly after switching on
    https://answers.Yahoo.com/question/index?QID=20110406074143AAcx1Zw
    Support: http://www.fujitsu.com/global/support/

    Gateway:
    http://www.ehow.com/how_6297937_restore-gateway-laptop-factory-settings.html
    https://support.gateway.com/s/software/Microsof/Vista/7515418/7515418su531.shtml
    Support: http://www.gateway.com/worldwide/support/

    HP Notebook: Usually to begin recovery process press the F10 key, power on the computer
    HP Mini: Press F11 directly after switching on / to start the computer
    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01867418&cc=us&destPage=document&LC=en&tmp_docname=c01867418
    Support: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html

    Lenovo uses the F11 key to launch the restore process:
    http://support.Lenovo.com/en_US/detail.page?LegacyDocID=MIGR-4UFUYK
    Directions for Lenovo OneKey Recovery, hidden partition and recovery DVDs:
    https://support.Lenovo.com/us/en/documents/ht077384
    and: http://support.lenovo.com/en_US/detail.page?DocID=HT077144
    Support: http://support.lenovo.com/en/supportphonelist

    How to run Lenovo Onekey Recovery
    http://support.Lenovo.com/en_US/downloads/detail.page?docid=HT062552
    Detailed as follows: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=127597018499211

    You can also find parts of this article from Lenovo worth reading:
    http://support.Lenovo.com/en_US/detail.page?LegacyDocID=MIGR-4VFUDU

    LG: Press F11 directly after switching on / to start the computer
    Support: http://www.lg.com/

    Packard Bell: Turn on your computer. When Packard Bell logo is displayed, press in and hold the ALT key while pressing the F10 key several times. Release the keys when a message that Windows is loading files.
    After the system recovery program has loaded follow the instructions to reinstall the operating system.
    Support: http://www.packardbell.com/index.html

    Samsung: Press the F4 key to the Samsung logo when you turn on first of all of the computer.
    Support: http://www.samsung.com/

    Sony VAIO Windows 7: restart and press "F10".
    https://CA.en.KB.Sony.com/app/answers/detail/A_ID/35585/p/48903, 49902,71663,71664/c/65,67/kw/recovery%20using%20f10
    Sony VAIO Vista: Restart and press "F8" repeatedly until the screen "Advanced Boot Options".
    https://us.en.kb.sony.com/app/answers/detail/a_id/41931/~/how-to-perform-a-system-recovery-using-the-vaio-recovery-center.
    https://us.en.KB.Sony.com/app/answers/detail/A_ID/41949/session/L2F2LzEvdGltZS8xNDA4MjI2NTAzL3NpZC8qWVBPbCpfbA%3D%3D
    Support: http://www.sony.net/SonyInfo/Support/

    Toshiba: Press on F12 or the value 0 (zero) key on the top of the keyboard (not the zero on the numeric keypad key)
    and at the same time, press the button power once to turn on your laptop.
    When the Toshiba screen appears; release the 0 key.
    References: http://www.mytoshiba.com.au/support/items/faq/71
    http://forums.Toshiba.com/T5/system-recovery-and-recovery/how-to-perform-system-recovery-Windows-7/Ta-p/279643
    Support: http://www.toshiba.co.jp/worldwide/

    Windows 7 - location of the Partition Recovery and information.
    "Configurations of drive partitions using the BIOS has recommended.
    Note: Check the diagrams of this article
    http://TechNet.Microsoft.com/en-us/library/dd744364%28WS.10%29.aspx

    J W Stuart: http://www.pagestart.com

  • Dependency problem with the new Blackberry Plugin for Eclipse

    I just encountered a problem with the new version of the JDE Eclipse Plugin. I set up my application project so that it uses two other projects such as libraries. Both of these projects are on the way to build Java in the settings of the application project, and the manufacturer Eclipse compiles without errors.

    But when I try to run on the Simulator, the application loader throws an Exception stating that it could not find one of the classes listed in library projects. Since it is the importation of first class in the main class, I guess that it was unable to find the entire library.

    I tried to have the application project to import the project two library, but nothing alx files has changed.

    In the old version of the Plugin, there is a property of the project "Blackberry project dependencies" or something like that, which should be set for library and rapc.exe projects and the simulator would be their. That went away, and I was told during Devcon now suffice to add libraries to the classpath. Apparently, this is not so for me.

    Can you give me an indication of what goes wrong?

    The problem seems to be that I imported my projects since the previous version of Eclipse plug-ins, Blackberry. I have now created a new workspace and new projects, completely maintaining the source files, and it works.

  • "Détarer" problem with the Torch 9800/Device Simulator

    Hello everyone,

    Im a very strange problem with the Torch 9800 (OS 6).

    I have an application developed with 5.0 SDK. Throughout the process of synchronization of this app, there is a point he gets a. tar.gz file that is unziped. For this purporse (in fact, the tar part / "détarer"), we use a tar / "détarer" 'library' we found here in the forum (http://code.google.com/p/j2metar/). This library works fine in all phones with OS 5.0 that we try and even on the simulators of somo 6.0.

    But there seems to be a problem with the torch. During the uncompress, there are an exception, because what is the reading of the structure of the tar (from the industry), load the bytes that are invalid, corrupt, dirty, memory, and it fails.

    The strange thing of all is that if I have only the routine détarer to the file (in the torch), it works! But when I run all my sinchronization, which open and close httpconnections and process the file on some points (sometimes the same point, others of different) fails.

    My question is... are at - it a known bug, issue, etc. with the BONE of the torch (touch device)? Of course, the first thing that jump to mind is "my code is incorrect, memory leaks (in Java, but perhaps odd that a stream was not getting close properly)" and so on, but I can't seam to find the problem. And like I said before, this application works fine with the same file tar.gz in other devices like the 8520 OS 5, 9780 OS 6, 8900 (OS 5).

    IM completely stuck with this problem and any help/test will be greatly appreciated.

    Here some code, the method that makes him détarer and calls the détarer/tar library:

    public static boolean "détarer" (String tarFileUrl, String destUrl) bird Exception {}

    FileConnection fconn = null;
    FileConnection tarFileConn = null;
    TarInputStream tis = null;
    Boolean bRet = false;

    try {}
    fconn = (FileConnection) Connector.open (destUrl, Connector.READ_WRITE);
    If (! fconn.exists ())
    fconn.mkdir ();   Create the folder if it does not exist
    fconn. Close();
    fconn = null;
                
    Create a TarInputStream
    tarFileConn = (FileConnection) Connector.open (tarFileUrl);
    TIS = new TarInputStream (tarFileConn.openInputStream ());
    tarFileConn.close ();

    Entry TarEntry;
    int count;
    data Byte = null;
                
    While ((input = tis.getNextEntry ())! = null) {}
    Count = 0;
    data = new ubyte [2048];

    fconn = (FileConnection) Connector.open (destUrl + entry.getName (), Connector.READ_WRITE);
    If (! fconn.exists ())
    fconn. Create();   create the file if it doesn't exist
    else {}
    fconn. Delete();    Create a new
    fconn. Create();
    }

    OutputStream os = fconn.openDataOutputStream ();
                    
    While ((count = tis.read (data))! = - 1) {}
    OS. Write (data, 0, count);

    }
                    
    OS. Flush();
    OS. Close();
                    
    fconn. Close();
    fconn = null;
               
    }

    TIS. Close();
    TIS = null;
                
    bRet = true;
                
    } catch (Exception e) {}
    e.printStackTrace ();
    throw e;
    } {Finally
    try {}
    If (tis! = null)
    TIS. Close();
    If (tarFileConn! = null)
    tarFileConn.close ();
    If (fconn! = null)
    fconn. Close();
    } catch (Exception e) {}
    }
            
    Return bRet;
    }

    Thank you!

    Santiago.

    Hello

    It is a problem with the OS 6.  I've posted about this before here:

    http://supportforums.BlackBerry.com/T5/Java-development/reading-and-writing-file-on-torch-9800/TD-p/...

    Basically, corruption may occur if you write to the stream simultaneously in different threads.  The solution is to ensure that a single file operation is occurring at a given time.  Some people have had the chance to control the size of the buffer to something as a multiple of (64 * 1024)-1. e.g. 65535.  In addition, you can rinse after each write to the buffer.  I have had no luck with this, but others.  If you look at the bug in JIRA, there is also no activity on this:

    https://www.BlackBerry.com/jira/browse/JAVAAPI-1513

    Good luck!

  • Problem with the screen size of my application in the emulator for BlackBerry 10

    Hello, I have a problem with the emulator for BlackBerry 10 and is as follows:

    When I run my application in the emulator waving, sounds good and all content is complete, however, when I run the application in the emulator for BlackBerry 10 soft looks as if she had a zoom very large level of predefined way and only see a part of the application.

    With controller emulator, I have changed the level of 70% zoom, but still does not work.

    Here, I'm posting two photos:

    One future half-assed answer

    var dpr = 1; // To set the meta on a real device to get 1:1 pixels
    
    if(typeof window.devicePixelRatio != 'undefined') // Does device support devicePixelRatio?
        {
        dpr = window.devicePixelRatio;
        }
    
    if(dpr) // Set up the right meta
        {
        var meta = document.createElement("meta");    meta.setAttribute('name','viewport');
    
        meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
        document.getElementsByTagName('head')[0].appendChild(meta); // Inject meta
        }
    

    This works perfectly, but must be placed in thethe document FIRST and foremost

    Live JS is used to avoid problems of library management

    It won't work in Wellington but works perfectly on all devices I've tried

    As mentioned in the code above just packaging needs in the script tags and setting very high index.html HTML code as you can get - right afteris my favorite before any CSS or JS place<p class="reply"> <p class="reply">There are extensions to this topic-injection of script, I like to keep my code clean</p>

Maybe you are looking for

  • Advisor TouchSmart IQ500 hp total care work is not for the updates.

    I have a PC of the Touchsmart IQ500, with WIN Vista Home Premium and ie series 8 When the Advisor to hp total care appears with updates, I click to update, but it is just frozen there. Also help PC Advisor does not not to get critical update update a

  • Download driver HP alerts updated

    I'm on Mac version 10.6.8 on a MacMini. I sign up for alerts from HP. I received an alert for my printer Officejet 6500 E710n-z. There are four drivers available for download. Two windows and two are for the Mac. I need to know this update is necessa

  • Switch to the SSD without a bootable usb key or a clone?

    IM wondering if I can install just my ssd and use command-R and restore from an external time machine back up without a usb Bootable os top or make a clone?

  • simulation does not work

    I composed a few diodes the wizard of components, such as the diode acts like a switch perfect to 0.7 volts.  For some reason any SPICE simulation does not run.   If I include one of these diodes in other circuits, the circuit will not simulate.  The

  • My "BOLD" of blackBerry Smartphones is turned off as soon as the loading page less reaches the quarter

    Hello, I woke up this morning and my phone was working fine. I am back asleep and woke up it was off and everytime I try to turn it on I see the red light and then it starts to load until it reaches the quarter or even less, and it shuts off and rest