×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    9

    Unhappy Task icon for packaged Flash lite application

    Hi,

    I created a flash lite game & packaged it with Forum Nokia online packager into sis,sisx. Installed it to a real device, everything works fine, but application icon in Task list (open applications list) is default flash icon. It displays correctly in Menu. Any solution to display the icon we created in the task list as well?

    Thanks.

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    11

    Re: Task icon for packaged Flash lite application

    Hi,

    the issue you have with the app icon is common for applications created in a manner on-line packager packs your flash file. (it is just a launcher for flash - so the icon shown in a task bar for your app is flash)

    There is another way to package a flash app - in a flash stub but it has some drawbacks (you can't control volume etc.) the whole procedure for doing so is explained here:
    http://wiki.forum.nokia.com/index.ph...arbide.c%2B%2B

    There is one more step to take when you package you app like this - find the drive where your app is installed, and launch the flash file with drive prefix ie. e:\.....

    When the Carbide.c++ Flash Stub app wizard generates code, it specifies the Flash SWF file to run in the CPP file as something like
    _LIT(KStubFlashContent, "\\Private\\EF4F5C73\\FlashStub.swf");

    In the CPP file generated by Carbide.c++ Flash Stub app Wizard:

    Add:
    #include <e32std.h> // RProcess::FileName()

    Change KStubFlashContent to include a drive letter and colon:
    // _LIT(KStubFlashContent, "\\Private\\EF4F5C73\\FlashStub.swf");
    _LIT(KStubFlashContent, "C:\\Private\\EF4F5C73\\FlashStub.swf");

    Change CstubApplication::CreateDocumentL() so that it sets the SWF file name at runtime:

    CApaDocument* CstubApplication::CreateDocumentL()
    {
    RProcess currentProcess;
    TFileName fileName( KStubFlashContent );

    // Get letter of drive to which app was installed. It might be E or F instead of C
    fileName[0] = currentProcess.FileName()[0];
    currentProcess.Close(); // Close handle (not the app).

    config.iIsMMI = EFalse;
    config.iIsStubApp = ETrue;
    // config.iContentFileName.Copy( KStubFlashContent );
    config.iContentFileName.Copy( fileName );
    config.iContentChecksum = 0;
    config.iExtensions = NULL;
    config.iReserved1 = NULL;
    config.iReserved2 = 0;
    if (!FlashStubsSupported())
    {
    User::Leave( KErrNotSupported);
    }
    return CreateFlashDocumentL( iFlashLibrary, this, config );
    }

    we had similar issues and fixed them with great help form Ovi Support

    Hope this helps you.

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    9

    Re: Task icon for packaged Flash lite application

    Thanks a lot.... m going to try it.

Similar Threads

  1. Max file size for Flash Lite application for OVI stores
    By elminator in forum [Archived] Flash Lite on Nokia Devices
    Replies: 2
    Last Post: 2010-10-08, 18:54
  2. Flash Lite, SIS packaged - How to set it as a screensaver?
    By powerpixels in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2010-08-30, 17:25
  3. My very first Flash Lite Application for S60! :)
    By grogosaur in forum [Closed] Publishing to Nokia Store
    Replies: 5
    Last Post: 2009-05-23, 23:55
  4. Article: How to protect Flash Lite content with OMA DRM 1.0 when content is packaged
    By biskero in forum [Archived] Flash Lite on Nokia Devices
    Replies: 0
    Last Post: 2009-05-04, 14:48
  5. Application closed, but Icon remains in task list without title of icon.
    By bnvaikos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2007-10-29, 12:29

Posting Permissions

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