Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Registered User sowrav's Avatar
    Join Date
    Apr 2006
    Posts
    5
    Hi,

    i am trying to test the ECom example given in the sdk in .net IDE with carbide 2.0.1. Though i could build the console application successfully while running its giving -1(Not found) error. Does ecom works with carbide? where should rsc and implementation dll be placed for emulator. can anyone help me please


    sowrav
    Last edited by sowrav; 2006-04-18 at 08:44.

  2. #2
    Super Contributor mitts's Avatar
    Join Date
    Sep 2004
    Posts
    1,048
    Check this, I seem to remember there is a problem in the example: http://discussion.forum.nokia.com/fo...328#post195328

  3. #3
    Registered User sowrav's Avatar
    Join Date
    Apr 2006
    Posts
    5
    Thanks mitt for your reply.its working fine.

  4. #4
    Registered User sowrav's Avatar
    Join Date
    Apr 2006
    Posts
    5
    what are all the capabilities does ECOM requires. Help me if anyone knows answer.

    Sowrav.

  5. #5
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    I don't think it needs any special capabilities, at least didn't see any problems on running mine in emulator. Only requirement that I found out was that it seems to require trusted UID.

    yucca

  6. #6
    Registered User mike.b's Avatar
    Join Date
    Jul 2003
    Posts
    190
    What do you mean by "trusted UID"? Do you mean protected UID range?

    Looking at SIP example in SDK and its ECom plugin's registration file A00001EC.rss, it uses implementation_uid = 0xA00001EC, which is from unprotected range.

  7. #7
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,664
    yep that's what I was supposed to say. Anyway, though it is said that MMF plugins are not supported, I tried making one and got it working in emulator pretty well.

    Anyway, it seemed to require ProtServ before it was recognized in the phone.

    yucca

  8. #8
    Registered User mike.b's Avatar
    Join Date
    Jul 2003
    Posts
    190
    I tested ECom plugin - no protected UID required. I use UID from Axxxxxxx range, and it works.

    And yes, you need ProtServ capability, which is probably needed by all ECom plugins.

  9. #9
    Regular Contributor pkosonen's Avatar
    Join Date
    Jul 2005
    Posts
    185
    Hi, worked with capability NONE for me.

  10. #10
    Regular Contributor pkosonen's Avatar
    Join Date
    Jul 2005
    Posts
    185
    But doesn't work with UID from unprotected range!

  11. #11
    Registered User mike.b's Avatar
    Join Date
    Jul 2003
    Posts
    190
    Works for me with UID Axxxxxxx, tested also on real device.

  12. #12
    Regular Contributor pkosonen's Avatar
    Join Date
    Jul 2005
    Posts
    185
    Got a newer image to my phone and unprotected UID worked for me also with RND certificate.
    The crazy part is that if I use self signing or developer certificate I get an error "Cannot grant capabilities" (I have CAPABILITY NONE) but if I use RND certificate everything works fine.

    What certificate and capabilities have you used?

    "It's a wonderful, wonderful world..."

  13. #13
    Registered User mike.b's Avatar
    Join Date
    Jul 2003
    Posts
    190
    Self-created certificate, and 0 caps in exe.

  14. #14
    Regular Contributor pkosonen's Avatar
    Join Date
    Jul 2005
    Posts
    185
    How is that possible? You've said that ProtServ is required for the ECom, but with self signing You can get only the following capabilities:

    "The following user capabilities can be granted with user's confirmation when the signature is not valid:
    LocalServices NetworkServices ReadUserData WriteUserData UserEnvironment
    This applies also in the case of self-signed certificates."

    Of course the application can be self signed but the ECom can't be.

    Or am I missing something here?

  15. #15
    Registered User mike.b's Avatar
    Join Date
    Jul 2003
    Posts
    190
    As I know, you sign SIS file, not executable or dll.

    Ecom plugin is actually DLL + registration file. The ECom DLL is not run directly, but this is loaded by ECom framework, and the DLL is then assigned capabilities of process that loaded it.
    Normally DLL must have equal or greater capabilities than executable that loads it. ECom dll's are exception to this rule.

    I'm not sure if ProtServ capability is needed for ECom dll, but I've seen that in recognizer example and some other examples, so I used it. I suppose it should work with zero capabilities too.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 2010-11-12, 11:53
  2. Error using my dll on Emulator (Series60 3rd Edition)
    By texluke in forum Mobile Web Site Development
    Replies: 5
    Last Post: 2007-01-31, 22:14
  3. ECOM development in 3rd edition (carbide)
    By thomasraku in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 14
    Last Post: 2006-04-24, 10:32
  4. Access to the calllog on Series60 3rd Edition
    By phi_ste in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-16, 15:59
  5. RSmsSocketReadStream vs. Series60 3rd Edition
    By fitzgejn in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-02-22, 14:44

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