Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User hfan2008's Avatar
    Join Date
    Jan 2009
    Posts
    4
    I try to use Nokia N78(S60 3rd FP2) to get the cell id of the current mobile network. And I find Nokia provide below API to get the MCC, MNC and Cell id:
    MCC: System.getProperty("com.nokia.mid.countrycode")
    MNC: System.getProperty("com.nokia.mid.networkid")
    Cell id: System.getProperty("com.nokia.mid.cellid")

    But Nokia does not provide the API to get the LAC(Location area code), so I'm very confusing.
    Why Nokia does not provide the API to get he LAC? Except for the LAC, just get the MCC, MNC and cell id is useless.

  2. #2
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Actually Nokia does provide a system property to get LAC through System.getProperty("com.nokia.mid.lac").
    But it's only available from Series 40 5th Edition FP1 onwards and if the MIDlet is signed in operator or manufacturer domain, unfortunately. This article has the information.

  3. #3
    Registered User hfan2008's Avatar
    Join Date
    Jan 2009
    Posts
    4
    Quote Originally Posted by bogdan.galiceanu View Post
    Actually Nokia does provide a system property to get LAC through System.getProperty("com.nokia.mid.lac").
    But it's only available from Series 40 5th Edition FP1 onwards and if the MIDlet is signed in operator or manufacturer domain, unfortunately. This article has the information.
    So my confusing is:
    In S60 3rd FP2 platform, since Nokia provide the ability to get the MCC,MNC,Cell id, why not provide the LAC ability? Are there some technical issue that prevent Nokia to get the LAC?

  4. #4
    i want 2 knw how can i calculate the cell id on a hand held device using j2me...or any other platform

  5. #5
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,430
    What do you mean with "calculate the cell id on a hand held device"? First, there's nothing to "calculate"; the cell ID is a fixed value set by the network operator for each cell tower (basestation). Second, al "hand held" devices do not have cellular connectivity; just cellular (mobile) phones.

  6. #6
    Registered User hfan2008's Avatar
    Join Date
    Jan 2009
    Posts
    4
    Hi, guys, you have deviated to another questions. My questions are:
    In S60 3rd FP2 platform, since Nokia provide the ability to get the MCC,MNC,Cell id, why not provide the LAC ability? Are there some technical issue that prevent Nokia to get the LAC? or Nokia do not want to provide this feature to the developers.

    Quote Originally Posted by petrib View Post
    What do you mean with "calculate the cell id on a hand held device"? First, there's nothing to "calculate"; the cell ID is a fixed value set by the network operator for each cell tower (basestation). Second, al "hand held" devices do not have cellular connectivity; just cellular (mobile) phones.

  7. #7
    Hi Guys

    I am unable to get cell network information on CDMA phones. I have conlcuded(pretty sure) that we need to query
    SID, NID, BID..
    http://supportforums.blackberry.com/...nes/td-p/34446

    but I am unable to know which midlet key (System.getProperty) gives SID, NID & BID information.

    Thanks for ur help in advance...

    rj12info

  8. #8
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    @rj12info_nokia, Which device are you targeting ?

    Regards
    Gopal

  9. #9
    Hi Bala

    I am targetting s40 phones alone.

  10. #10
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    rj12info_nokia, Ok, but which Edition / device model in Series 40 you are targeting ? That would help us to give you more clues.

    Regards
    Gopal

  11. #11
    Hi balagopalks,

    I am targetting Nokia 801T
    http://www.gsmarena.com/nokia_801t-4391.php
    http://www.developer.nokia.com/Devic...ications/801T/

    FYI I am targetting all CDMA phones.
    Kindly let me know if there is a Java code to get location of CDMA phones based on cell network.

    Sorry abt delayed reply.

    Thanks
    Jayanth

  12. #12
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    bogdan's answer actually provides some great info, to begin with :
    "If a system property string returns "null", the feature is not supported. " So always test on that !
    com.nokia.mid.lac Returns LAC as string. This is current GSM location area code (LAC). Device should have SIM card and acquired service to return a LAC value, otherwise returns NULL.
    That only applies to devices starting from Series 40 5th Edition, Feature Pack 1
    Also note that these values are not supported in all devices !!!!
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  13. #13
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,917
    Other option can be use CBS and get some location info passed by operator cell towers to the device....
    http://www.developer.nokia.com/Commu...a_ME_using_CBS
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58
  2. Nokia PC Connectivity能否链接到cdma手机上发送短信和其他操作?
    By bborn in forum Web Technologies and Multimedia Content- Web 技术和多媒体内容
    Replies: 2
    Last Post: 2004-05-04, 11:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved