×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    1

    Roaming detection from J2ME Midlet

    Hello,

    We are making an application that is going to be signed with an operator certificate, so we suppose that our midlet will be allowed to send SMS messages without a user confirm. There is no cheating and all of them will be free This is only a guaranteed way to communicate with server-side without the necessity of internet access.

    Everything is seems to be alright, but the question with roaming arised. If any user moves to another region or country all outcoming SMS messages will cost him a lot, even if they are pointed for free short numbers.

    How can we solve this using J2ME API? I could find any API that will let me to check if the mobile is in roaming.

    Thanks for help.

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

    Re: Roaming detection from J2ME Midlet

    to be fully honest I have not tried this with Java, anyway, in general the Cell ID should contain the country Code & operator code, just as the IMSI does, so you could compare them to see whether you are in your own network. Here's wiki articles to get you started:
    http://www.developer.nokia.com/Commu..._ID_in_Java_ME
    http://www.developer.nokia.com/Commu...MSI_in_Java_ME

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Roaming detection from J2ME Midlet

    As far as I know, the cell-id is just an abitrary identifier selected by the network operator to identify the basestation (cell). If it encodes country information, it would be up to the operator to do so, if they find some reason to, but then you'd need to know how the operator has done such encoding).

    Nokia-specific system properties such as com.nokia.mid.countrycode, com.nokia.mid.networkid, com.nokia.mid.lac, com.nokia.mid.mnc might be more useful:

    http://www.developer.nokia.com/Resou...roperties.html

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Roaming detection from J2ME Midlet

    in symbian it at least did come with MCC and MNC , though as said, I never have tried this with java.

Similar Threads

  1. motion detection in j2me
    By tmac_83 in forum Mobile Java General
    Replies: 5
    Last Post: 2011-10-23, 05:50
  2. roaming detection
    By walty8 in forum Symbian
    Replies: 6
    Last Post: 2009-11-25, 03:32
  3. Edge Detection in J2ME
    By nitinrjmandhare in forum Mobile Java General
    Replies: 1
    Last Post: 2008-02-26, 19:21
  4. Incoming Call Detection via Midlet
    By tarunnasa in forum Mobile Java General
    Replies: 0
    Last Post: 2005-05-06, 08:01
  5. Roaming detection?
    By gusditz in forum Symbian
    Replies: 1
    Last Post: 2004-02-02, 03:22

Posting Permissions

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