×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    81

    can not call the system API by CSendUI in the real devices

    my application is work in the emulator when send file by CSendUI. But there is a problem when run in the real devices. it is can not call the system send API after select file of send.

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: can not call the system API by CSendUI in the real devices

    Do you have any errors/panics? May be you trying to send a "protected" file type.

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    81

    Re: can not call the system API by CSendUI in the real devices

    no, there is nothing error and panic to display. i think is not the file problem, i change the other files and not solution it.

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: can not call the system API by CSendUI in the real devices

    can you show your code. which Version of SDK and device you are using ?

  5. #5
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: can not call the system API by CSendUI in the real devices

    Hi,

    Most probably the reason could be missing the required capabilities..
    Required capabilities:
    LocalServices, NetworkServices, ReadDeviceData, WriteDeviceData, ReadUserData, WriteUserData


    Or a panic inside ur code...
    if you can give how you have used the CSendUi anyone in forum can reply you back with the appropriate answer...

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  6. #6
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: can not call the system API by CSendUI in the real devices

    i too agree: it is more or less a capability problem

    but still to be sure have u enabled panic on device:

    http://wiki.forum.nokia.com/index.ph...ded_panic_code


    Also on emulator you can enable capability checks through preferences and see in the emulator output, if u are getting any failure at the line when CSendUi is used... it will something like this:
    Required capability "ReadUserData" missing or similar....
    Amit Kankani
    Nokia Developer Champion

  7. #7
    Registered User
    Join Date
    Dec 2008
    Posts
    81

    Smile Re: can not call the system API by CSendUI in the real devices

    ok, thank you very much, the problem was solved. lose some capability.
    thank you guys.~~~

  8. #8
    Registered User
    Join Date
    Feb 2010
    Posts
    17

    Question Re: can not call the system API by CSendUI in the real devices

    HELLO
    i have to create a application where i have to send message to the other device and i have to run it on a emulator , i am trying to use the sendui API's ,and i have studied the process from nokia forum also .
    kindly help me by sending the link which could explain me in detail ,so that i may able to build my application and run it on a emulator.......


    Thanks & Regards
    pushpankar

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: can not call the system API by CSendUI in the real devices

    Check this: Send UI API: Using the SendUi API

    You can also try RSendAsMessage API which is easy to use: http://wiki.forum.nokia.com/index.ph...S_with_RSendAs
    Nokia Developer Wiki Moderation team

  10. #10
    Registered User
    Join Date
    Feb 2010
    Posts
    17

    Re: can not call the system API by CSendUI in the real devices

    Quote Originally Posted by denniswang View Post
    my application is work in the emulator when send file by CSendUI. But there is a problem when run in the real devices. it is can not call the system send API after select file of send.
    hi denniswang how r u
    can you please send me you application ,because my application is not even running well on the emulator ,so that i can see your application and made it run on the emulator also ,if u can do this favour to me i will be highly thankful to u
    my mail id is : mishra.pushpankar@gmail.com
    eagerly waiting for you mail

    thanks & regards
    pushpankar

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: can not call the system API by CSendUI in the real devices

    Quote Originally Posted by PUSHPANKAR View Post
    hi denniswang how r u
    can you please send me you application ,because my application is not even running well on the emulator ,so that i can see your application and made it run on the emulator also ,if u can do this favour to me i will be highly thankful to u

    eagerly waiting for you mail

    thanks & regards
    pushpankar


    I wish denniswang is doing well. But don't you like the following idea? Don't you want to give it a try? It will be worthwhile, believe me.

    Quote Originally Posted by kiran10182 View Post
    Check this: Send UI API: Using the SendUi API

    You can also try RSendAsMessage API which is easy to use: http://wiki.forum.nokia.com/index.ph...S_with_RSendAs
    Nokia Developer Wiki Moderation team

  12. #12
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: can not call the system API by CSendUI in the real devices

    between, it will be easy to copy the code and not learn much, but better to get references and code it, and learn better
    Amit Kankani
    Nokia Developer Champion

  13. #13
    Registered User
    Join Date
    Feb 2010
    Posts
    17

    Re: can not call the system API by CSendUI in the real devices

    Quote Originally Posted by kiran10182 View Post
    I wish denniswang is doing well. But don't you like the following idea? Don't you want to give it a try? It will be worthwhile, believe me.
    thanks for your suggestion
    i am working on RsendAs ,i am having problem regarding library ,the sendas2.lib library is needed ,i need to know where to add this whether to add in a mmp file ,kindly tell me the way to link this library ,i have tried many ways but the problem is still persisting
    regarding library

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

    Re: can not call the system API by CSendUI in the real devices

    libraries needed by Symbian projects are included only in mmp file, so add it there.

  15. #15
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: can not call the system API by CSendUI in the real devices

    Hi,
    it will be a good idea to read the basics of Symbian and application development on symbian
    it will help you understand things faster...

    Two books i can suggest would be:

    1.
    Symbian OS Explained: Effective C++ Programming for Smartphones
    Jo Stichbury

    2.
    Developing Series 60 Applications: A Guide for Symbian OS C++ Developers
    By Leigh Edwards, Richard Barker
    Publisher: Addison Wesley
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. Nokia S40 series intercepting call API
    By dparihar in forum General Development Questions
    Replies: 3
    Last Post: 2008-11-03, 22:33
  2. api for reocrd phone call
    By deepakk in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2008-10-24, 15:00
  3. Replies: 0
    Last Post: 2008-08-20, 11:58
  4. Replies: 4
    Last Post: 2008-07-21, 09:41
  5. Direct UMTS data call between UMTS devices
    By alexfr2 in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2007-12-23, 16:42

Posting Permissions

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