×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Question How can I get the cellid in Mobile Java?

    Hi everyone,

    I have to develop an application in Mobile Java that uses the cellid on an symbian device.
    I want to know,does Mobile Java support this,that I can get the cellid.
    If Mobile Java does support to get the cellid,how can I get it?
    Does anyone know how to do this.

    Best regards,
    Defonds Kun

  2. #2
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Re: How can I get the cellid in Mobile Java?

    Use

    PHP Code:
    System.getProperty("com.nokia.mid.cellid"); 
    But it also depends on what device you are using and is it S60 or Series 40 device?

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by KevinBoyd View Post
    Use

    PHP Code:
    System.getProperty("com.nokia.mid.cellid"); 
    But it also depends on what device you are using and is it S60 or Series 40 device?
    to KevinBoyd,
    Hi,KevinBoyd!Thank you for your answer.
    The device is S60.
    Yes,I can get the cellid in the Java code followed:
    PHP Code:
    System.getProperty("com.nokia.mid.cellid"); 
    However,if I want to location my position by the cellid I get,I need to get another property:lac(locationAreaCode).
    Using the two properties as arguments,through the database of the Mobile,I can get the longitude & latitude of my position.
    How can I get lac?
    Best regards,
    Defonds Kun

  4. #4
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by Defonds View Post
    to KevinBoyd,
    How can I get lac?
    Best regards,
    Defonds Kun
    Use

    PHP Code:
    System.getProperty("com.nokia.mid.lac"); 

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by KevinBoyd View Post
    Use

    PHP Code:
    System.getProperty("com.nokia.mid.lac"); 
    to KevinBoyd,
    Hi,KevinBoyd.Thank you for your replying.
    However,the followed Java Code doen not work on N72.
    N72 is S60 2nd Ed FP3,you can see it from:http://www.forum.nokia.com/devices/m...2ed_fp3_1.html
    Best regards,
    Defonds Kun

  6. #6
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by Defonds View Post
    However,the followed Java Code doen not work on N72.
    N72 is S60 2nd Ed FP3,you can see it from:http://www.forum.nokia.com/devices/m...2ed_fp3_1.html
    Defonds Kun
    As per the System Properties page in the Java Developers Library.

    com.nokia.mid.lac

    Returns current GSM location area code (LAC) as a string. The SIM card must be inserted and service acquired in order to return a LAC value, otherwise returns null.

    This value applies only to 2G devices for S60 3rd Edition FP 2 and Series 40 5th Edition FP 1

  7. #7
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: How can I get the cellid in Mobile Java?

    Hello,

    minor update regarding the info on Java Developer's Library

    com.nokia.mid.lac

    Returns current GSM location area code (LAC) as a string. The SIM card must be inserted and service acquired in order to return a LAC value, otherwise returns null.

    This value applies only to 2G devices for S60 3rd Edition FP 2 and Series 40 5th Edition FP 1
    In order to use the string in Series 40 devices, a manufacturer or operator domain signing is required as a prerequisite. The list of system properties which require a manufacturer or operator domain signing on Series 40 can be retrieved from the following Technical Solution on Forum Nokia Wiki:

    http://wiki.forum.nokia.com/index.ph...acturer_domain

    The Java Developer's Library info is expected to be updated in near future regarding the signing requirements defined in Forum Nokia Wiki.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  8. #8
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    to KevinBoyd and r2j7,
    Hi,Thank you two for your replying.
    So I can not get the cellid and lac in Mobile Java on N72.Because N72 not suport this,my application will not cross-platform.
    I can not wait util the Java Developer's Library be updated.
    Best regards,
    Defonds Kun

  9. #9
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: How can I get the cellid in Mobile Java?

    There are many discussions about cell ID and LAC in these discussion boards. Please try the search facility.

    There is no cross-platform way to get these data.

    Graham.

  10. #10
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How can I get the cellid in Mobile Java?

    also, unfortunately, even when the Java Developer's Library will be updated that won't mean older devices will be updated as well in regards to their functionality :P
    So if your N72 doesn't support it now it will never do...

  11. #11
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by grahamhughes View Post
    There are many discussions about cell ID and LAC in these discussion boards. Please try the search facility.

    There is no cross-platform way to get these data.

    Graham.
    to grahamhughes,
    Thank you for your advice.I will try it in future.
    Best regards,
    Defonds Kun

  12. #12
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    Quote Originally Posted by Tiger79 View Post
    also, unfortunately, even when the Java Developer's Library will be updated that won't mean older devices will be updated as well in regards to their functionality :P
    So if your N72 doesn't support it now it will never do...
    to Tiger79,
    Thank you sir,I know it.I will not try to get the cellid & lac in Mobile Java on N72.
    Best regards,
    Defonds Kun

  13. #13
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: How can I get the cellid in Mobile Java?

    Hi,

    If your target handset is S60 then its better to develop with Symbian C++.
    Sunil
    Mobile Application Developer

  14. #14
    Registered User
    Join Date
    Jan 2010
    Posts
    13

    Re: How can I get the cellid in Mobile Java?

    to sunil_bhambani123,
    Thank you,sir.
    Yes,my target handset is S60.
    We have conidered to develop with Symbian C++.
    But some one else teld us,it was best to develop it in Qt for Symbian.
    Then we are confused.
    Which one is better?Qt for Symbian or Symbian C++?What is the diffrences between them?
    Best regards,
    Defonds Kun

  15. #15
    Nokia Developer Champion
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How can I get the cellid in Mobile Java?

    Qt is more cross-platform...
    If I were you I would check the Qt introductory documentation, which can also be found on this same website...
    After checking the documentation you will know what you are talking aboout and you will be able to give good and self-thought reasons why to choose for one platform against the other... Now you would just relay the opinion of others without actually knowing what you are talking about, which might get you in awckward situations later on...

Similar Threads

  1. to receive and send sms from and to mobile and PC in java
    By manoj_2580 in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2010-10-22, 16:21
  2. java application for mobile phone
    By rahuljin in forum Mobile Java General
    Replies: 4
    Last Post: 2009-08-28, 04:53
  3. Replies: 0
    Last Post: 2007-07-15, 23:06
  4. Execute Java applications at the phone from the mobile
    By JasonN in forum Mobile Java General
    Replies: 4
    Last Post: 2006-10-03, 13:36
  5. Java Mobile Phone Specification - Question for Nokia
    By schadha in forum Mobile Java General
    Replies: 0
    Last Post: 2002-09-04, 11:53

Posting Permissions

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