×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Installed application does not run with Carbide C++ created SIS

    Hi,

    It is strange, that my Flash Lite 3.0/AS 2.0 application gets installed on the phone, yet refuses to start. The installation paths are as follows: Perl gets installed as C:\Perl, the Symbian SDK as C:\Symbian\9.2, Carbide C++ in C:\Program Files\Nokia\Carbide.c++ v2.3. Workspace is defaulted to C:\Symbian\Carbide\workspace. I have placed the plugin 'com.nokia.flash.stub.template_1.0.0.011I' in C:\Program Files\Nokia\Carbide.c++ v2.3\plugins.

    I have used the Symbian allotted application UID with the DevCert. Same problem with the SIS with a random UID and signed through the Carbide C++.

    Please help.

    Regards,
    Supriya Tenany

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Installed application does not run with Carbide C++ created SIS

    Hi Supriya,

    if you are able to build the app then your configuration is OK. Still, there can be errors in the application which would prevent it from running. One know limitation with the old Flash packager was that it could not load apps from other drives than C:\ If your project has similar implementation the problem may indeed be the same ...
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Installed application does not run with Carbide C++ created SIS

    Hi Lucian,

    Strange but worked . Indeed using the swf from the C:\ helped. Thanks.

    Regards,
    Supriya Tenany

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Installed application does not run with Carbide C++ created SIS

    That is good and bad at the same time. The code should be corrected to allow the flash file to be loaded from wherever the application has been installed.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Installed application does not run with Carbide C++ created SIS

    hi,
    well i observed one more thing... with the following 4 combinations of the path of the swf and the installation path of the application, I could conclude that the application installed in the memory card did not run, while there is no problem at all with the location of the swf.

    1. swf in C:\ ---> app installed in phone: Application run successfully
    2. swf in C:\ ---> app installed in memory card: Application did not run
    3. swf in drive other than C:\ ---> app installed in phone: Application run successfully
    4. swf in drive other than C:\ ---> app installed in memory card: Application did not run

    Also, where can I place a local flv (or any other source data) in the project so that the application gets to play/stream from within?

    Any suggestions?

    Regards,
    Supriya Tenany
    Last edited by supriyaakg; 2010-04-20 at 11:00.

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Installed application does not run with Carbide C++ created SIS

    Quote Originally Posted by supriyaakg View Post
    hi,
    well i observed one more thing... with the following 4 combinations of the path of the swf and the installation path of the application, I could conclude that the application installed in the memory card did not run, while there is no problem at all with the location of the swf.

    1. swf in C:\ ---> app installed in phone: Application run successfully
    2. swf in C:\ ---> app installed in memory card: Application did not run
    3. swf in drive other than C:\ ---> app installed in phone: Application run successfully
    4. swf in drive other than C:\ ---> app installed in memory card: Application did not run
    The code should be reviewed in order to see if this is a coding mistake or a bug in the Flash engine. Where did you take that flash project template plug-in from?

    Quote Originally Posted by supriyaakg View Post
    Also, where can I place a local flv (or any other source data) in the project so that the application gets to play/stream from within?

    Any suggestions?

    Regards,
    Supriya Tenany
    This sounds indeed like a Flash specific thing and you should look for answers on the Flash forum. I think I remember something about \data\others but quite frankly I don't remember what I remember
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Installed application does not run with Carbide C++ created SIS

    Hi,

    There was no such installation problem with any of the packagers that I have used till date (Kuneri, Helisso, Adobe). As i am a newbie in usage of Carbide c++, you need to tell me in simple terms what you mean by "Where did you take that flash project template plug-in from?"

    Also the application sound is very low with the Carbide C++. Any clue?

    Regards,
    Supriya Tenany

  8. #8
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Installed application does not run with Carbide C++ created SIS

    Quote Originally Posted by supriyaakg View Post
    I have placed the plugin 'com.nokia.flash.stub.template_1.0.0.011I' in C:\Program Files\Nokia\Carbide.c++ v2.3\plugins.
    I'm asking about this plug-in, where have you taken it from? I want to place it in my C:\Program Files\Nokia\Carbide.c++ v2.3\plugins as well.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  9. #9
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Installed application does not run with Carbide C++ created SIS

    Hi,

    Read 'Step 1. Add the Wizard template for Flash Stub' in the link Create Flash Applications with Carbide.c++

    Regards,
    Supriya Tenany

  10. #10
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Installed application does not run with Carbide C++ created SIS

    To let the application play even from the memory card, the following changes are required in the Carbide C++ code:

    ***********************************************************************
    _LIT(KStubFlashContent, "C:\\Private\\EC53D733\\MyApp.swf");

    TUid CstubApplication::AppDllUid() const
    {
    return KUidFlashStubApp;
    }

    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 = 20000;
    if (!FlashStubsSupported())
    {
    User::Leave( KErrNotSupported);
    }
    return CreateFlashDocumentL(iFlashLibrary, this, config);



    ***********************************************************************
    Last edited by supriyaakg; 2010-08-10 at 10:40.

Similar Threads

  1. Replies: 3
    Last Post: 2009-10-13, 09:24
  2. Replies: 10
    Last Post: 2009-09-12, 15:14
  3. Want to run a j2me application from symbian
    By joy.mca in forum Symbian C++
    Replies: 15
    Last Post: 2009-09-12, 12:32
  4. How do you run an application on the emulator on the PC so a phone can see it
    By johncogan in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-02-21, 14:39
  5. Replies: 3
    Last Post: 2005-03-24, 10:56

Posting Permissions

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