Problem on the picture of the burden of the SD card

I load the jpg from SD card. but just show a part of this image. (the image too large to show?) the code below:

data Byte [] = null;
try {}
FileConnection fconn = (FileConnection) Connector.open (uriString);
If (fconn. Exists())
{
InputStream input = fconn.openInputStream ();
ByteArrayOutputStream Baos = new ByteArrayOutputStream();
int j = 0;
While ((j = Input.Read ())! = - 1) {}
Baos.Write (j);
}
data = baos.toByteArray ();
Input.Close ();
fconn. Close();
}
} catch (Exception e) {}
e.printStackTrace ();
}

EncodedImage image = EncodedImage.createEncodedImage (data, 0,
Data.Length);
Image bitmap bitmap = image.getBitmap ();
MapField = new BitmapField (bitmap);

No problem with your code above.

If the image is larger than the resolution of the screen then BitmapField will show only a part of the image that fits into the screen from the top left of the image.

So you can either resize the accroding to the width of the screen image * height or you can add the image to the screen with scroll effect.

Concerning

Bika

Tags: BlackBerry Developers

Similar Questions

  • Problems with the graphics card on Satellite Pro M10

    Hi, this is my first post on the forum. I'm not a pro with computers or anything... the problem I have with my laptop is similar to the one in this thread:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=26849&TSTART=0

    I spent half the day trying to figure out if my graphics card is broken, but since I'm a newbie with this stuff, I'm still not sure. :(

    This is what makes my M10. I'm trying to describe the symptoms that detailed as possible, but I'm German, so please excuse my lack of words in some places.

    1. when I turn it on, the laptop goes through the BIOS and give me scrambled BACK-screens and a slightly Warped windows loading bar. There is the consistency check, marked by black bars connecting the top of the screen down. After the audit, the screen goes black and nothing happens, or the screen of will just show me consistency check, do nothing. Be that as it may, I have to turn off the power (I think) and restart the laptop.

    2. sometimes the laptop goes through the BIOS checking & conistency with a few graphical shortcomings. The office is anything but shredded when he gets to the screen of the Windows user. The static method is if serious I don't even know where is the button turn off.

    3. sometimes Notepad starts very well, with the only graphic problem being the windows loading bar. When I go into Windows, the laptop pulls me a blue screen and stops immediately.

    4. sometimes, the laptop works fine for about an hour or two. After I rebooted, I have the same problems listed above, once again.

    5. If I open Device Manager and disable the graphics card, the laptop works very well. I have to lower the screen resolution and colors, but I can watch videos on youtube and everything. Finally, the laptop gets very hot on the bottom and the screen goes crazy again, so I turn the damn thing off.

    I don't know what that means! If my graphics card is broken, the screen should be all static, ALL the time? Not just sometimes more,... could sometimes less be some sort of communication problem between the graphics card and cpu? Please help me with this!

    Another thing I'm not sure about, even after reading the thread I linked above - can I replace the graphics card or not? Everyone said something different in the other thread...

    see you soon,
    Cozmo

    Edit: maybe I will add when I got the screen scrambled and everything. I installed Civilization 4, just to check if my satellite pro can handle, and everything went well for a while. The screen then haywire and I rebuilt my whole system, but display problems did not disappear completely. They were gone for almost a month, and now they are 'back' or something.

    Hi Cozmo

    I'm not a technician but here nobody needs technical knowledge to see that there certainly is hardware problem. I also believe that this problem occurs due to the graphics card. Graphics card is part of the motherboard and it cannot be traded separately. The entire motherboard must be exchanged.

    In my opinion, you have two options: either contact the authorized service provider in your country and speak with them, what can be done, or try to get the motherboard used. If you are lucky, you can find it on eBay. I already bought several hardware components for my old Satellite P10 on eBay.

    Sorry Cozmo but I do not see any other logical solution for you.

    Good luck!

  • Problem with the video card Inspiron 7520

    Hi all


    Since I installed the 8.1 update windows I have problems with the video card. PC 2 video cards are installed:

    (1) AMD Radeon HD M 7730
    (2) Intel(r) HD Graphics 4000

    The main problem is that the resolution of the screen is fuzzy. I downloaded from Dell, the updates for both cards and tried to install, but it does not change Sub. My question is: is there a special procedure to install a driver?

    Thanks to you all!

    HELPPPPPPP!

  • When I try to establish a wifi connection, it shows that the problem with the network card is not fixed. How can I solve this problem?

    When I try to establish a wifi connection, it shows that the problem with the network card is not fixed. How can I solve this problem?

    Hello

    Thank you for writing to Microsoft Communities.

    Until we start troubleshooting on this issue please provides us additional information by answering a few questions, this will help us better solutions to the problems.

    1. What is the full error message do you get?

    2. are - that you be able to access or connect to the Internet via wired?

    3 have there been recent changes to the computer before the show?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1:
    Try to run the network troubleshooters. Check if it enumerates and helps resolve the errors.
    http://Windows.Microsoft.com/en-us/Windows7/open-networking-troubleshooters

    Method 2: If the problem persists, try to follow the steps from the link.

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

    Check this link for more information:

    How can I troubleshoot network card? http://Windows.Microsoft.com/en-us/Windows7/fix-network-adapter-problems

    Why can't I connect to the Internet?
    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

    Please follow these recommended steps and post if you still experience the problem.

  • My purchase is that creative cloud is a ° 16034007400 at the date of renewal, there was problems with the credit card, but the tax has been paid in January. So far I can't use the program or any of its components without Adobe me any explanation on why I

    My the purchase is Creative Cloud is a ° 16034007400 at the date of renewal there are problems with the credit card, but the deposit was paid to January. Up to now I can not use the program or one of its components without Adobe me any explanation on why I can not use.
    Why not allow Use Adobe Creative Cloud?

    : Contact support from adobe for hourly pst by clicking here and, when available, click on "still need help," http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Satellite A660 - 1 HL-problems with the graphics card

    Hello!

    This is my first thread so I apologize if I am doing something wrong and for my bad English. :)

    Just bought a Toshiba Satellite A660 - 1 hl with two adapters, integrated and a GeForce GT 330 M. The integrated works well, but when I go to the dedicated I encounter problems. The non-adjustable resolution in optimal mode and windows in the operating system (windows 7) delays when moving. I can't get info on the map in all kinds of temperature programs or dxdiag and such others.

    I tried to install the drivers from nvidia, Toshiba and windows update with no improvement. I can't run Windows expreince index because I get an error message or of any average games do I encounter error messages there as well. I begin to doubt that the drivers installed even.

    I hope you guys can help out me :)

    It comes to getting the error messages:

    http://ImageShack.us/photo/my-images...krmklippe.jpg/

    http://ImageShack.us/photo/my-images...krmklipp2.jpg/

    http://ImageShack.us/photo/my-images...krmklipp3.jpg/

    http://ImageShack.us/photo/my-images/9/skrmklipp4.jpg/

    You should test the RAM (memory) for problems using the Test of memory of Microsoft or the www.memtest.org (bootable CD).

    To confirm that this is a hardware problem, you must save your documents and run recovery.

    If the problem still occur on a new image, then the laptop should go to an ASP (Toshiba Service Center) for repairs (possibly a motherboard replacement).

  • Satellite 5100/201: problem with the video card or overheating?

    HY,

    I have problems with video on a 5100/201 Satellite. It seems that when I press the left side above the graphics card or press a key on the keyboard on this side, the screen begins to be scrambled and vertical lines appear. To end Windows XP resets giving a critical error on the device and the video goes to 640 x 480. Same thing happens when you run Linux Suse 9.0.

    My question is what is the cause: map graphic damaged or overheating due to the fan not as effective as originally (my laptop is nearly two years old. Do you have someone be able to find the cause and solved the problem, also with the assistance of Toshiba?
    Any help welcome.

    Hello

    I think the problem on your laptop depends on the fan.

    A colleague on mine has a 5100-603 and had similar problems.

    The Station changed the fan.

    Good bye

  • T400 own install problem for the graphics card hybrid

    I did a clean install on the T400 and installed all the drivers that are essential under the SWTools folder, but I see a problem with the card ATI will not work correctly.

    After installation from the folder videos and restarted the laptop. There is a sign next to the 'ATI Mobility Radeon HD 3400 Series' in Device Manager

    Under device status, I see the following error message

    "This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available. »

    Has anyone seen this error? I tried to reinstall the driver again, but that does not solve the problem. Actually, the PowerManager now has trouble switching graphics, with the balloon message "system cannot activate graphics high-performance" close all 3D applications or video and disconnect the external screens. " Switch graphics processors. »

    Any suggestions on how to fix this?

    The model is 2764-CTO

    Just figured it out. This feature requires Vista SP1. Since my Vista disk is the original disc of RTM without SP1, this is why I came across this problem.

  • Problem with the video card and satellite L650 - 1 M 6

    Good evening!
    I have the new Satellite L650 - 1 M 6 with no operating system. When I did a fresh install of Windows 7 32 bit, I had several device problems. Most of them that I managed solve my self (as wlan drivers) but now I need your professional help.
    At this moment, I had left this problem of devices (on the information system):

    Not available ACPI\TOS6205\4 & 4A257CF & 0 the drivers for this device are not installed.

    I think it might be the video card (must be ATI HD5470) but SysInfo says:

    Type available, compatible adapter (Standard display types)
    Description Standard VGA Graphics Adapter adapt

    Would appreciate any help on this.
    Thank you in advance.

    Hello

    As I see you as laptop without OS and you try to install and configure your own operating system.
    In many posts, I wrote here that I write again and again that the most important thing is to install all the drives and Toshiba specific stuff according to the order of installation right then, here's the order of installation for your laptop model:

    Win7
    TOSHIBA Assist 3.00.10_O
    TOSHIBA Extended tiles for Mobility Center Windows V1.01
    Synaptics Touch Pad Driver 15.0.8.1
    Realtek 6.1.7600.30111 card reader
    V2.0.0.6 TOSHIBA HW Setup Utility
    V2.0.0.3 TOSHIBA supervisor password utility
    TOSHIBA Web Camera Application V1.1.1.15
    TOSHIBA HDD_SSD 3.1.64.6 attention
    SW 9.1.1.1024 Chipset installation utility
    Intel Management Engine Interface 6.0.30.1203
    Display driver
    Driver Intel Turbo Boost Technology 1.1.1.1007
    Driver Intel Rapid Storage Technology 9.5.7.1002
    Conexant Audio Driver 4.119.0.61
    TOSHIBA value added package 1.3.3_64
    LAN driver
    TOSHIBA Software Modem 2.2.97 (SM2297ALS05)
    Driver for Conexant Modem 7.80.4.50
    Battery Bluetooth for Windows by Toshiba v7.10.10 (T)
    Wireless LAN driver
    ConfigFree 8.0.29

    I recommend reinstall you Win7 and continue with all the other stuff flowing this install order and I hope everything will be OK.

  • Model 15g - 260sa: 'Problem' of the SD card?

    Hi people,

    Just got this laptop for my wife and it's a nice piece of kit, but we 'problem' appeared makes me think that the SD card is defective.

    When an SD card is inserted on my HP laptop there is a noticeable "click" when the card locks into place, however my wife's cell phone is NO 'click' that makes removing the SD card pretty hard because he doesn't "popout" when you pushed to have to get your fingers on the edge of which There is not a lot that comes out and pull it out.

    Is this correct, or do we have a defective SD Card Slot?

    Also when the transfer of files from the SD card to the laptop after completing the transfer we then cannot delete the files from the SD card.

    I tried "Uninstall" the driver Realtek and then by doing a 'plug & Pray' insert the SD Card that installs the driver but after that we always can not delete the files as the 'option' doe not appears.

    The machine is still under warranty if it should be returned for a new SD card to be mounted so be it.

    Thank you

    Life is a journey, not a destination so make the most of it so that you can!

    Hello

    Just to advise PC World advised after they have tried to insert a card that there are installation of ejection No. on this laptop, unlike other HP laptops where there is.

    Therefore, that brings out the quite difficult slot card as ease of ejection gave you another small area to enter in removing the card.

    On the "deleting files" after use, I have just went into Control Panel, then device and removed the SD card and then let "Plug & Pray" reinstall once put an SD card in the slot and now works correctly.

  • Problems with the graphics card

    Hey, so I spent recently to my laptop HP Pavilion of 15-n298sa of a windows 06:52 and she since has earned me an endless stream of problems, especially with my graphics card. As I am on break from uni I re-uploaded all my games on my computer and found that none of them bar those made before the middle of the 2000s, play for me and for all name them my graphics as being the problem - like solitaire spider fact etc. All have previously been playable, about a month ago, so I know that it shouldn't be a problem. I tried several times to install the graphics drivers (one-I can't remember their names - AMD would apparently install and that NVIDIA could not). When looking at the Info for the graphic drivers installed, "Standard VGA Graphics Adapter" that it's 2006 so I guess that AMD, it has not actually installed / was done wrongly. I was wondering if someone could help me?

    BTW, I'm a complete technophobe and total so if you have an idea of what to do, I would appreciate it if you could put it in other words, because I am a plonker when it comes of this.

    Hello:

    See if this graphics driver works.  Your computer laptop is only the graphics card Intel HD 4400 so don't expect too much of it.

    https://Downloadcenter.Intel.com/Detail_Desc.aspx?DwnldID=24392

    Product sheet of your model...

    http://support.HP.com/us-en/document/c04102914

  • Problems with the video card and sound card on Toshiba model #PSLCOU - 02701G

    I bought a new laptop in 2009, and it is a Toshiba, model #PSLCOU - 02701G. After about three months the video card and the sound began to spoil. It's what he does, I can go on U-tube or any web site that has a video to watch like CNN news, etc. What it does is it starts to play and the video and the sound is good and he paused for a few seconds and starts again, new breaks and pauses, starts, pauses, starts. He does it all the time, and I was wondering if you all have any idea whats going on? Help? Help?

    It really sucks when you try to watch the news. Also, I put a CD or DVD into the laptop and it works perfectly. I can watch any DVD or listen to a GREAT Cd.

    How is your network connection?  Sometimes, the system needs to create a cache to store the downloaded information and if the download is not pass quickly enough the system will freeze while wiaiting for download to catch up - not a problem with your sound cards and video, but with the speed of Connection on the website or on the network itself (or your network equipment).  This looks like the case if the DVD and the CD's works fine.  Check your internet connection and try to download the video pages to see if the problem is with all the downloads, or only those on a site.  You can contact your ISP and have them help check you connection and settings and the modem for problems or changes, you can do to improve things. Sometimes happens to me as well in the internet connection runs slower than normal and there is nothing that I can do but wait to accelerate - and it's frustrating.

    You can get in trouble with your device drivers.  Go to the Device Manager by going to start / find and type Device Manager and enter and then double-click on the program icon that appears.  Check each device to a red x, yellow! or white?  These identify devices with problems probably (drivers, but also of conflict or something else).  Click on each for more details and troubleshooting tips.  If you need to get the drivers (and you need you to do all you have time to do, but at least the network card, sound card and video card - they can help way beyond simply solve this problem), get the computer dealer or the manufacturer of the device (NOT of Microsoft Updates).  In fact, you must disable automatic updates in Windows Update driver as follows: http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/. Follow these steps to get the drivers: http://pcsupport.about.com/od/driverssupport/ht/driverdlmfgr.htm.  Once you have the drivers, you can install them via the Manager device as follows: http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html.

    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.

  • Huge problem with the graphics card. Help me pls!

    Unfortunately my pc is not guaranteed, so my last hope is here on the forum.

    I have Dell Inspiron 580

    Ok.So the problem was that I found myself not being able to open My Nvidia Control Panel to verify customization as one of my games was so bad. That's why I found that my disappeared from Nvidia and Intel HD Core i3 graphics took place.

    And yes my pc used to run with Nvidia I have proof: P

    I must say that for me (as a heavy gamer) was a great kick as Intel uses all my CPU and my games become so difficult to play.

    I have tried everything that I could to restore the return of Nvidia (except one: to reinstall windows) but not one chance :(

    Reinstalling the drivers did not help actually I don't even know the type of driver that I need because that Nvidia is not found.

    Any advice? It will go to normal if I reinstall windows?

    Thanks guys and sorry for my bad English :D

    Hi Georgina26,

    You use the graphics card onboard because your monitor is connected to the video port badly. Turn off the system, unplug the video cable and connect it to the video card into the PCIe slot.

    If you are not familiar with the snap of a monitor on the back of your computer, please let me know and I will give a link to some photos.

  • problems with the graphics card after installing windows 7, code 43

    I installed windows 7 & my ATI-RADEON XPRESS 200 SERIES is stopped by windows 43.It code stipulates that drivers are ok... but it is not recognized... I also downloaded a few 3d Screensavers & they worked very well now, it is not able to open the screensaver because of the video card or to be compatible with Direct 3D... This question has not pop up until after you have installed windows 7, I have checked & found a lot of problems with windows 7 & ATI-RADEON XPRESS 200 SERIES drivers or recognition. Tried to update the driver but the States, it is far, but windows 7 is having a problem with drivers... Y at - it a fix for this, looks like it should be a matter of windows & microsoft should have action corrected problem because windows is caused this problem... Have installed all windows updates & all up to date... Can someone try to give me a solution to fix this problem? Not sure if they have an upgrade or accelerator program 3d graphics that may have to be installed... & again thanks if anyone can help... Have a great day...

    ATI-RADEON XPRESS 200 SERIES is an accelerator of limited DirectX 9 graphics (integrated graphics), which was

    published in ' 07 and apparently is not compatible with Win7.

    Old hardware with a Windows version compatibility isn't something that never gets fixed by SM.

    It is the mfg of the material to support the product through a driver updated, and trend of integrated graphic card

    not be supported as long as a dedicated graphics card.

    In this case support drivers apparently stopped with Vista.

    If you try to get drivers via Device Manager or Windows Update they can provide incorrect information

    What about drivers who are up to date.

    These two methods are a little known does not install the proper drivers for the graphics.

    I read that some people have had luck on Win7 with the Vista drivers for various materials. Doesn't hurt to try.

    You can download the drivers for XPRESS 200 SERIES from the AMD website below-

    http://support.AMD.com/en-us/download

    .

  • Problems with the graphics card when you use AutoCad

    Hi, I have a dell xps 18.4 - i7 with 8 GB of RAM, when I'm working with Auto CAD I face problem with my graphic card, what can I do to fix this? has any experience with that? the graphics card is Intel(r) HD Graphics 4000

    Hello

    Thanks for the reply.

    I'm sorry for the late reply.

    I appreciate your patience.

    I suggest you to try installing the driver in compatibility mode and tick.
    Reference:
    Make the programs more compatible with this version of Windows
    http://Windows.Microsoft.com/en-us/Windows-8/older-programs-compatible-version-Windows

    Please keep us informed.

    Thank you

  • ATTENTION TO DEVELOPERS - PROBLEMS WITH THE SOUND CARD

    I have a Focusrite Scarlett 18i6 audio card. I have before running on my Mac, version 5.0.3 (VMWARE) and everything worked. After that I updated to the new version 6 and my sound card no sound comes and has connectivity problems in windows. I updated the drivers for my Board to the latest version. I've upgraded to the last version firmeware. And I tested this audio card on two different Macs with version 6, and the problem persisted!

    Note: I use demo version 6.

    The sound card works perfectly in my MAC system with the latest drivers. But the problem remains FUSION version 6. I tested it on two different virtual machines with different operating systems, tested on two different Imacs and nothing back to work as before.

    After several tests, which detects the sound card works perfectly with his last official update from the manufacturer only with version 5.0.3 (VMWARE). With version 6, the problem persists.

    I am desperate because I work with music production and use software for windows in my MAC...

    Sorry writing errors. I live in the Brazil!

    Version 6, it must improve the compatibility issue. Problems I am facing a lot after this update.

    Best,

    Marcelo rates

    Before uninstalling VMware Fusion 6.0 you must change the updated hardware Version from 10 to 9 for any Virtual Machine level.  Take a look on: Change the compatibility of a Virtual Machine

    Then uninstall VMware Fusion 6 and then install VMware Fusion 5.

Maybe you are looking for

  • NATTERING DISAPPEARED WHEN PAGING BACK OR BY CLICKING ON A NEW SITE BUT STILL THE WORDS IN IE8

    NATTERING DISAPPEARED WHEN PAGING BACK OR BY CLICKING ON A NEW SITE BUT STILL THE WORDS IN IE8. I JUST REINSTALLED FIREFOX AND THE NATTERING DISAPPEARED WHEN CHANGING PAGES.

  • triaxial accelerometer

    Hola, buenas tardes, requiero connect a Triaxial sensor 256 has 01 piezoelectronics, don't con el device nor ubs 6009, pero no tengo idea of como is conecta said sensor has the fuente poder, ago that trae several conexiones y cual are no. para cada u

  • Application crash on window 2012 R2

    The failing application name: BCAPPEngine.exe, version: 1.0.0.0, time stamp: 0x53b175acName of the failed module: KERNELBASE.dll, version: 6.3.9600.16656, time stamp: 0x5318237fException code: 0xe0434f4dOffset: 0x00000000000043c8ID of the process fai

  • Failed to read a record that has been in the ACC and converted to mp3?

    I have a record that was within the ACC (I belive) and then converted to mp3 format and it will play fine with media player classic but not on any other thing such as WMP or itunes? It was recorded from a flow station 1.FM threw the RIP station. Is s

  • Activation of Windows 7 Home Premium

    I am trying to activate a copy of Windows 7 Home Premium (64 bit) on a Dell laptop, however, said that's not validating, and does not give an option to turn on the phone.  I ran the MGA tool and here are the results: Diagnostic report (1.9.0027.0):--