Need help - bad, I tried
Hello
Like many others, I also want to open the pictures folder and retrieve the names of files in it. I had alook at fileExplorerDemo and other discussions on the site. With help, I started with this code:
private void seeFiles() { javax.microedition.io.file.FileConnection fc = null; try { System.out.println("Reading file System **************"); String str; fc = (javax.microedition.io.file.FileConnection)javax.microedition.io.Connector.open(System.getProperty("file:///store/"), javax.microedition.io.Connector.READ_WRITE); java.util.Enumeration lists = fc.list(); while (lists.hasMoreElements()) { str = (String) lists.nextElement(); System.out.println(str); } System.out.println("Finished File System ******************"); } catch (Exception ex) { Dialog.alert("Excep : " + ex.toString()); } }
I tried many ways, but always make Exception. From the code above as I get IllegalException null. I'm blocked up with this evil. Can someone help me please.
Kind regards
If you look at the documentation for:
EncodedImage.getEncodedImageResource (...)
You'll see that she's waiting for a resource that is in your cod, in other words a resource that you have added to your project.
The file on the SD card is not in your application, that's why you get the error:
CAFETERIA: could not find file:///store/samples/pictures/Fairway.png
If you cannot use this approach.
Instead, one must read the file from the SD card in a byte array and then use
EncodedImage.createEncodedImage (.)
Tags: BlackBerry Developers
Similar Questions
-
trying to upgrade my version and need help badly
Please need help bad, try to upgrade to a newer version
Please describe the problem in more detail.
-
I tried every thing blessed with technology microsoft... always hanging in limbo here. Tired of doing constant comprehensive analyses, etc. in order to remove the constant threats. Apparently my McAfee can't stay with her either. Need help with the download/repair these seeds as soon as possible. Thanks to all those who wish to help me - it would be that popular, for sure!
The question makes no sense.
"Can manage Windows XP Home Edition of Windows 8?"
Two problems: there is no Windows 8 and even if there were, Windows XP Home Edition would not not 'manage '. ;-)
I drop McAfee for a few different freeware products. Or better yet I'd get two products 'cost' (~ 25 and 60 dollars) and install them and use them in the future - but WHEN you are trying to clean up.
You seem like you maybe sincerely - at a time when a format/install of Windows XP/patching/installation of applications/patch/restore backups of your data is the best course of action.
However, if you are willing to work - maybe we can at least get things cleaned up to a certain point where you can get a good backup before doing this (otherwise avoid doing all together.)
In the order shown, do not jump (no matter what you do, what you have done in the past, etc.) ...
First of all - download, install, operate and put to update and then run a full system scan with the following two (one at a time, reboot in-between):
After you perform a full scan with one then the other and remove anything they have all two are completely, you can uninstall these products, if you wish. This initiative will allow to check there is no malware floating around your system which could cause problems. If you ask - no, Norton probably does not protect you from what these applications can find.
Download and run the MSRT tool manually:
http://www.Microsoft.com/security/malwareremove/default.mspx
(Ignore the details and download the tool to download and save to your desktop, run it.)Reset.
Search online with eSet Online Scanner.
Reset.
Download/install the latest program Windows installation (for your operating system):
(Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
(Download and save it to your desktop, run it.)Reset.
and...
Download the latest version of Windows Update (x 86) agent here:
http://go.Microsoft.com/fwlink/?LinkId=91237
... and save it to the root of your C:\ drive. After you register on the root of the C:\ drive, follow these steps:Close all Internet Explorer Windows and other applications.
AutoScan--> RUN and type:
%SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
--> Click OK.(If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...
Reset.
Now try usig the Fixit (Yes - try to use it again) to reset your Windows Components Update (you'll do the aggressive version, not the other):
How to reset the Windows Update components?Reset.
CHKDSK
How to scan your disks for errors* will take time and a reboot.Defragment
How to defragment your hard drives* will take timeReset.
Now, open Internet Explorer, visit http://windowsupdate.microsoft.com/ and do a CUSTOM search for updates. Install any critical/high-priority ones and - for now - to ignore all those in option (always do this for material updates optional here.)
Restart if necessary and continue to visit this web page until you have not yet updated to high priority.
Now - if your problem is with the facilities of the .NET Framework... You can end up with something like:
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
to uninstall a few versions of the .NET Framework, then you can try to install again - but you should not do this until the machine is supposed to be cleaned. -
*) I am the only user on my pc, which makes me the administrator... but I kept the user invited on just incase some friends want to use my pc... (but nobody used my vista yet)
*) I recently changed my folder access authorization in the secutiry tab in the properties of a folder. to try how it works
*) accidentally refused "user {(REZ-PC\User)"think the guest profile won't be able to access the folder.} ". but now it seems I can't use it myself...
*) I HAV to manually goto each and ever forlder and goto Security tab, so let me use... but it is a VERY LONG process because there are tons of folders inside...
need help please tell me a way qucick to solve this problem... If you want more information, just tell me ill add them... Thank you all...
Hello
You can restore the computer to the date when it was working fine
1. Click Start, type system restore in the search box, and then click System Restore in the list programs.
2. in the System Restore dialog box, click on choose a different restore point and then click Next.
3. in the list of restore points, choose a restore point and then click Next.
4. click on finish.
-
Since my account Gmail is free, I am only able to perform an Internet search for the suggested corrections, and so far nothing has helped. I probably truncated my problem more far in trying, since I am a layman, not a true geek. Not even close to a geek.
Everything worked well, for the last 3 years, until Tbird has started to request my password frequently. Provide it not worked; change he did not; following the path of the suggested error didn't work, re - try leads to the message that IMAP has been disconnected, which seems to be typical of the stories online that I read, but I'm not smart enough to fix it. You try to run a non-profit of the current situation is extremely frustrating. Please help, someone...
Since the version of Thunderbird 38 uses OAuth2 for authentication of Gmail accounts. It is the only way to be considered "safe" by Google. http://TechCrunch.com/2012/09/17/Google-OAuth-2-0-for-Gmail-and-talk/
You need to change the "authentication type" "OAuth2' in the account settings of Thunderbird for your Gmail account.
In the top right of the Thunderbird window, click the menu button > Options > account settings > server settings.
To do this, incoming and outgoing (SMTP) server. The outgoing is bottom of the list of Auditors.
-
whenever I start my computer that has a blue screen that says I need to restart my computer and or put it in safe mode after I have it and go back and start my computer normally the blue screen again and my computer shuts down as in 3 seconds. Why is that happening and how can I solve this problem?
Hello
Here are a few ways to possibly fix the blue screen issue. If you could give the info from the blue screen that would be
Help. Such as ITC and 4 others entered at the bottom left. And any other information such as STOP error
codes something like IRQL_NOT_LESS_OR_EQUAL or PAGE_FAULT_IN_NONPAGED_AREA and similar messages.As exampes:
BCCode: 116
BCP1: 87BC9510
BCP2: 8C013D80
BCP3: 00000000
BCP4: 00000002or in this format:
Stop: 0 x 00000000 (oxoooooooo oxoooooooo oxoooooooo oxooooooooo)
Tcpip.sys - address blocking 0 x 0 00000000 000000000 DateStamp 0 x 000000000It is an excellent tool for displaying the blue screen error information
BlueScreenView scans all your minidump files created during 'blue screen of death' crashes, and displays the
information on all accidents of a table - free
http://www.NirSoft.NET/utils/blue_screen_view.htmlBlueScreens many are caused by old or damaged drivers, video drivers in particular, but there are other causes.
You can follow these steps in the Safe Mode if necessary or the command prompt Vista DVD or Options of recovery if your
system installed by the manufacturer.This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxYou can try a system restore to a point before the problem started when one exists.
How to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html-----------------------------------------------------
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228The log can give you the answer if there is a corrupted driver. (Says not all possible driver problems).
Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html------------------------------------------------------------------
Often drivers up-to-date will help, usually video, sound, network card (NIC), WiFi, 3rd party keyboard and
smile, as well as of other major device drivers.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlHow 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------------------------------------------------------------------
How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart unexpectedly
http://support.Microsoft.com/kb/958233Troubleshooting, STOP error blue screen Vista
http://www.chicagotech.NET/Vista/vistabluescreen.htmUnderstanding and decoding BSOD (blue screen of death) Messages
http://www.Taranfx.com/blog/?p=692Windows - troubleshooting blue screen errors
http://KB.wisc.edu/page.php?id=7033------------------------------------------------------------------
In some cases, it may be necessary.
The Options or Vista recovery disk Startup Repair
How to do a startup repair
http://www.Vistax64.com/tutorials/91467-startup-repair.htmlThis tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxI hope this helps.
Rob - bicycle - Mark Twain said it is good.
-
Hi all!
I have a Dell Inspiron 3521. It was 8.1 on Windows and I installed Windows 7 Pro OEM 64 bit. I delete the old file of windows. I was able to install all the drivers from Dell Web site, but I can't seem to find a way to get the right driver for the "network controller". I have tried driver identifier and it shows me two missing drivers: 1: BCM43142A0, 2: network controller.
This is the ID of the MDO of material:
PCI\VEN_14E4 & DEV_4365 & SUBSYS_00161028 & REV_01
PCI\VEN_14E4 & DEV_4365 & SUBSYS_00161028
PCI\VEN_14E4 & DEV_4365 & CC_028000
PCI\VEN_14E4 & DEV_4365 & CC_0280I found a post with someone who has the same keys, but the driver in the link did not help me. Maybe it's the way I installed the drivers? Or how I installed windows 7?
Help, please!
The last Reference Dell driver for the Dell Wireless 1704 map is 6.30.223.228. You can also try the later card Dell Wireless 1708 6.30.223.245 (both are adapted Broadcom drivers) first directly and then in Device Manager.
-
I have a Toshiba Satellite L655-S5096 laptop. I had this during about 5 years. I did the recovery media that I burned three discs after that I bought new. I used to work on the computers of friends at the time, and a few times I found myself with a bad virus so I would use the recovery disk to perform the recovery to out of the box. Then one day I went to the recovery and it wouldn't work and the cd player was just spinning and spinning. So I ordered the Toshiba recovery media three of Toshiba, and I was able to use those a few times.
But until a year or two ago, my cdrive cd has stopped working...
So my torque questions are:
1. when I started my laptop last month after having playing with it. At the start, it shows me an error message saying "Invalid Partition Table"... So since my work dosent cd player, I burned a copy of the 'Ultimate Boot Disc' on a new flash drive. I put in the laptop and start in this program. I was looking for something simple to use program which could correct the error. Maybe I missed with something I shouldn't have, but it went to a screen where it says it rebuilding my drive. It is only 3% an hour. So I turned off the laptop and pulled out the flash drive and restarted and it still says "Invalid Partition Table", and now he also says 'Missing operating system '...
If I don't like to sit on here to try to research on how to fix the errors of 2 hours on how to resolve the errors...
I have 3 disc Toshiba Recovery Media, but dosent my work cd player... So is there a program I can run on a laptop to work, to copy my three a new flash drive Toshiba recovery disks, then I would be able to start on the flash player to be able to fix the errors?
Thank you for anyone who can help me with these questions...
An external DVD drive can be an excellent and good solution market. However, before you do that, I would have your hard drive tested. It is likely that is failing or failed. So you got a new hard drive (maybe $60) and an external DVD. The test that I don't speak is the tester by the manufacturer of your hard drive. If you wish, if you send me the model number of the drive, I can tell the manufacturer you and send you a link to the software.
You must face the reality that a portable 5 year old is approaching its last years, statistically speaking. Laptops are about half of the life of a desktop PC. Portable hard drives and DVD players are usually the first things to go. Then comes the screen and the keyboard.
-
Need help badly - WIndows 7 can not find the Xbox and Xbox can't find Windows 7
This is the case, for the last 6 hours trying to connect my PC and Xbox. I am running Windows 7 and tried everything I could find on the internet for this problem. All my services are enabled firewall disabled, participation is. When I look at my network card, I see my Xbox (see photo below). However, it is the only place I see. My PC is going through wifi and the xbox is connected to the router. Why is the only place where I can see the Xbox? Any help would be great, I'm about to throw this piece of * by the window.
Hello
The question you posted would be better suited in the Xbox Forums; We recommend that you post your question in the Xbox Forums to get help:
Xbox forums: http://forums.xbox.com/
Welcome to the Xbox support: http://support.xbox.com/en-us/home
Keep us informed on the status of the issue.
-
Need help - I'm trying to uninstall computer rocket fuel
I'm trying to uninstall computer rocket fuel. I want to know how it get by. I don't want to.
Hi Sunny,Thanks for posting your question on the Forums of community of Microsoft.Let me go ahead and help you with the issue.Here are some ways you can follow to resolve the problem:
Method 1:Run the Fixit. Check out the link:Solve problems with programs that cannot be installed or uninstalledMethod 2:Uninstall or change a programI hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further. -
I have online classes and I need help badly on my Pavilion dv6-2170us.
I was going to reformat my laptop but I can't somehow. I get the "BOOTMGR is missing" message on the black recovery screen. I reformatted my laptop several times before, but that was the first time after the last time, I created a recovery disk. So now, I have tried many things to fix (suggestions of the internet), but didn't work. What I did was the last, I installed another Win7(64bit) hoping that it wil solve the problem. He somehow solve the problem, but the big problem now is that the original Win7(64bit) OS and all software features were all gone and I can't bring back / had been replaced. Help, please! AS SOON AS POSSIBLE.
Home #: (928)425-3295
You should be able to use the disc of Windows 7 64 - bit installation to access the Startup Repair to try a your installation of Windows 7 curret repar.
-
My silver 8GB sanza fuse had a few problems recently. It froze about 1.5 weeks ago, so I reset it, that's when the problems started. They include the following.
(1) I put new music on it, and when I unplug my computer and check my music list, duplicates of EACH song will appear.
(2) after having covered an album, the fuse decides to jump in front of all the other songs, just play to those recently added album.
(3) after you remove all the new songs, the fuse does not play any song and seems to go to the ends of the albums as if random playback. It is still stuck on pause.
If someone could help me to the understanding how I screwed this thing up I'd really appreciate it. Thank you and have a nice day.
Assuming that you have copies of all your music on your pc and you do not use copyrighted music, then format the drive by using the menu of the player (settings, system settings, format). This will remove all files on the drive.
If there is a card in the reader, remove all the songs on it. Set the usb mode of the player to msc (settings, system settings, msc). Connect the drive to the computer. Use Windows Explorer (right-click Start, click Explore) to copy and paste songs or folders of songs to the player. Start the connected Windows media without your Rocket Player. Make sure it is not set to automatically synchronize with your player. IMO you should never synchronize your drive and just copy - paste or delete the exploring windows help files (assuming that there are no protected file). If you have protected files, then you should put the reader usb MTP mode and allows you to copy them manually to the Windows Media player player). IMO, we should never synchronize.
-
New in Premiere Pro CS4, need help BAD!
OK, so I have CS4 pro Permira, I tried to make videos but I always encountered the same problem. Whenever I have upload the video in the sequence, it plays only the audio. The preview of the image is here and it looks like his tent to play but his very agitated. Now this problem doesn't happen that AVI files (almost all my video files are AVI), whenever I play WMV is a bit slow but it plays the video and audio in sync, most of the time. No one knows what is wrong or have any ideas on how to solve this problem? I'm about to throw my computer out the window!
You must install a mjpeg codec to get your files to read.
http://www.MainConcept.com/products/SDKs/video/motion-JPEG.html
-
-
Need help to retrieve the XML file
Hello
I'm new to xml query and I need help badly. I have a file xml with the following content. I need help to extract data as:
beginTime localDn measObjLdn hdlcRxErrAbort hdlcRxErrCRC hdlcRxErrLackOfBufs 2015 07-28 T 14: 45:00 + 03:00 ERSGSN01 MagId.SlotId.E1/T1Trunk.FractionId=2.8.6.1 2400 1020 0 2015 07-28 T 14: 45:00 + 03:00 ERSGSN01 MagId.SlotId.E1/T1Trunk.FractionId=2.9.3.1 0 0 0 2015 07-28 T 14: 45:00 + 03:00 ERSGSN01 MagId.SlotId.E1/T1Trunk.FractionId=2.9.4.1 0 0 0 and the XML data I have are:
<? XML version = "1.0" encoding = "UTF-8"? >
<? XML-stylesheet type = "text/xsl" href = "MeasDataCollection.xsl"? >
" < measCollecFile xmlns =" http://www.3GPP.org/FTP/specs/archive/32_series/32.435#measCollec ">
< fileFormatVersion = "32.435 V9.0" fileHeader vendorName = "Ericsson" >
< fileSender / >
< measCollec beginTime = "2015-07 - 28 T 14: 45:00 + 03:00" / >
< / fileHeader >
< measData >
< managedElement localDn = "ERSGSN01" / >
< measInfo measInfoId = ' E1/T1, hdlc' >
< job jobId = "Meas_E1T1_all" / >
< duration granPeriod = "PT900S" endTime = "2015-07 - 28 T 15: 00:01 + 03:00" / >
< duration repPeriod = "PT900S" / >
< p measType = "1" > hdlcRxErrAbort < / measType >
< p measType = "2" > hdlcRxErrCRC < / measType >
< p measType = "3" > hdlcRxErrLackOfBufs < / measType >
< p measType = "4" > hdlcRxErrMaxFrameLen < / measType >
< p measType = "5" > hdlcRxErrNonOctetAlign < / measType >
< p measType = "6" > hdlcRxErrQueue < / measType >
< p measType = "7" > hdlcRxOK < / measType >
< p measType = "8" > hdlcRxOctets < / measType >
< p measType '9' = > hdlcTxOK < / measType >
< p measType = "10" > hdlcTxOctets < / measType >
< measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.8.6.1" >
< p r = "1" > 2400 / < r >
< p r '2' = > 1020 / < r >
< p r = "3" >/< r > 0
< p r = "4" >/< r > 0
< p r = "5" > </r > 0
< p r = "6" >/< r > 0
< p r = "7" >/< r > 0
< p r = "8" > 0 </r >
< p r '9' = > 295 / < r >
< p r = "10" > 4130 / < r >
< / measValue >
< measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.9.3.1" >
< p r = '1' >/< r > 0
< p r = "2" >/< r > 0
< p r = "3" >/< r > 0
< p r = "4" >/< r > 0
< p r = "5" > </r > 0
< p r = "6" >/< r > 0
< p r = "7" >/< r > 0
< p r = "8" > 0 </r >
< p r '9' = > 295 / < r >
< p r = "10" > 4130 / < r >
< / measValue >
< measValue measObjLdn="MagId.SlotId.E1/T1Trunk.FractionId=2.9.4.1" >
< p r = '1' >/< r > 0
< p r = "2" >/< r > 0
< p r = "3" >/< r > 0
< p r = "4" >/< r > 0
< p r = "5" > </r > 0
< p r = "6" >/< r > 0
< p r = "7" >/< r > 0
< p r = "8" > 0 </r >
< p r '9' = > 295 / < r >
< p r = "10" > 4130 / < r >
< / measValue >
< / measInfo >
< / measData >
< fileFooter >
< measCollec = endTime "2015-07 - 28 T 15: 00:01 + 03:00" / >
< / fileFooter >
< / measCollecFile >
Help, please. I tried to select a value using the following xml query which does not lead to any output:
WITH t AS (SELECT xmltype (bfilename('SGSN_STAT_ERICSSON', 'A20150728.1445+0300-20150728.1500+0300_Meas_E1T1_all.52'), nls_charset_id('UTF-8')) FROM dual xmlcol)
SELECT beginTime, localDn, measObjLdn, hdlcRxErrAbort, hdlcRxErrCRC, hdlcRxErrLackOfBufs
T, XMLTABLE
(XMLNAMESPACES ('http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec' as 'ns1'), )
' / measCollecFile'
passage xmlcol
columns
beginTime PATH VARCHAR2 (32) ' / measCollec/@beginTime',
localDn PATH VARCHAR2 (32) ' / measData/managedElement@localDn',
measObjLdn PATH VARCHAR2 (32) ' / measData/measInfo/measValue@measObjLdn',
["hdlcRxErrAbort PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="1 ']',
["hdlcRxErrCRC PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="2 ']',
"[" hdlcRxErrLackOfBufs PATH VARCHAR2 (32) ' / measData/measInfo/measValue/r[@p="3 ']"
)
Sincere greetings
Either way, using an XQuery FLWOR expression:
select x.* from xmltable( xmlnamespaces(default 'http://www.3gpp.org/ftp/specs/archive/32_series/32.435#measCollec') , 'for $h in /measCollecFile , $v in $h/measData/measInfo/measValue return element row { $h/fileHeader/measCollec/@beginTime , $h/measData/managedElement/@localDn , $v/@measObjLdn , element r1 {$v/r[@p="1"]} , element r2 {$v/r[@p="2"]} , element r3 {$v/r[@p="3"]} }' passing xmltype(bfilename('TEST_DIR', 'test.xml'), nls_charset_id('AL32UTF8')) columns beginTime timestamp with time zone path '@beginTime' , localDn varchar2(32) path '@localDn' , measObjLdn varchar2(80) path '@measObjLdn' , hdlcRxErrAbort number path 'r1' , hdlcRxErrCRC number path 'r2' , hdlcRxErrLackOfBufs number path 'r3' ) x ;
Maybe you are looking for
-
Pavilion x 360: defaultuser0
Just brought a brand new laptop today. Setup took me to a point where I had to reboot. Now, I'm getting defaultuser0 when I turn the computer requesting a password. What should I do?
-
Need to replace key SPACEBAR for the Satellite C660/C660D
Anyone know where I can buy a replacement for my C660/C660D SPACEBAR in the United Kingdom?
-
Is there an upgrade online available for Windows 2000 to Windows XP?
Windows 2000 Professional upgrade My plan is to buy a new computer very soon, I am looking for a short term solution to my problem. I'm on Windows 2000 Professional and I use Turbo tax to do my income taxes. However, I cannot load program Turbo tax
-
new HP Mini 311 and no internet connection at home
I just bought a HP Mini 311-1000NR Netbook and already have problems with the internet connection. We are at home, with a Linksys router wireless (sorry, I don't have the model # to work!). My netbook detects wireless to my home network, but I can'
-
misalignment of mailing labels
Photosmart 7510 AIO (C311a) on Win7 64 bit. Using Avery 5160 address labels, the consistantly printer starts printing with a top margin of 1 "instead of" 1/2 as shown in print specifications and adds a margin of 1 "at the bottom instead of the 1/2".