×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Exclamation Asynchronous Service Provider

    Hi All Experts!

    We are scanning the directory via active object and wanna display status of it on screen.

    At the same time, application should respond to other UI events.

    We should be able to cancel or pause the scanning process.

    The asynchronous service provider can be a solution.

    In SDK, its given how to use asynchronous service provider with active object.

    But its not clear, how to create an asynchronous service provider.

    I created low priority active object.

    I need some clue to cancel or pause the ongoing operation in active object.

    What may be the best possible approach for this..?

    Experts plz guide.

    Thanks.
    Regards,
    Shilpa Kulkarni

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: Asynchronous Service Provider

    Hi,

    i think for scanning the directory u r using sepearate class with CActive.
    u can handle cancelling and resuming theprocess by Cancel() and and setting iStatus and making SetActive() respt...

    bye
    N

  3. #3
    Regular Contributor
    Join Date
    Apr 2006
    Location
    India
    Posts
    383

    Re: Asynchronous Service Provider

    Hi giridharn!

    Thanks for the reply.
    Instead of creating n using service provider, i did it using low priority AO.
    Its not blocking the screen n works fast.
    Regards,
    Shilpa Kulkarni

Similar Threads

  1. Creating asynchronous service provider - Help
    By epilef74 in forum Symbian C++
    Replies: 2
    Last Post: 2006-03-16, 17:14
  2. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  3. Replies: 3
    Last Post: 2004-05-28, 14:44
  4. How to create Asynchronous function (Service Provider)
    By awasthi_vivek in forum Symbian C++
    Replies: 0
    Last Post: 2004-04-07, 08:32
  5. Nokia M2M Gateway Service Provider Edition
    By m2mvuw in forum Nokia M2M
    Replies: 2
    Last Post: 2004-03-01, 10:45

Posting Permissions

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