Can not read files in Simulator

I used a folder on my pc to the SD card file system.

I used the following code to read the file that I copied to the shared folder. But the app could not find the file. In debug mode, it appears an error code 1003.

Try
{
FileConnection fconn = (FileConnection) Connector.open ("file:///Media Card/my.xml");
If (! fconn.exists ())
{
System.out.println ("the file do not exist!");
}
}
catch (IOException e) {}
System.out.println (e.getMessage ());
}

I also tried to use the FilePickerDemo which is an example of a project. The FilePickerDemo can navigate in the file but can not find the file my.xml either.

Does anyone know where I could be wrong? I worked on this question since yesterday afternoon. Thank you very much!

BTW, I use 8900 Simulator, Windows 7 Pro 32 bit Eclipse with the plug-in.

The Simulator freezes after a while, it looks like a memory leak. Also, if I use the simulator of 9550's, it could be worse. The simulator of 8350's is the only does not freeze at any time. Anyone happens to know on this issue?

Problem solved. The directory must be file:///SDCard/xxxxxx

I misunderstood to file:///Media card/xxxxxxxx, since when I've explore it media, is what shows on the screen.

Tags: BlackBerry Developers

Similar Questions

  • Can not read files NAVE of Nikon D750 in 12 items... can you help me?

    Can not read files NAVE of Nikon D750 in 12 items... can you help me?

    Your items is older than your camera.  You can update to PSE14 or use the free DNG Converter to create a DNG leave the naves and the DNG is open in the old Adobe software.   The DNGC is here:

    http://www.Adobe.com/downloads/updates/

  • can not read files is mod more

    Hello

    "I think that ' since I upgraded to final cut pro and the new OSX, I can't read my files is a mod for all older projects that I've done.

    I connect etc, fcp detects files, the film is always black with no sound. How can it be resolved?

    Thank you and best regards. Kristof

    Had to look at this mod to the top: old mechanical Stoppers video consumer or Amiga file extension. You will probably need to find some obscure App video conversion that Final Cut Pro X has been out for five years. Earlier, you started using it?

    An article of the wiki:

    The first version of the format was created by Karsten Obarski for use in the Ultimate Soundtracker; Tracker software available for the Amiga computer in 1987. [1] [2] the format has since been supported by hundreds of playback programs and dozens of other trackers.

    The original version of the MOD format featured four channels of simultaneous audio playback, corresponding to the capabilities of the original Amiga chipset, and up to 15 instruments.

    Later variations of the format have extended up to 32 channels and 31 instruments.

    The format has been designed to be directly playable on the Amiga without additional processing: for example, samples are stored in 8-bit PCM format ready to be played on the Amiga DACs, and given on the profiles are not packed. Reading required very little time CPU on an Amiga, and many games used MOD files for their background music.

    Is wrong, is that the magic number "M.K." in the offset 0 x 438 of MOD files are the initials of Mahoney and Kaktus, two prominent Amiga most in time, who played an important role in the popularity of the format. They actually represent the initials of Michael Kleps alias unknown / DOC, another developer of the format. [3]

  • Startup problem; XP continuously restarts. Can not read files

    I have a problem starting with a computer that running Windows XP SP1a upgrade to SP3. It belongs to another Member of my family, which has switched off the power when a BOUNCING mouse problem has prevented the normal shutdown procedure.  At startup, it shows the screen boot options that if I choose "Safe Mode" or "Start Windows normally" it loads normally to the point where it shows the screen of flying windows for a while, becomes empty briefly, then restarts.

    I tried to leave, he in Repair Mode using the Windows Setup disc in the hope to repair the startup files, but have problems to read the files on the C; drive. If I try to look at the records, or change to a different folder, I get the error messages like "invalid drive specification" or "an error occurred during directory enumeration" I guess that's because the XP SP1a installation disc which I use can not handle the 80 GB hard drive and the NTFS file format.

    Is it possible I can get access to the boot files

    OldZ80

    I solved the problem

    After the announcement of this question, I ran CHKDSK from the repair mode and it corrects an error in the file system, and I was able to start Windows.  As a precaution, I have since set a system restore to a few days point more earlier than when the problem occurred, and all goes well now.

    OldZ80

  • Player can not read files after transfer

    Hello world. I'm using ubuntu 8.10, MSC mode.

    My drive cannot read s mp3 I have tranfered on it. My computer can read and transfer files very well, but when I disconnect it the display freezes when updating of its database. I let it go for about 20 minutes, several times, still nothing.

    What has not worked:

    -now the Start button / stop for 15 seconds

    -updated to latest firmware

    -formatting and transferring all the files again

    any ideas?

    An update: form and using MTP mode with Rythymbox seems to have solved my problem. I am a user of Exaile, I couldn't PSG works with it before - that's why I was using MSC mode in the first place. Another player in the middle of a song by freezing twice yesterday (which he never did before) I can transfer and delete files very well. I think an update to Nautilus/GNOME must have broken something. I hope that this thread helps someone.

  • I can not read PDF files when I open my e-mail-windows explore internet. Something happened because I use to be able to read them.

    Windows Internet Explorer

    Can not read PDF files.  Something has changed.  Used to be able to read.  Can't understand why.

    Download a free pdf reader and try again

    Foxit

    http://soft2011.co.UK/PDF-reader.php

    Sumatra

    http://blog.Kowalczyk.info/software/sumatrapdf/free-PDF-reader.html

  • Windows Media can not read the file. I moved my music on my new computer, now I can not play

    I have an emachine computer and I put my music on discs and put it in my new computer. the only problem is that this message keeps coming up. Windows Media can not read the file. the player might not support the file type or does not take in charge the codel that was used to compress the file. need help

    Your computer may be missing code, download and install K-lite code pack can solve the problem. K-lite code Pack is free and safe, and it includes almost every video code and audio code.

  • I am running windows vista on the PC of my church and have inserted a USB stick with a MP4 file on it, but I can not read this file.

    I am running windows vista on the PC of my church and have inserted a USB stick with a MP4 file on it, but I can not read this file. Can I get help?

    I created a video for our Church on a desktop of Windows 7 through Pinnacle Studio 14 (editor) and registered as a .mp4 file. I then put it on a flash drive and put the flash drive in the computer of the Church, that is running Windows Vista, and the file will not play. Please provide help quickly!

    -Corey

    You need a media player that is compatible with .mp4 files.

    The following preferential ticket should solve your dilemma.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    VLC Media Player
    http://www.filehippo.com/download_vlc/
    (works on XP/Vista/7)

  • I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?

    You updated Lightroom to version 6.5? This is the version you need. What is the exact wording of the message you receive?

  • I bought a new carmera and Photoshop CS4 camera Raw can not read the ARW files.  I downloaded the lateset update but still can not read how can I get this problem solved thanks

    I bought a new carmera and Photoshop CS4 camera Raw can not read the ARW files.  I downloaded the lateset update but still can not read how can I get this problem solved thanks

    Hi tonyf,.

    Greetings!

    Each device is compatible with a minimum version of camera raw.

    Here is the complete list: https://helpx.adobe.com/camera-raw/kb/camera-raw-plug-supported-cameras.html

    Please check if you have this version of the camera installed which include your raw files.

    It would also be that your photoshop will not have to install this version of camera raw as its very old.

    In this case, you can convert your raw files to DNG and can use it.

    To convert the files to DNG, you must download and install the DNG Converter.

    Here is the link:

    Windows: Adobe - Adobe Camera Raw and DNG Converter: for Windows

    MAC: http://www.adobe.com/support/downloads/product.jsp?platform=Macintosh&product=106

    Concerning

    Jitendra

  • Can not read the CD on Windows Media Player

    Can not read the CD on W Media Player, recorded on the normal cd/dvd TV player

    Hello

    • What is the format of the file you are trying to play?
    • What happen when you try to play a CD/DVD?
    • You receive an error message?
    • If it works much earlier?
    • What were the changes made before the show?
    • Have you tried to play CD/DVD on another computer?
     
    You can check these links:
     
     
     
    Response with more information.
  • can not read attachments Notepad

    When I get Notepad attachments via email, its gobbledgook all the

    What is a notebook accessory?  Do you mean a .txt file type (or another type of file that is supposed to open with Notepad)?  Go to start / Default programs / associated with a file or Protocol with a program and highlight the file type of the attachment (the extension to three digits following the name of the file) and make sure that Notepad is selected to open this type of file.  This happens with all Notebook Accessories?  Try opening a Notepad file on your system that you can read and send email to yourself and see if you can read in the email - if yes, then the process works properly and issues is with these attachments.

    If the notebook is properly selected, perhaps these file extensions are incorrect - they do not represent the real file of the file type (so Vista using the wrong program to try to open).  Or maybe that extensions are correct, but they were created by another program that is unable to read the notebook (which happens with some programs where the notebook is considered the value by default but can not read these files, because they were created in a way that cannot interpret the notebook).  Discover the sender, this program was used to create the files - you may need to get some programs which can display these types of files.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Satellite P200 - HD-DVD Player Toshiba can not read HD-DVD

    Hello.

    I have a problem with my Satellite P200-1: can not read HD DVD. There is a message that says that the video may not be in an external device.

    The problem is the same if I try on the screen of the laptop or on the TV (Sony Bravia Full HD) with HDMI. I have the latest driver and software for vista sp1 installed...

    Some have an idea?
    Sorry to talk so badly...

    Published by: ADMIN

    I think I know what's wrong;

    Check this Toshiba TB document;

    [HD DVD title does not play ("unable to output the video to an external device"): http://askiris.toshiba.com/ToshibaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=1664 788xml & sliceId = & dialogid = 41741513 & stateId = 0% 200% 20 41739828]

    To resolve this problem, you will need to update the Audio driver Realtek for Windows Vista.

  • Re: Satellite P500 of USA - can not read the local DVD

    Hello

    Sorry to appear such a luddite acquired but this laptop great USA from eBay.
    User manual appears to indicate that the player is going to adapt to the locality of the drives I want to play.

    Not had any luck with playback at all to this day, the error message 'not compatible' etc., any guy of suggestions?

    See you soon,.
    Michael

    Hi mate

    I think that the portable player s (optical disc) DVD region is set in the United States and therefore you can not read the DVD released for the European market.

    To resolve this problem, you must change the option of DVD region 2 region.

    My computer-> drive CD / DVD-> properties-> Hardware tab-> choose the CD drive / DVD-> properties-> DVD region

    Notes; You can change this settings ONLY 4 times. After that the parameters is no longer editable.

  • Mac Pro can not read SD cards more

    Hello

    I need help with a strong issue with my Mac Pro, who can not read SD cards more. Gluing of any player on any USB, an SD card is not recognized more. Strange also when I put a CF card in the same drive, it works and I can see the CF card on my desk.

    Someone at - it a response?

    (Mac Pro 3.1, latest El Capitan, several players used, same problem)

    What do say to recognize?

    Finder?

    Disk utility?

    System Profiler?

    OS X: about system information and System Profiler - Apple Support

    Have SD readers that you have linked?

    When it is connected with an SD card lists what System Profiler under USB?

    You should see the reader and the card.

Maybe you are looking for

  • If an email in html format that I send to back me in plain text, what I am doing wrong?

    I am a newbie to TB, and I'm trying to learn his ways. In order to test my email options (insert an image, signature, formatted html, etc.), I send test emails to myself (that is to say, through an e-mail address & server to another via another serve

  • Recovery of the 1640CDT Satellite

    I tried to recover my Satellite 1640CDT, I get as much as of the end of the process the disk of #1 when it asks me to insert the recovery disc #2 and press 1 to continue. Whatever I have nothing happens. I tried several times, I also checked the CD o

  • Portege M400 - screen rotation utility does not

    A week ago, I turned the screen to put in tablet mode and noticed that the screen does not rotate 90 degrees automatically as it normally does. I then pressed the button of the screen rotation so that it would automatically adjust to the direction th

  • CNVCreate Reader: Service search failed for the server. errno:-6338

    Hey guys.  I'm talking about a LabVIEW application with my CVI application using shared variables, but I'm running into some issues that I can't solve.  The first question has to do with this error to the subjectl line.  I get this only after two cal

  • My monitor turn

    I have a gateway monitor FPD1975W TFT LCD Monitor and it turn off turn back on I hit CTRL ESC and it will come back but you never know for how long. Can someone help me with this problem