App did not detect the SD card on 4.6.1 Simulator and above

Hi all

I test my app on 4.6.1 Simulator 8900. My app has a check as follows:

Determines if an SD card is installed
{} public static Boolean hasSDCard()

EFS of the enumeration = FileSystemRegistry.listRoots ();
While (efs.hasMoreElements ()) {}
String root = (String) efs.nextElement ();
If (root.equalsIgnoreCase("sdcard/")) {}
Returns true;
}
}
Returns false;
}

I created a memoery card named as SD - sdcard.dmp to the location card

C:\Eclipse\plugins\net.rim.ejde.componentpack4.6.1_4.6.1.49\components\simulator

But my application is not able to detect the SD card.

Don't know where im wrong. ? I need to create SDcard in any place?

The code works fine with 4.5 Simulator...

Please guide.

~ Priyanka

I use slightly different code to detect the SD card but I guess yours is OK too

    public static boolean hasMediaCard()
    {
        Enumeration e = FileSystemRegistry.listRoots();
        while (e.hasMoreElements())
        {
            String root = (String) e.nextElement();
            if (root.startsWith("SDCard"))
                return true;
        }
        return false;
    }

Regarding the SD card - try to create a directory in the Simulator file, the name of the "SD card" dir. Start Simulator, simulation menu, change SD Card..., select the previously created directory, you should receive a message at that point MediaCard is inserted.

And please, for future questions use the Java development forum, you will get more answers there

Tags: BlackBerry Developers

