×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    56

    [Moved]how to recognize Java application from Symbian application

    Hi,
    in my application, I need a list of all curently running applications. I find them using
    Code:
    wsSession.WindowGroupList
    then I make a list with icons and display it.

    My problem is, that when I try to finde icon for a Java application my device says "unable to execute file for security reasons". I've found out, that it could do something with capabilities, but I haven't found any capability that would work. So I've decided not to show the icon at all.

    So what I need is to decide whether the task (application) is a Symbian app or a Java app and then try to look for the icon or not. Is there any way how to recognize that?

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

    Re: how to recognize Java application from Symbian application

    See TSS000465 - Launching MIDlets programmatically on S60 3rd Edition

    Carbide.c++ has a Capability Scanner plug-in and emulator's log (%temp%\epocwind.out) will tell you which capabilities were needed at run time.
    -- 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
    Registered User
    Join Date
    Oct 2009
    Posts
    56

    Re: [Moved]how to recognize Java application from Symbian application

    Thank you for a satisfying answer. I'll not look for the Java icon at the moment and later on, I'll try to find a way how to get AllFilles capability certificate. Is it even possible for me as an amateur developer?

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: [Moved]how to recognize Java application from Symbian application

    Quote Originally Posted by hansorkrutor View Post
    Is it even possible for me as an amateur developer?
    It is the intended usage which matters. Check the guides on http://www.symbiansigned.com

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

    Re: [Moved]how to recognize Java application from Symbian application

    How exactly are you retrieving that icon? There must be a way to get it without AllFiles, or at least so I hope.
    -- 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

  6. #6
    Registered User
    Join Date
    Oct 2009
    Posts
    56

    Re: [Moved]how to recognize Java application from Symbian application

    I do it like this:
    Code:
    AknsUtils::CreateAppIconLC(skin,closedAppUid,  EAknsAppIconTypeContext,AppIcon,AppIconMsk);
    AknIconUtils::SetSize( AppIcon, TSize( 68, 73 ), EAspectRatioPreserved );
    AknIconUtils::SetSize( AppIconMsk, TSize( 68, 73 ), EAspectRatioPreserved );
    CleanupStack::Pop(2);
    iFourthImg->SetSize(size);
    iFourthImg->SetPicture(AppIcon,AppIconMsk);
    It works perfectly fine with Symbian application icons, but it has capability problem with icons belonging to Java apps. The capability needed is regarding to emulator log the AllFiles one.

Similar Threads

  1. Replies: 4
    Last Post: 2009-06-17, 08:23
  2. Symbian UI Application Development Options
    By sandeepkumar03 in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-02-05, 18:05
  3. Sing Java application for Symbian OS
    By aisaxi in forum Mobile Java Networking & Messaging & Security
    Replies: 16
    Last Post: 2007-09-24, 18:23
  4. Current Symbian Development Opportunities...!!
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2005-01-17, 17:58
  5. Replies: 2
    Last Post: 2004-05-08, 09:09

Posting Permissions

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