×

Discussion Board

Results 1 to 15 of 16

Hybrid View

  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
    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

  8. #8
    Super Contributor
    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...

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

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

    to Tiger79,
    Thank you for your help,Tiger79.
    I am a Java EE developer before,not familiar with Mobile Development.
    Thank you for your advice.
    May be we will choose Qt,because its cross-platform.
    Otherwise,Qt is more easy for a Java Developer to study.
    Best regards,
    Defonds Kun

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
  •  
×