Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2008

    Problem with Canvas & Alert

    Hello everyone.

    I tried searching the forums for similar problem but couldn't find one.

    So the problem is that I have a canvas which is set to fullscreen mode which works fine. Then I want to show Alert when user selects certain Command from menu. The Alert starts fine but the problem is that the Canvas is no longer fullscreen.

    When Alert is launched the top part (battery level, time, signal strength etc.) is shown and the Canvas is drawn right under that. Now I wouldn't want that top part suddenly appearing there. When Alert is dismissed the top part is gone again and Canvas takes the fullscreen again.

    So any ideas how to fix this? Thanks in advance.

  2. #2
    Regular Contributor
    Join Date
    Apr 2007

    Re: Problem with Canvas & Alert


    The reason is that you are using the system alert.

    Using the Canvas you can create your own custome Alert that will work in full screen mode.


  3. #3
    Registered User
    Join Date
    Jul 2008

    Re: Problem with Canvas & Alert

    Hi, I think this problem can be solved with a custom label built in canvas rather than using built in alert.

    this can be done in a way to draw a box witha different background color some where on the screen where ever you want position of the alert. write your message there, repaint it after some sspecified time or on an event to draw screen without that box... In this way a functionality can be made to feel like custom alert...

    Hope it will work for you,

    Kashif Nawaz

Similar Threads

  1. J2ME: Problem in Nokia Solution for a software problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2011-06-08, 05:52
  2. Problem Regarding canvas
    By sajisoft in forum Symbian
    Replies: 2
    Last Post: 2008-07-29, 17:06
  3. Problem for viewing Image and "\n" on Alert
    By erracid8 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-01-31, 00:47
  4. Problem on canvas to get the characters like (A,a,B,b)
    By Gnanasekarcm in forum Mobile Java General
    Replies: 0
    Last Post: 2005-10-05, 14:33
  5. "Application Exiting" problem after setCurrent (alert )
    By gameskitchen in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-06-13, 09:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts