×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Indonesia
    Posts
    198

    Detecting ApsServer2.sisx

    Hi All,

    How can I detect if ApsServer2.sisx is already installed or not?
    I've tried checking it using RApaLsSession::GetAppInfo and RApaLsSession::GetAllApps, but it didn't work. RApaLsSession::GetAppInfo returned KErrNotFound.
    I can see the ApsServer2 in the application manager, but why the RApaLsSession failed?

    thanks,
    Ronald Stevanus

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Detecting ApsServer2.sisx

    Because RApaLsSession works for applications, whilst the APS is not (is a server, as its name implies). Why not just include it in the pkg and let the installer do the check?

  3. #3
    Registered User
    Join Date
    May 2005
    Location
    Indonesia
    Posts
    198

    Re: Detecting ApsServer2.sisx

    Hi PushL,

    I'm not just include it in my pkg because there are 2 version of ApsServer2.sisx, one is for the 3rd edition and the other is for 3rd Ed. FP 1.
    Then how can I be able to detect a server? because it can be detected by the application manager.

    thanks,
    Ronald Stevanus

  4. #4
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Detecting ApsServer2.sisx

    In your pkg you can do something like this:

    Code:
    IF EXISTS("z:\system\install\Series60v3.1.sis")
    @"ApsServer2FP1.sisx",(0x200081cd)
    ELSE
    @"ApsServer2.sisx",(0x200081cd)
    ENDIF
    Also, when trying to connect to the APS, you will get an error if the server is not present (KErrNotFound, etc)

  5. #5
    Registered User
    Join Date
    May 2005
    Location
    Indonesia
    Posts
    198

    Re: Detecting ApsServer2.sisx

    Hi PushL,
    thanks for replying.

    I've decided to check the error code returned when connecting to the APS Server.

    I've tried selective embedded sis, but it didn't work. The sis installed is always the first one declared in the pkg. Is it possible to use embedded sis?

    thanks,
    Ronald Stevanus

  6. #6
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Detecting ApsServer2.sisx

    I presume you're trying this on different phones (v3 and v3 fp1) right? It should work.

  7. #7
    Registered User
    Join Date
    May 2005
    Location
    Indonesia
    Posts
    198

    Re: Detecting ApsServer2.sisx

    Yes, I have try it in many phones v3(N93, 3250) and v3 FP1(E90, N76, E61i).
    But I will test it once again to confirm.

    I want to ask you again, how can I get the version of the installed APSServer if I use the error code checking? The RAPSSession has Version() method, but the RAPSSession should be connected in order to call Version() method. But I don't want to put MultimediaDD in my program. I want my program just check the availability of APSServer not used it.

    many thanks,
    Ronald Stevanus

  8. #8
    Registered User
    Join Date
    Oct 2003
    Posts
    23

    Re: Detecting ApsServer2.sisx

    But this embedded sis doesn't backed during user backup, so you can't symbian sing your application.

Similar Threads

  1. Detecting HSDPA availability and/or usage?
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2009-01-13, 11:34
  2. Memory leak detecting tool
    By eyalmnm in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2007-01-16, 13:45
  3. Detecting Incoming call Activity.
    By Utk in forum Symbian
    Replies: 1
    Last Post: 2004-04-16, 14:03
  4. Detecting joystick movements, Basic questions
    By chrisnsx in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-24, 02:55

Posting Permissions

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