×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    16

    Registering an Inbound Connection

    Hi there,

    I'm new to j2me and cell phone java development.

    Just one simple question, hope you guys can give me an answer.

    You know, using MIDP 2.0, we can make a generic socket connection out there to the Internet, in that case, generally speaking, it will cost the user some money to connect to the Internet.

    What about if I try to make a server socket, and register such inbound (server) socket connection, while waiting for an inbound connection, does it cost cell phone user any Internet fees at all?

    Cheers!

    Jackxie

  2. #2
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    105

    Re: Registering an Inbound Connection

    You have a problem when you are waiting for a connection since mobile phones dont get an IP address unless your network operator has implemented SIP/IMS on their network which allows phones to get some sort of IP using this layer.

    Regardless, it will still probably cost you money since your cellphone will still use your Operator's access points to send data back.

    If you want to save money over charges, use a mobile phone that can connect to wireless LAN. If you do, you get an additional access point APN when connecting to the Internet which connects to the Internet over your wireless LAN instead of using your Operator's access points.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Registering an Inbound Connection

    Hi jackxie,

    I do agree with rexwal on both issues. What can be done will depend on your operator's support for connections and services and WLAN may be an option...

    BR,

    Juarez Junior

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    16

    Re: Registering an Inbound Connection

    Thanks a lot for the replies folks.

    I do very much appreciate that.

    ======

    Another question about PushRegistry is:

    As I know of, using MIDP 2.0, we can register a MIDlet, and then leave that MIDlet sleep until there's an inbound connection to wake it up ,or there's a Timer expires and then such MIDlet gets woken up.

    Apart from the connection-based way and the timer-based way, is there any other way to wake up a MIDlet at all?

    For example, I want my MIDlet to run as a background process, while user can still make phone calls, play other games or sending txt messages etc, until the user presses a key for 10 seconds, and then my MIDlet will be woken up and do work?

    Is it possible to achieve that?

    Thanks guys!

Similar Threads

  1. GPRS connection status---urgent, please
    By fanyulong in forum Symbian
    Replies: 3
    Last Post: 2008-07-15, 07:54
  2. Push Registry on Inbound Connection
    By artemg in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2004-02-26, 16:25
  3. 6600: MIDlet activation on inbound connection - URGENT HELP NEEDED PLZ!
    By alatto in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-02-26, 12:48
  4. Nokia 3585i and PC Suite 4.95; NO CONNECTION
    By chrism2202 in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2003-04-21, 12:10
  5. Replies: 5
    Last Post: 2003-02-07, 11:25

Posting Permissions

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