×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    8

    Performing a data call

    Hi everyone. In the context of a larger application, I need to transfer occasional, short messages from a cellphone to a PC.

    A key requirement is near-instantaneous arrival of those messages; a delay of more than a minute or so would be considered a failure. Since SMSs can occasionally lag due to the network, I am not going to use them.

    Rather, I want to build an application on the cellphone that takes the message from the user, initiates a data call to a modem on the PC, and sends the message through. A custom app on the PC will deal with what happens afterwards. Some checksum and retransmit mechanism will make sure of data integrity.

    So, I need to know how to programmatically initiate a data call, send data through it, and terminate it. I heard that it's easier to do it with native calls rather than MIDP, but since I'm not quite sure of which phone it will run on and I'm not practical at all with Symbian development, I'd rather use Java.

    Can anyone give me some pointers on this? I'm relatively new to MIDP development, and I have no clue on where to start with regards to data calls.

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Performing a data call

    hi,

    kind of JMS?
    http://joram.objectweb.org/
    http://www.microjava.com/articles/techtalk/jms
    (requires middle-tier)
    regards,
    peter

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    8

    Re: Performing a data call

    Not exactly. Those links seem to be about asynchronous messaging; storing messages to be forwarded as soon as the network becomes available.

    That's very interesting, but what I need is - I hope - much simpler. Probably a textbook newbie question.

    I simply want to get the cellphone to dial a number as a data call and send a few bytes through. I can safely assume that the network itself will be up and the receiver will be ready to immediately pick up the call.

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Performing a data call

    hi,

    you can initiate voice call only via MIDlet.platformRequest(...) method,
    no other way i'm afraid yet,
    for all other data exchange you can use only GFC:
    http://developers.sun.com/techtopics...ericframework/

    regards,
    peter

  5. #5
    Registered User
    Join Date
    Jul 2006
    Posts
    8

    Re: Performing a data call

    Thanks. Unless I'm mistaken, GFC doesn't have data call either (it does do UDP; I guess I might have the phone talk to the computer via Internet if all else fails).

    But platformRequest refers to RFC 2806, which does have a syntax for data calls. Maybe some devices support it? However, I don't see how I would use the connection even if it could be done, since platformRequest only returns a boolean. Seems that platformRequest is designed to start an application and then forget about it.

    Given that, is a MIDP data call completely impossible?

Similar Threads

  1. Nokia 6680: Concurrent data and voice call
    By magiconair in forum General Development Questions
    Replies: 0
    Last Post: 2006-04-08, 23:35
  2. Data Call Problem !!
    By ahmed_baghdad in forum General Development Questions
    Replies: 0
    Last Post: 2005-07-03, 11:07
  3. Replies: 0
    Last Post: 2004-12-20, 21:48
  4. Data Call, Voice Call & LoanDataPort()
    By tektronic in forum Symbian
    Replies: 1
    Last Post: 2004-12-01, 21:47
  5. How can I catch a Data Call?
    By kangtk in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-05-15, 03:21

Posting Permissions

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