ImageView Black question screen on DA - anomaly or something else?

Hello friends,

I'm developing an application of connected local transit. Part of it includes essentially maps for each bus line. I use nested within a ScrollPane ImageView. Many of the cards are superior to a dimension 768 and 1280.

Question

ScrollPane ImageView displays BLACK on some images, but not others. I can't understand why and how to fix it.

My Application configuration

  1. Standard C + c++ / Cascades project
  2. Directory structure
    [Standard empty project template]
  3. + assets
    -main.qml
       

    import bb.cascades 1.0
    
    //-- create one page with a label and text
    
    Page {
        content: Container {
            layout: DockLayout {
            }
            background: Color.create("#FFFFFF")
            preferredWidth: 768
            preferredHeight: 1280
            ScrollView {
                id: mapScroll
                scrollViewProperties {
                    scrollMode: ScrollMode.Both
                }
                // This ImageView Appears Black on the DA - qml preview in IDE ok
                /*ImageView {
                    id: m45ustock
                    preferredWidth: 2913
                    preferredHeight: 2283
                    imageSource: "asset:///images/m45ustock.png"
                    onTouch: {
                        mapScroll.scrollViewProperties.scrollMode = ScrollMode.Both
                    }
                }
                */
                // THIS ImageView DISPLAYS CORRECTLY
                 ImageView {
                    id: m10town
                    preferredWidth: 1287
                    preferredHeight: 1631
                    imageSource: "asset:///images/m10townsend.png"
                    onTouch: {
                        mapScroll.scrollViewProperties.scrollMode = ScrollMode.Both
                    }
                }
            }
        }
    }
    

    Create a folder "images" add attached images.

    - images
    -m10townsend.png
    -m45ustock.png

    Notes


    I commented the ImageView displaying BLACK. Toggle comments to test.

    Why is this happening?

    Ideas? Is this a bug? Are there restrictions on the ImageView in terms of file size, making it the dimensions, etc.?

    Thank you!

Have you gotten nowhere on that?

If you need to do a program, one way is to use http://supportforums.blackberry.com/t5/Cascades-Development-Knowledge/Using-QImage-and-QPainter-to-P...

Was it the root cause of your problem?

Stuart

Tags: BlackBerry Developers

