×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    TCB and AllFiles on Symbian

    Hi,
    Is it possible to compile .exe files with TCB and AllFiles with QtSDK?
    Does the app needs a special UID range or something else?
    It seems like there are some restrictions but I found no information about it.

    I want to change the icon of my app, so I tried to replace the .mif with deleting and copy a new one.

    Because I read Symbian OS internal I know TCB and AllFiles are needed for this, but a usual devcert isn't enough for it.

    It did compile as unsigned .sis but won't install
    Next try: with disabled plattform secutiry the .exe won't launch, but a version with no caps works fine.
    Not usefull for endusers, so bad idea.

    My UID is currently from 0xE range, could that be the issue?

    Lantersoft Icon changer can modify icons on the fly, but it's a closed source app and I thought this could be an workaround.

    Regards
    huellif
    Last edited by huellif; 2013-08-27 at 20:26.

  2. #2
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    Qt libaries don't have this high caps?
    So I have to try native file manipulations for this?

    And where can I get a developer cert for my IEMI with this caps?

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    You would need to have a certificate which includes the capabilities. Also all libraries you use MUST have the capabilities you use in your app, so you can only link to libraries having the TCB, and rather often they might be missing it. so you should also put the TCB stuff into a separate non-UI exe.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    Quote Originally Posted by huellif View Post
    And where can I get a developer cert for my IEMI with this caps?
    Generally you don't, unless you have valid use case as well as business case for it, and there is no other ways on doing the task. Anyway, you can always send email to the the Symbian signed email account and ask.

  5. #5
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    hm this way won't be successfull.

    Is there an public API for changing icons on the fly?
    Because that's the target of my project

    Lanternsoft Icon changer can do it and Nokia FileBrowser can clear the icon cache without a reboot.
    Also there's a tool for changing folder icons.


    I am new to Symbian C++ and can already use it, but don't know all this old APIs.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    As far as I can remember , there is no public API, the Icon comes either from the resource file defined by the app, or it could be overwritten by the theme. And both of these are pretty much something which can not be modified.

    The Cache cleanup has been discussed earlier, I suppose there was an API for it, though its been some years since I checked that, thus would not remember any direct API anymore.

    Lanternsoft might have found something usefull on the open-sources parts, and successfully used those, unfortunately Nokia does not provide the Symbian Open sources anymore.

  7. #7
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    thanks for your answer

    could you please link me to the discussion about cache API?
    I can't find it.

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    its been looong time since I saw that thus would be rather timeconsuming for me to search it also. if you can not fidn it, then I would suppose I would nto be any better on normal searching.

  9. #9
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    Quote Originally Posted by symbianyucca View Post
    its been looong time since I saw that thus would be rather timeconsuming for me to search it also. if you can not fidn it, then I would suppose I would nto be any better on normal searching.
    I searched a lot but found nothing

  10. #10
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    2 minutes earch got at least something to start your search witjh. Check the last post at: http://developer.nokia.com/Community...hing-the-image

  11. #11
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    Quote Originally Posted by symbianyucca View Post
    2 minutes earch got at least something to start your search witjh. Check the last post at: http://developer.nokia.com/Community...hing-the-image
    thanks will try to

    and siging won't help, Qt apps don't support TCB, because Qt .dll files have no TCB.
    Symbian can't load .dll files with lower caps, this causes an error and the app won't launch.

  12. #12
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: TCB and AllFiles on Symbian

    Quote Originally Posted by huellif View Post
    and siging won't help, Qt apps don't support TCB, because Qt .dll files have no TCB.
    Symbian can't load .dll files with lower caps, this causes an error and the app won't launch.
    I did mention that already in #3

  13. #13
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: TCB and AllFiles on Symbian

    hm is there an easy tutorial how to write a native libary with caps for a Qt app?

    I only know MiniCMD as Symbian C++ client server example

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

    Re: TCB and AllFiles on Symbian

    All Symbian C++ SDK-s contain client-server examples, a basic one is located in Examples\Base\IPC\ClientServer\Simple or something similar, depending on the SDK.

Similar Threads

  1. AllFiles and TCB
    By maria_clara0214 in forum Symbian
    Replies: 2
    Last Post: 2009-06-01, 16:10
  2. How to get attachment without AllFiles
    By jascco in forum Symbian
    Replies: 6
    Last Post: 2008-06-09, 16:11
  3. Replies: 3
    Last Post: 2007-10-29, 11:22
  4. we want devcert's with allfiles and TCB!
    By Santehnik in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 90
    Last Post: 2007-02-16, 18: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
  •