Answered Weird Colors on TG01

  • Friday, August 14, 2009 5:41 PM
     
     
    My app is implemented in VB CF . Net. I just tried it on the latest Toshiba TG01. The colors are weird in places. Why would it behave differently?

Answers

  • Saturday, August 15, 2009 10:53 PM
     
     Answered
    Hi,

    I would recommend upgrading your project to CF2.0 and then see if that fixes your issue.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    • Marked As Answer by ZHE ZHAO Friday, August 21, 2009 1:02 AM
    •  
  • Sunday, August 16, 2009 5:23 PM
     
     Answered
    Hi,

    Depending on the errors, they are highlighting that there are better ways to do certain things. I would predict that there are a number of deprecated methods and properties that the build process is complaining about. Even though it will be a time consumering job to upgrade it is going to be worth it in the long run.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    • Marked As Answer by ZHE ZHAO Friday, August 21, 2009 1:02 AM
    •  

All Replies

  • Friday, August 14, 2009 7:19 PM
     
     
    Hi,

    Can you provide an example of this? If you would like I can test this on my TG01 to confirm.

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
  • Friday, August 14, 2009 7:26 PM
     
     
    Hi,

    Can you provide an example of this? If you would like I can test this on my TG01 to confirm.

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/

    Try the 'Heaviest' game in Year 1. The colors have changed appearance compared to on other devices.

    http://www.mastersoftmobilesolutions.com/bstwmoc.cab

    I've also noticed that my next game has even bigger color issues on the TG01.
  • Saturday, August 15, 2009 1:18 AM
     
     
    Hi,

    The following is a screen shot taken from the application, is this the correct colours?

    http://www.smartmobiledevice.co.uk/Misc/bstwmoc1.jpg

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
  • Saturday, August 15, 2009 8:52 AM
     
     
    Yes those are correct Paul.
    I will take some screenshots of another app to show you how bad the problem can be ...
  • Saturday, August 15, 2009 9:46 AM
     
     
    This shows the issue in all its glory:
    http://www.mastersoftmobilesolutions.com/tg01.zip
  • Saturday, August 15, 2009 4:32 PM
     
     
    Are you using GDI or DirectDraw for your rendering?

    If you open the screenshot of the image that contained the correct colors on your TG01 does it display properly?

    Joel Ivory Johnson
  • Saturday, August 15, 2009 7:58 PM
     
     
    Are you using GDI or DirectDraw for your rendering?

    If you open the screenshot of the image that contained the correct colors on your TG01 does it display properly?

    Joel Ivory Johnson

    It is fine if you open a screenshot. It is only when using the 'correct' image in code. I don't know all the terminology :) If you email me I can send you some source. It is CF1. I don't think the version of CF on the TG01 is 100% backwards compatible with CF1 apps. I am seeing other weird issues upon further investigation.
  • Saturday, August 15, 2009 8:29 PM
     
     
    You mean that You use an image You created on PC in 24 bit pallete and want it to look good on PDA devices?
    Especially when it has gradients and is taken from apps resources? If You're creating gfx for PDAs, better use 16 bit graphics made with good painting application (most of them don't save images correctly for smart devices). Also, some devices have different screen color format. XDA Flame has R5G6B5 and comparing to my XDA Atom Life, all white colors look so much green - not clean white. Even when I set max brightness it looks the same.

    If You'll find my answer satisfactory or helpful - mark it as answered! Thank You. PS. Votes also doesn't hurt :).
    • Edited by Mal Loth Saturday, August 15, 2009 8:33 PM
    •  
  • Saturday, August 15, 2009 8:39 PM
     
     
    My greens are red :)
    I am now noting other TG01 issues too like the screen not updating (it does on every other WM device that I have - from PPC 2002 until now). Do you have a TG01 Mal? I can send you an app that has always worked okay before, but not on the TG01.
    It is 100% a CF issue on the TG01.
    I'm just thinking that if I am having this problem with several of my apps, then there could be 1000s of apps that will have problems on the TG01.
  • Saturday, August 15, 2009 9:03 PM
     
     
    Unfortunately I don't have TG01 to test Your app :(. Could You take a photo of Your TG01 screen and load it somewhere (photobucket maybe) so I can take a closer look wether it's TG01 or just an LCD failure?
    If You'll find my answer satisfactory or helpful - mark it as answered! Thank You. PS. Votes also doesn't hurt :).
  • Saturday, August 15, 2009 9:06 PM
     
     
    It's defo the CF Mal ...
    You can see one issue here:
    http://www.mastersoftmobilesolutions.com/tg01.zip

    I use CF1. Maybe the version of CF on the TG01 breaks CF1?
  • Saturday, August 15, 2009 9:16 PM
     
     
    Hi,

    How do you get to the Fruit Salad screen as in your screen shots?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
  • Saturday, August 15, 2009 9:20 PM
     
     
    if it's the CF then it should look ok when You use p/invoked native IImaging API to draw the image.
    Try this way first before we'll go into conclusions.

    If You'll find my answer satisfactory or helpful - mark it as answered! Thank You. PS. Votes also doesn't hurt :).
  • Saturday, August 15, 2009 9:34 PM
     
     
    Apologies I am jumping to the wrong conclusions.
    I only get color issues (and a few others) on the TG01.
    The image appears perfectly when I simply open it on the TG01.
    It goes haywire when I use it in my V.Net app.
    The download above shows how it looks when in the program, and how it looks if you just open it (on the TG01).
  • Saturday, August 15, 2009 9:35 PM
     
     
    Hi,

    Is there a way I can run the "Fruit Salad" screen on my TG01?

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
  • Saturday, August 15, 2009 9:35 PM
     
     
    Both screens are on the TG01.
    The good one is achieved by opening the image on the TG01, the bad one is what appears when the image is used in the VB app.
  • Saturday, August 15, 2009 9:37 PM
     
     
    Hi,

    Do you have the VB app for me to try?

    The Brain School application colours do not seem to be a problem for me.

    Thanks

    Paul Diston
    http://www.smartmobiledevice.co.uk/
  • Saturday, August 15, 2009 9:52 PM
     
     
    Do You use ImageAttributes when You paint this picture?

    NETCF 1.0 apps require NETCF 1.0 installed for compatybility even if NETCF 2.0 or newer is installed.

    If You'll find my answer satisfactory or helpful - mark it as answered! Thank You. PS. Votes also doesn't hurt :).
  • Saturday, August 15, 2009 10:53 PM
     
     Answered
    Hi,

    I would recommend upgrading your project to CF2.0 and then see if that fixes your issue.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    • Marked As Answer by ZHE ZHAO Friday, August 21, 2009 1:02 AM
    •  
  • Sunday, August 16, 2009 5:13 PM
     
     
    The only way I can upgrade to CF2 is by upgrading via VS2008? If so then it is not possible for me because some of my projects are huge and the resulting conversions have many 100s of errors / no longer work.

    It did work for a very simple project that I have, but for my larger projects it is most likely not an option.
  • Sunday, August 16, 2009 5:23 PM
     
     Answered
    Hi,

    Depending on the errors, they are highlighting that there are better ways to do certain things. I would predict that there are a number of deprecated methods and properties that the build process is complaining about. Even though it will be a time consumering job to upgrade it is going to be worth it in the long run.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    • Marked As Answer by ZHE ZHAO Friday, August 21, 2009 1:02 AM
    •  
  • Sunday, August 16, 2009 8:15 PM
     
     

    I'd suggest downloading a Visual Studio 2008 Trial and try to port an application o two to get a good feel for the effort required.  As Paul mentioned earlier it will pay off in the long run.


    Joel Ivory Johnson
  • Sunday, August 16, 2009 8:52 PM
     
     
    I already own VS2008. It is a very big (for one person) games project that had over 100 people involved in testing it. Most of my projects are large so for now it is impossible. I no longer have those testers available as the project is 3 years old, and even if I did, I doubt the enthusiasm would be there given that I don't wish to enhance it.
    I have only seen the color issues on the TG01.