Similar Questions

  • Side to side thinapp product black cmd screen update

    I've updated a thinapp method update next.  The application opens fine in the updated version, but there is a black CMD screen that comes first and it remains open.  Once the thinapp opened, we found that it's ok to close the CMD screen.  Can I do to stop this black screen display?  I know that as move us along and update some thinapps this raises questions among users.  Next door is the best way of updating a thinapp without worrying about users?  Thank you!!

    And it's true... It's the data container that contains the software update, so it should be updated with update in place (or next)...

    Please take a look at this blog post: http://blogs.vmware.com/thinapp/2012/01/in-place-update-using-a-separate-data-container.html

  • Black login screen

    When starting, a black login screen prevents my screen 4 K of login in. Computer must be stopped with force and restarted. Memory NVRAM/PRAM resetting has not helped.

    It seems that it is a problem with the mac and display negotiate the appropriate resolution.

    You can use the mac at all? After the reboot, does it work?

    It works with a different view?

    You can try to connect "blind"? It is possible that after a disconnection of the display and the figure of mac it. (Weird, I know; but it is not really difficult to connect even without the screen, if you know what position in the list, your account is just press the left or right arrow keys, enter, password, enter).

    Maybe better, if you have access to another mac, use the screen sharing feature to connect; then go to system-> Display Preferences and try to choose a frame that works.

  • With the new Apple TV, I'm stuck on a black loading screen in the application to access all CBS. How can I solve this problem?

    I have the new Apple TV, and after seeing a show in the application to access all CBS I'm stuck on a black loading screen. This happened almost 10 minutes now and I don't know what to do to be able to find the main screens of the application and to be able to continue to watch the shows within the app.

    Press twice on the logo TV button then slide upward on the touchpad.

    The CBS app is stuck and hitting the button twice allows you to force the application to quit.

  • YouTube does not play videos in google chrome, I see only black white screen with nothing happening.

    * Original title: youtube

    Hello

    YouTube is not playing videos in google chrome, I see only black white screen with nothing happens

    YouTube works fine under IE

    WATS the problem please say n give solution

    This problem has something to do with Dell Data Vault?

    because after I turn on my machine, I get this message... Service Dell Data Vault has stopped working

    details on dell Vault problem... reference data below

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: DellDataVault.exe
    Application version: 3.9.3.0
    Application timestamp: 54cc0788
    Fault Module name: DellDataVault.exe
    Fault Module Version: 3.9.3.0
    Timestamp of Module error: 54cc0788
    Exception code: c0000005
    Exception offset: 00017126
    OS version: 6.0.6002.2.2.0.768.2
    Locale ID: 16393
    Additional information 1: a539
    More information 2: 18736dd72b4a3074605a116ef5884f1f
    3 more information: c832
    Additional information 4: 3c436c3937586374ee122b3cd7b3def9

    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    PLEASE HELP SOON

    Given that this problem affects Google Chrome, I ask in the forums of Google Chrome: Google Chrome help Forum

  • Vista starts with black error screen arr2 arr3

    Original title: CODE ARR2 ARR3

    running vista boots to black error screen arr2 arr3 someone can tell me why and maybe tell me what to do to solve the problem

    Hi sdyess,

    ·         Did you do changes on the computer before the show?

    ·         You get the error message?

    ·         Are you able to boot to the desktop?

    Follow the steps in the article.

    When you start a Windows Vista-based computer, the system may stop responding (hang) at a black screen

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

  • continuous beep on startup and the black command screen

    I have problems with the boot on my computer laptop gateway. I bought it last year, and despite the update anti spyware and etc., he refuses to start after a black screen.it command refuses to go into hibernation mode is that drives me crazy. When I try to put it in this mode the red light that usually indicates the hibernation mode flashes 3 times faster and when I open the screen it displays the screen of welcome without a moments notice. is this just a virus? or is it something else. I don't have the keys sticky and I clean them every week and ran the antivirus program several times a week since I bought it.

    Hello

    Sound beeps are error codes that describe a problem with your machine. A continuous beep
    can mean keyboard (loose or bad cable), losing the card, power, a short circuit or other matter according to the
    System/BIOS manufacturer.

    Startup and select CONFIGURATION/SETTINGS (BIOS/CMOS) - usually F2 that you start - look to see BIOS
    Creator, then see here:

    Computer MESSAGE / beep codes
    http://www.computerhope.com/beep.htm

    If my computer beeps and won't start, what do the beeps mean?
    http://KB.IU.edu/data/afzy.html how to troubleshoot Beep Codes
    http://pcsupport.about.com/od/nonworkingcomponent/HT/beepcodestb.htm

    POSTAL Codes beep
    http://www.technick.NET/public/code/cp_dpage.php?aiocp_dp=guide_beep_codes

    Power on Beep Codes post
    http://www.pchell.com/hardware/beepcodes.shtml

    It can be so other check with the manufacturer of the system.

    ----------------------------------------------------------------------------

    Are there any error messages? May be material.

    Check with Support technique Gateway, their documentation and online drivers.

    Gateway drivers and downloads
    http://support.gateway.com/support/drivers/dlcenter.asp

    Technical support Gateway
    http://support.gateway.com/support/?cmpid=topNav

    Door Documents
    http://support.gateway.com/support/SUPINFO/index.asp?cmpid=topNav

    I hope this helps.

  • You can change the color of the "carpet" around the video from black to something else?

    Hello trust experts!

    Is it possible for me to change the background color in my video of black default to something else? My video is a screencapture of a widget on a solid gray background. What I'm trying to do is some pan and zoom on some features, but when I need to zoom near the corners, his watch the black carpet around the video. Is there a way to change this color?

    If by "cache color" you mean letter-boxing, or pillar boxing, then the answer is Yes. Just add a cache of color on a video track below and its color based on the value.

    Good luck

    Hunt

  • Black flickering screen of Lenovo Y50

    I had this problem before, but now she is back, she has black screen flickering and grey lines flicker like every minute or so.

    I just system restored completely but still questions.

    Data sheet:

    Lenovo Y50

    Intel Core i7-4700HQ
    NVIDIA GeForce GTX 860 M (latest driver)
    8. 0 GB DDR3L 1600 MHz SDRAM
    8.1 Windows 64

    Solved!

    What I have told someone on google to open plug it back open, portable display connector of the screen and no more flashing BAM!

  • Black startup screen to the Satelite A30

    My A30 satellite has a screen, black start if you pay attention, you can see the Toshiba logo windows XP starts logo and the opening page with the password, even if it is very dark.

    I had a lot of problems with it in the past, often because it is overheating and then turns off.

    It doesn't work unless it is plugged.

    To add to this, it is about 5 years old and I am currently in the Japan, so I can't fix in the near future.

    Any suggestions as to what I can do?

    Hello

    > If you pay attention you can see the windows of logo Toshiba XP starts logo and the opening page with the password, even if it is very dark.
    For me, this looks like a FL-inverter problem.

    Have you checked if the same question is displayed on the external monitor? Select this check box. Connect the laptop to the external display and check if the same question would appear on the second monitor.

    If the display on the external monitor is fine, then the card doesn t is malfunctioning and the FL inverter or the internal LCD screen could be faulty.

    However, it s always difficult to provide certain diagnoses and in my opinion you should definitely ask an ASP for the laptop, check.

    Good luck and best regards

  • K3 black Note screen - K50a40_S114_150618_ROW

    Yesterday I download something in b/w download can I double tap on the screen to watch whats the download status but screen won't wake up and then I click on the lock button nothing happen, then I permanently by clicking the back screen for 1 second minimum lock button. the screen goes black and I see in the background NPH works normally. I can remove the battery and put it after a few minutes, but I am again facing the problem. After many trials finally unlock the phn and after a few minutes later his work fine help me but I can do if the problem happens again. Pls tell me but is this problem and how can I fix.

    Note from the admin; Phone & ROM added to the subjects.

    I found the same problem when downloading content via torrent mu app pro. I updated my phone to the latest ROM update

    I found the workaround for this problem:
    1. some how double tap to reactivate the option is disabled in the function option once you change the Launcher by default.
    2. If you reset your Launcher by default as a pitcher from Lenovo, you will need to re-enable this feature.
    3 then after that the screen turns off during the download I just made double to wake up my screen, but somehow it is not answered then I realized above question. I have re-enabled this feature.
    4 but if I patiently locking button for momentary time... then he wakes up your screen & download status shows.

    Hope that this info will be useful.

  • Random sleep and black - video screens attached number W520

    BTW my mobo, cpu, memory I think were all replaced last time I took with this problem...

    Always do consistently:

    Random black screens and sleep at random:

    www.YouTube.com/watch?v=AvWl9ck26xI

    Black screen:

    www.YouTube.com/watch?v=7A3NqnC80iU

    Before I thought maybe its associated Bluetooth that sometimes when the screen turns black, then come back, I would get a "Bluetooth Device not detectable". Then disabled Bluetooth in the BIOS, but still display/sleep problems.

    I removed the Lenovo Power Manager/PM driver and off to sleep in windows power settings (in every setting including low battery Action). Any ideas?

    I just upgraded to a guarantee of 3 years (the more expensive one), should I just ask to replace mother/cpu/memory card yet or will Lenovo actually test for further questions?

    Thank you

    ARI

    So after going to Lenovo, the 3rd time seems to be the charm. They said it was a connector crimped in the laptop, the cause of these issues. I don't think that I had real problems with the laptop from back 2 weeks.

    -Ari

  • Windows Vista SP2 black/blue screen of death (both) can not access, connect you or start

    I went to log into my computer and instead of a log on screen flashed blue screen and then the computer acted like he was going to start, but instead turned to a black screen. I have a mouse available, sometimes. I tried to run in safe mode; It does not work. I tried ctrl > alt > delete, did not work. I don't have the disc that came with the computer (which is a Toshiba Satellite A305 S6905). I am running Windows Vista with Service Pack 2, and that's ALL I know on the computer. I have not installed anything recently... that I remember, and I use it mainly for the school and control of facebook sometimes late at night, but that sums it up. I'm not tech savvy. Not good with technical terms, but need help, please? If anyone has any advice (free advice) I'm willing to try anything at this point. Need computer for school, have finals this week and do not want to carry children to school to study / homework etc. Oh, I also tried to install a previous backup disk I created it not working anymore! I heard that there is a problem with an update of Microsoft, but not sure if it's true. (Simple instructions please)

    Thanks in advance for any help.

    Hello
    1. what happens when you run in safe mode?
    2. What is the Blue error message?
    Check if there is repair your computer option advanced startup options.
    Startup options (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Method 1
    You can perform the repair your computer option start repair.
    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    Method 2
    If the problem persists, try you can perform the repair your computer option system restore.
    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

  • Unable to start in the Office: black error screen

    Original title: vista does not start, the keyboard seems to not work

    Vista Start, the dell screen comes the progress bar goes to 100% then I get a black screen that shows the time and the cut off date. I tried to do a reinstall but the keyboard do not seem to react. can not boot from the cd because there is an in there and ejection on the keyboard does not.

    Hello

    Check with Support from Dell, their online documentation, drivers, diagnostics and ask questions in the forums on
    known issues.

    Dell support
    http://support.Dell.com/

    Dell support drivers - product manual & warranty Info (left side) - and much more
    http://support.Dell.com/support/index.aspx?c=us&l=en&s=DHS

    Dell forums
    http://en.community.Dell.com/forums/

    -----------------

    The drive is just stuck?

    For the readers of the status bar:

    Sometimes they get stuck. There is a small hole on the front of the CD drive that you can stick a
    a paper clip that will release him and the reader to open.

    Create a trombone in car Opener
    http://pcsupport.about.com/od/tipstricks/HT/ppdropen.htm

    Open a CD/DVD player with a paper clip.
    http://www.josepino.com/?open_cd-dvd_paperclip

    =================================

    For the readers of the slot:

    Check with the manufacturer of system on how do to eject the disc.

    Dell xps m1330 dvd drive will not eject cd inside<-- check="" these="">
    http://www.FixYa.com/support/t2643828-dell_xps_m1330_dvd_drive_will_not_eject

    Be careful as you may damage the player using the method below:

    You may need to get the driver to work 1 However, this could still work.
    http://www.tech-tweak.NET/2009/11/how-to-eject-STUK-DVD-from-slot-load.html

    The method used on the Mac could work
    http://www.YouTube.com/watch?v=wpWieIoBBrk

    How to disassemble the laptop (Dell XPS M1330)<--- voids="" any="" warranty!="" this="" is="" an="">
    http://ahwee.com/how-to-disassemble-laptop-Dell-XPS-M1330

    Also have heard double tape on a credit card or play can work.

    ===========================================================

    Can you enter/settings (BIOS/CMOS) often F2 because you start?

    You can use Safe Mode? Repeatedly press F8 as you start?

    No saving necessary data and re-installing Windows Vista might be the best option, but here
    are a few others.

    You can save your files by putting the drive in another computer as a 2nd disk (best) or external
    Drive USB enclosure and then backup to removable media such as CD, DVD or other USB drives.
    Of course a real store of the computer or the manufacturer of your system can help to recover the files.

    Or you can use a boot Ubuntu CD to back up data.

    Use Ubuntu Live CD to backup files from your Windows computer dead
    http://www.howtogeek.com/HOWTO/Windows-Vista/use-Ubuntu-Live-CD-to-backup-files-from-your-dead-Windows-computer

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Error 'System restore running system' starts with a black cursor screen while trying to use the system restore

    Original title: unit hanging in the middle of the restoration of the system

    Message "System restore running system" starts with a black screen with cursor, but does not move forward.  Windows Vista question

    Have you tried F8 solutions and when I select the system restore it gives me the message above and goes to the black screen even ugly.

    How did I break the loop so I can start a new system restore?

    Hello

    Are you trying to restore your computer or you try to create a restore point?

    Step 1 or 2 can help you to restore your computer.

    Step 1: Try the steps in the section below, if you haven't tried it.

    Start the restore of the system from a command prompt
    http://Windows.Microsoft.com/en-us/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Step 2: Try restoring the system from the recovery console.
    Reference: http://windows.microsoft.com/en-US/windows-vista/What-are-the-system-recovery-options-in-Windows-Vista

    Step 3: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Measures to check the application event log:

    a. Click Start.
    (b) in the search box type eventvwr.msc, and then on enter.
    c. now, click Application in the event viewer (local).
    d. now, looking for event log on the right side of the event viewer window.
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Event-Viewer
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    Similar problem: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/system-restore-wizard-is-already-running/c797baf7-c069-4e3a-894a-e9644cc6df0b

Maybe you are looking for