Similar Questions

  • X 220 does not detect the wwan card

    My X 220 does not detect the wwan card ("WWAN MSC PRTSWWAN RDY FUL" in the parts list). No section of modem in Device Manager, without any question related to the wwan card. Please someone help me, how to make my OS (Win 7 Pro x 64) can detect the wwan card?

    1.17 BIOS can detect, it worked normally.

  • Computer does not detect the pci card

    Hello
    I have a dell dimension 4550 pc, with windows xp professional service pack 3.

    I connect to a card its pci in one of the pci slots empty of the motherboard, but when I start the computer the system does not detect the new card.

    What can I do to make the computer detect the new card?

    Thank you

    It is not clear what part to uninstall the drivers and install the good? So what if Windows installs the drivers? Uninstall them, do not restart and install the good. MS - MVP - Elephant Boy computers - don't panic!

  • Since the new update Illustrator does not recognize the graphics card to my SURFACE PRO 2 and the digitizer stylus does not work properly.

    Since the new update Illustrator does not recognize the graphics card to my SURFACE PRO 2 and the digitizer stylus does not work properly.

    Any ideas out there?
    I know the pro 2 surface is not the real model, but at least it should work fine.

    arwinq,

    You can see the system requirements, including the maps here.

    https://helpx.Adobe.com/Illustrator/system-requirements.html

    but I fear that you may be taken in this GPU issue described by butz in post #13 here:

    https://forums.Adobe.com/message/7773402#7773402

    You can try to switch between GPU and CPU by pressing Ctrl / Cmd + E, or you try disabling GPU performance by clicking on the icon of the rocket in the bar of the App, or on the top of the menu bar, deselect the box Performance GPU. You may also uncheck performance GPU in your preferences.

  • ProBook 4720 s does not detect the SD card inserted

    I get no response when a SD card snaps, but 8 GB Transcend card is recognized very well of my little netbook from Toshiba.

    This is the first time I tried a card in this HP, although I got it a few months. Running Win 7 Pro 32-bit.  BIOS HP 68AZZ worm F.0F 18/02/2011.

    Well, I contacted HP support and got a helpful response within a day. Siva gave me urls for two drivers that I apparently needed (not very new drivers and I don't know why they were not there in this new machine, but any way..) and they installed, unlike the one I found just for me and giving a message "forbidden". However, once installed, both raised the box "this program cannot be installed correctly" (that I've seen before and never known what to do about it except devoted to work and hope for the best).

    With the drivers installed, the system * fact * detect the SD card so that it has shown in Device Manager and gave sound signals when it has been installed and removed. But he does not have assigned a drive letter and did not show in Windows Explorer, while it was still incommunicado or to serve as a ReadyBoost file storage.

    Thinking that it seemed that HP problems were over and it is now a Windows problem, I spent a few hours to make the seemingly useless things in Windows, all having to do with recovery of AutoRun, which is not.

    Now the SHIFT key while inserting the SD card could start AutoRun. Also, I gave the command 'net start shellhwdetection' and told me that the service was already running. And AutoFix.exe from Microsoft verified that the shell hardware detection service was on and the autostart value. But to step next, as the wizard repair didn't see that other readers, not the SD card, so I couldn't specify only * that * drive AutoPlay wasn't working on, and which ends the program.

    Support software MS said that if ReadyBoost enabled and there (and it was) and still does not work there because some services he needed had been extinguished. So I Dove to the various lists and tried to turn on anything that seemed relevant and which has not already lit.  Nothing seemed to still accept my changes. Very frustrating. But then I went back to where I had left access control panel in Explorer, and I saw that the SD card has sometime been recognized and awarded drive E. Shazam!

    Therefore, all followed the script and I could bring up the window of the tab (in the properties of the drive E) option for ReadyBoost and say, go ahead. He did, and it seems to work very well. It closes fast when I close the lid, with several major programs running, as well as 4 windows in FF with about 12-24 tablets of each, and it took only 60 seconds to wake up this morning.

    So the problem is solved with something good help at HP, but not gracefully or usefully for others, I'm afraid, because I can't say yet exactly what I did.

  • Does not DETECT THE SOUND CARD / laptop INSPIRON 1501

    I have an INSPIRON 1501 laptop and have had problems with the sound for some time. When I watch movies, the sound is there. When I Skype, I can hear, but the other party can't hear what I'm saying. Skype can't detect sound card.

    What I've done so far:

    I went to control PANEL and then MANAGER of DEVICES, OTHER DEVICES. Here, I have only one BASIC DEVICE SYSTEM option with a yellow sign. I right click on properties, then under GENERAL clicked REINSTALL DRIVER, but Windows could not find driver software.

    I also tried option SOUND, VIDEO and GAME CONTROLLERS in the DEVICE MANAGER. There is only one HIGH DEFINITION AUDIO DEVICE option and it is not marked.

    Advice I have to install find the sound card.

    Thanks for all your advice beforehand.

    Thanks again for the support.
    So, it is possible that the problem lies in a loose plug?

    Off topic:

    When I turn on the PC, before Microsoft logo appears, I get the following message:

    WARNING: The battery cannot be identified. This system will not be able to charge this battery.

    Press any key to continue

    Press F2 2 times to enter SETUP

    Press F12 and any key to enter Boot Menu

    What is the problem and how can I get rid of this message?

  • Alienware M15x does not detect the graphics card, GeForce GT 555 M

    Hey guys, I ask you bear with me for the whole story because I believe that it may be relevant.

    I just bought this laptop (M15x) pre owned, it came with windows installed 8.1 and a load of games and others with all the drivers work and tact. Although it has been slow and some errors like may be able to control the volume.

    CPUID other programs showed my 1024 MB graphics card but I don't remember the name but I'll what nvidia says on their site and the description says...

    I didn't like windows 8 and I thought, rather than make clean for a week I'll install windows 7 from scratch, I did. Windows 7 ultimate 64-bit for info

    After doing this, I started to install anti virus and others and then to install the drivers, many of which I don't know, but analysis system dell raised all of the recommendations I installed, everything outside the video... none seems to fit my current card. I left it... went to nvidia which part of the site told me that he could not find compatible hardware... another part of the site classified as GT 555 M, but I had to go to my manufacturer to get the driver.

    After a few discussions with local technicians and these and other forums, I tried the drivers provided dell card among other NVIDIA covering my amog others but none worked and could not find compatible hardware...

    I thought it was that I installed the drivers in the wrong order, after an accident, I installed windows 7 over again and went straight on the chipset driver, then the video driver. but I fell on the same subject.

    After looking over several forums, the only thing I can come up with is to turn off graphics integrated into the bios (option not available for this)

    Maybe windows 7 doesn't like this graphics card? I am at a loss. given that everything worked fine on windows 8.1

    also in the device manager it does not list my card on the pc there is nothing wouldn't prove that I have a graphics card to all even the windows own evaluation system set to 1 for graphics NOTE from the ADMIN: replace character removed according to the TOU >

    Please help me...

    The GT 555 M has been never delivered with the M15X, but with M14X R1, so the former owner must have updated the GT 240 M graphics card. This explains why the drivers from the website corresponds to your configuration.

    Try this version of the driver from the NVIDIA website and let me know how it goes.

  • Windows did not detect my graphics card

    Hello world

    In the Device Manager, my graphics card than ATI Radeon HD 7450 appears as "Standard VGA adapter". I tried to install the latest driver from the website of AMD, but automatic installation (use the provided installation program) and the manual installation (Manager of devices-> update driver software-> Browse my computer for driver software) do not work. For manual installation, it keep says that "the driver does not support this version of windows" regardless of the version of the driver that I use
    (My Windows is Windows 7 x 64). That's happened?

    The drivers for this card are here (although you must first select the bit win version)

    http://support.AMD.com/us/gpudownload/Windows/pages/radeonaiw_vista32.aspx

    If the card is not detected, turn off the power, open the case and reinsert the card or try another pci slot, then re test

  • ESX 4 not detect the storage card (Fibre Channel)

    ESX 4

    In HP balde (BladeSystem c7000) install new Bay (No. 3), but vmware ESX undetected installed storage adapter (Fiber Channel HP 4 GB Module VC - CF)

    Bay #1 and #2 see this adapter and works very well.

    In the Bay #1 and #2 installed blade Proliant BL460c G1

    In the installed #3 Bay blade Proliant BL460c G6

    We had the same problem with our c7000.  We got a new system with 8 new BL460c knives.  2 blade 8 FC mezzanine card were not ESX 3.5.  We had to reinstall the mezzanine cards to have ESX seen.

    Question would be do you see the HP Onboard Administrator mezzanine card so that the blade?

    Nick

  • can not detect the graphics card

    I have a Lenovo ideapad z710

    and just changed the internal hard drive

    now I can't seem to find my NVIDIA GEFORCE graphics card anywhere

    thing of detection of the site Web NVidia can't find either

    the driver of Lenovo, I downloaded said I don't have the material for what he

    Help, please

    Hello Sollyanna,

    Thanks for posting your query in Microsoft Community.

    Let me ask you;

    1. Which operating system was installed when purchasing Lenovo Ideapad?
    2. You have the driver CD (if it was given to you in the package)?
    3. Do you think any driver available in Device Manager?
    4. Since you have changed the internal hard disk, you must also have re-installed Windows 8. What type of installation are you running?
    5. What is the full error message that you receive?
    6. You have installed all Windows updates?

    Since you have changed the internal hard disk, you must also have re-installed Windows 8. There is possibility that if you did a clean install of Windows 8, no driver is available. Let's try a few methods like below and check the status.

    Method 1: If you have the CD in the package of the manufacturer device, try to install the drivers from the CD and check.

    Method 2: I suggest you to install all Windows updates available (including optional) and check.

    Refer to the article: How to install updates to Windows in both UIs in Windows 8

    Method 3: Let Windows find the drivers automatically

    Windows can also download device software and info. This may include an app that is generated by the device manufacturer to go with your device or information such as the name of the product, the manufacturer and the model number to help you distinguish between similar devices.

    Please see: download and install the drivers

    From now to try the methods above and let us know the result as well as the answers to the questions, we will be happy to help you further.

  • Unable to connect to the Internet error "Windows does not detect a network card installed properly"

    Internet does not connect and connection was well 5 hours ago. Message states: "Windows did not detect a network card installed properly" How should I proceed? Connection is on the laptop, but also other devices. Problem is only with the office.

    Any help is appreciated

    OT: Internet connection

    Hello

    You did changes to the computer before the show?

    I suggest you try the steps from the following link:

    Windows wireless and wired network connection problems
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

  • The Digital Persona does not detect the fingerprint reader in Windows 7

    I have upgraded from Vista to Windows 7 Pro (full installation). Now, DigitalPersona does not detect the fingerprint reader. I tried to uninstall and reinstall the driver and the program, does not. Any ideas?

    Hi Cankermechanic,

    I suggest that you try to update the drivers supplied by Device Manager and check.

    See the link for update drivers: update a hardware driver that is not working properly: http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isn ' t-work properly

    If the problem persists, I would recommend that you uninstall drivers and reinstall the drivers from the site Web of Digital Persona, if that is helpful.

    If the problem persists, I suggest that visit you the manufacturer for further assistance from the link below:
    http://www.askpersona.com/

    I also recommend that you contact the manufacturer of the computer for further assistance on this issue.

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Qosmio F10: Driver Installation does not detect the wireless network card

    I wonder if anyone can help before I phone supported again. My motherboard is dead and ASP replaced and recovered my laptop qosmio F10. Since having back, my wireless card did not work.

    Windows detects a "network controller" whenever it starts and gives me the opportunity to install it. I tried to install it by navigating in the 'tools and utilities' records CD rom for folders and subfolders of "Wireless network driver" and it still does not detect the card.

    I also tried to install using the cd rom web gui and selected the 'Pilot wireless network' link and then tried to install it. It opens a dos command prompt and try to install but comes up with the error "failed installation.

    I ran the customer service and they told me to run the qosmio recovery/then recovery of product/recovery of qosmio and again...

    I still don't the card wireless not yet installed. This happened to someone else?

    I tried already shot the drivers from the web, but with no luck... If a representative of customer service with the help of good technical knowledge that would be great, or if someone has encountered the problem too and he had fixed to the give me some advice...

    Thank you very much

    Sean

    Hello

    you see the card wireless as an unknown device in Device Manager? If this is not the case, perhaps that the card was not properly installed after replacing the motherboard.

    Sorry I have no other idea.

    Good bye

  • My 2842DVA SL410 does not detect the card top debit Mobile and WiMAX

    I bought the SL410 2842DVA and I installed windows XP Professional SP3 32 Bit. and it is always smooth. After I install all the driver and make sure that in Device Manager, there was no sign of yellow.

    I turned off my thinkpad and I turned my back, I found the small device left and I opened the box and I know it's card Mobile broadband. But this device has not detected in windows as I installed all the drivers.

    I flashed my BIOS version of 1.23 to 1.35, but still not detected.

    Please, someone knows this problem? Help me...

    Thank you. .

    Hi elpranto,

    Welcome to the forum!

    According to the description of your system, it did not come with WWAN card.

  • When I download Apps, I get a download error 'undefined '.  I followed the instructions to delete the OOBE, which did not solve the problem.

    When I download Apps, I get a download error 'undefined '.  I followed the instructions to delete the OOBE, which did not solve the problem.

    Using creative cloud | Download error in the applications tab of Creative Cloud Desktop Application

    If you have found and deleted files oobe and who could not solve the problem, check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

Maybe you are looking for

  • Firefox crashes at startup, even in safe mode

    Firefox has just started to crash at startup, even in safe mode. I also tried to create a new profile (which Firefox let me do), but it crashed as soon as I tried to use the new profile. The only way I could get it to start is putting him to work off

  • HP Officejet J3680 all-in-One

    I've updated for Lion 10.7.5 on my MacBook and when I try to download the printer software, Apple said software is not available.  Can I download it from HP?

  • creation of software version track Labview so works after 30 days

    I created the program using version trail OR labview software and the hardware I use is material NI Compact RIO. I build and created EXE file in the material Compact RIO now its fine work if after 30 days trail version is more to know if it works wit

  • Error message: 0 x 080070005 starting Windows Defender in Vista.

    Original title: 0 x 080070005 error muaueng.dll running Hello I could not start Windows Defender in Vista, so I looked online and found the instructions to fix it. One of the commands referenced "muaueng.dll". When I run this command, I get the error

  • Wired network adapter Realtek totally main disability and Internet blocked on PC

    My cable Realtek network card has been unable to work on my main PC after a Windows Update told me was a vital necessity. Now, I can't access the Internet on this PC. My router, Netgear wireless router, works while I'm typing this on my laptop no pro