Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User hansorkrutor's Avatar
    Join Date
    Oct 2009
    Posts
    56
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    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.

  3. #3
    Registered User hansorkrutor's Avatar
    Join Date
    Oct 2009
    Posts
    56
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    How exactly are you retrieving that icon? There must be a way to get it without AllFiles, or at least so I hope.

  6. #6
    Registered User hansorkrutor's Avatar
    Join Date
    Oct 2009
    Posts
    56
    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 C++
    Replies: 0
    Last Post: 2005-01-17, 17:58
  5. Global Symbian Development Opportunities *High Importance*
    By sara.lindsay in forum Symbian C++
    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
  •  
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