×

Discussion Board

Results 1 to 7 of 7

Thread: GIF Issue

  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    64

    Smile GIF Issue

    Hi,

    i had created one class which inherits CActive, and it load the frames from gif file on regular duration , and it displays it. so gif file is preperly displaying.

    i had created container class which draws an CEIkEdwin control on the screen.

    now i want to show that gif in my CEikEdwin control, as a Smily object.?? i m not getting how to achieve this ???

    can anyone have any idea or example for this then please send me.

    thanx in advance.

    regards,
    Naresh

  2. #2
    Regular Contributor
    Join Date
    Dec 2005
    Location
    Bangalore, India
    Posts
    90

    Re: GIF Issue

    you can set wallpaper or background color for your CEikEdwin control. But you cannot have embedded image in it. You need to have customized edit control handling all your key events, word wrapping aswell as embedded image(if any)
    Best Regards
    -Boumitran

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    64

    Re: GIF Issue

    hi,
    i got the success in displaying .BMP file in ceikedwin control, but i m not getting how to show the gif file in ceikedwin.

    thanx in advance.

    regards,
    Naresh

  4. #4
    Registered User
    Join Date
    Nov 2006
    Location
    Bangalore
    Posts
    17

    Re: GIF Issue

    Hi naresh99,

    If you are using s60 3rd Ed ..then probably i can help you in this issue. Contact me if you want help :-)


    Cheers
    Peru

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    64

    Re: GIF Issue

    Quote Originally Posted by comp_freak
    Hi naresh99,
    If you are using s60 3rd Ed ..then probably i can help you in this issue. Contact me if you want help :-)
    Cheers
    Peru
    Hi comp_freak,

    I need to develop for both 2nd and 3rd edition, it will be great help from your side, for this project.

    Please help me.. this is my email id hi_hellonaresh@yahoo.co.in, or u can also help in this forum..

    please reply earlier.

    regards,
    Naresh
    Last edited by naresh99; 2006-12-06 at 09:55.

  6. #6
    Registered User
    Join Date
    Nov 2006
    Location
    Bangalore
    Posts
    17

    Thumbs up Re: GIF Issue

    Hi Naresh,

    Here is the code for showing gif animation in s60 3rd Ed

    //put this code in the constructor function
    iGifFileDataprovider= new (ELeave) CICLAnimationDataProvider;
    iGifFileDataprovider->SetFileL(iFsSession,_L("C:\\rotating.gif"));

    igifanimationconfig.iFlags = TAnimationConfig::ELoop;
    igifanimationconfig.iData = 10000;
    TPoint gifpoint = Position();
    iGifAnimatior = CBasicAnimation::NewL(iGifFileDataprovider,gifpoint,CEikonEnv::Static()->WsSession(),Window());
    iGifAnimatior->Start(igifanimationconfig);


    //put this code in the draw function
    iGifAnimatior->Draw(gc);

    Cheers
    Peru

  7. #7
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    64

    Re: GIF Issue

    Quote Originally Posted by comp_freak
    Hi Naresh,

    Here is the code for showing gif animation in s60 3rd Ed

    //put this code in the constructor function
    iGifFileDataprovider= new (ELeave) CICLAnimationDataProvider;
    iGifFileDataprovider->SetFileL(iFsSession,_L("C:\\rotating.gif"));

    igifanimationconfig.iFlags = TAnimationConfig::ELoop;
    igifanimationconfig.iData = 10000;
    TPoint gifpoint = Position();
    iGifAnimatior = CBasicAnimation::NewL(iGifFileDataprovider,gifpoint,CEikonEnv::Static()->WsSession(),Window());
    iGifAnimatior->Start(igifanimationconfig);


    //put this code in the draw function
    iGifAnimatior->Draw(gc);

    Cheers
    Peru
    Hi comp_freak,

    First of all thank u for giving the code...

    i had tried ur code, It's working fine. thanx

    if u have any idea that how to show this gif file in CEikEdwin control then please tell me. and please give me your mail id.

    thanks & regards,
    Naresh
    Last edited by naresh99; 2006-11-15 at 10:43.

Similar Threads

  1. Encoding GIF
    By razas in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2005-09-20, 11:37
  2. Looping Animated GIF in MMS
    By culyerr in forum General Messaging
    Replies: 0
    Last Post: 2005-02-02, 10:21
  3. gif animations+smil file
    By Haaki in forum General Messaging
    Replies: 1
    Last Post: 2003-10-24, 13:50
  4. Animated GIF for MMS Specifications
    By handtap in forum General Messaging
    Replies: 2
    Last Post: 2003-08-22, 09:46
  5. embed color gif file in wml page cannot load
    By hsinyee in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2003-05-30, 03:35

Posting Permissions

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