×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    72

    EXE (Server) / APP (Gui) design and IPC question

    I have an app requirement that needs to use the C++ api (Outgoing call monitoring, Network access). I'm comfortable with that but dislike doing the GUI using C++ - I find the Symbian classes needlessly complicated and error prone.

    Hence I'm considering a daemon/gui divide with the GUI being written in Java (MIDP). Does the following seem feasible?

    Server EXE (C++)
    • Autostarts
    • Monitors Calls
    • Starts GUI App on demand
    • Passes Call detail to GUI App
    • Periodically
      • Uploads data to external HTTP Server
      • Downloads data from external HTTP Server

    GUI App (Java)
    • Acquires Call Detail from server
    • Gets further detail from User
    • Stores results locally


    Whats the best method of IPC between the two? Exchange via files? Some other method?

    The applications will (eventually) be symbian signed and stored in one SISX file.

    Thanks,


    Lindsay

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: EXE (Server) / APP (Gui) design and IPC question

    socket communications would propably be one good choice.

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    72

    Re: EXE (Server) / APP (Gui) design and IPC question

    Thanks - I presume there are less security lockdowns with local sockets than with trying to access remote (GPRS transport) ip's

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

    Re: EXE (Server) / APP (Gui) design and IPC question

    Quote Originally Posted by blackpaw View Post
    I have an app requirement that needs to use the C++ api (Outgoing call monitoring, Network access). I'm comfortable with that but dislike doing the GUI using C++ - I find the Symbian classes needlessly complicated and error prone.

    Hence I'm considering a daemon/gui divide with the GUI being written in Java (MIDP). Does the following seem feasible?

    Server EXE (C++)
    • Autostarts
    • Monitors Calls
    • Starts GUI App on demand
    • Passes Call detail to GUI App
    • Periodically
      • Uploads data to external HTTP Server
      • Downloads data from external HTTP Server

    GUI App (Java)
    • Acquires Call Detail from server
    • Gets further detail from User
    • Stores results locally


    Whats the best method of IPC between the two? Exchange via files? Some other method?

    The applications will (eventually) be symbian signed and stored in one SISX file.

    Thanks,


    Lindsay
    As it is already said the Socket communication to local IP is most efficient then a file based in your case.

Posting Permissions

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