Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User Aacharyan's Avatar
    Join Date
    Oct 2006
    Posts
    1
    I'm a newb on symbian, for porting from N73 to N71,
    I'm facing some problem. When I'm try to run it on N71,
    nothing is drawing on the screen.

    When, after given an interrupt like charger plug-in or
    flip close and open, the current screen of the application
    is shown on the screen, ie application is working in background.
    Sound is also playing.

    it might be also be a direct screen access issue...

    My startdrawing function is like

    void CGame::StartDrawing(bool in_bResetKeyStates)
    {
    if(!m_bRunning && m_nError == KErrNone && m_IsForeground)
    {
    TRAPD(dsaError, m_pDirectScreenAccess->StartL());
    if(dsaError != KErrNone)
    {
    // starting DSA failed, stop drawing
    m_pDirectScreenAccess->Cancel();
    return;
    }
    m_bRunning = true;
    m_pGc = m_pDirectScreenAccess->Gc();
    m_pRegion = m_pDirectScreenAccess->DrawingRegion();
    m_pGc->SetClippingRegion(m_pRegion);
    m_pDirectScreenAccess->ScreenDevice()->SetAutoUpdate(FALSE);

    TTime time;

    time.HomeTime();

    if (in_bResetKeyStates)
    {
    m_Gapi.m_Keypad.Keypad_ResetStates();
    m_Gapi.m_Keypad.Keypad_ResetQueue();
    }
    SetActive();
    TRequestStatus *statusPtr = &iStatus;
    User::RequestComplete(statusPtr, KErrNone);
    }
    Last edited by Aacharyan; 2006-10-17 at 11:46.

Similar Threads

  1. XHTML table on N73 WAP browser
    By mrttjw in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2007-02-02, 11:15
  2. Sound on n71
    By mcwo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-09-05, 18:23
  3. Streamming on Nokia N71 and N71?
    By respenica in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-07-18, 12:02
  4. Streaming on Nokia N70 and N71?
    By respenica in forum Mobile Java General
    Replies: 1
    Last Post: 2006-07-10, 15:11
  5. FOC product for porting of S60 app.UI to UIQ
    By chomed in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-01-28, 22:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved