×

Discussion Board

Results 1 to 5 of 5

Thread: Urgent...j2me

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    3

    Exclamation Urgent...j2me

    hi...i m trying to develop/changes a application, but when i compile that application then it's not compiled and shows an exception that Character.isDigit is not found... but when i import ths class:---

    import java.lang.Character then it is compiled...

    but my question is why it compiled....because in java java.lang package is already imported..so what is need for importing this thing seperately.

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Urgent...j2me

    This section of forum is intended to general discussion. You will get quick response in Mobile Java section.

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

    Re: Urgent...j2me

    And the re-posted thread is here: http://discussion.forum.nokia.com/fo...d.php?t=167862

  4. #4
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Urgent...j2me

    Quote Originally Posted by er.arpitnanavati View Post
    hi...i m trying to develop/changes a application, but when i compile that application then it's not compiled and shows an exception that Character.isDigit is not found... but when i import ths class:---

    import java.lang.Character then it is compiled...

    but my question is why it compiled....because in java java.lang package is already imported..so what is need for importing this thing seperately.
    Did u try this :
    Code:
    import java.lang.* ;
    It should have to work but in my opinion it is GOOD to import only those classes which are required instead of importing the whole api. Take a look here for explaination :
    Importing APIs in j2me
    Hope it help u..

    Best Regards,
    SajiSoft
    Last edited by sajisoft; 2009-05-15 at 09:11. Reason: Semicolon :)

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Urgent...j2me

    §ajid:
    I doubt that he/she might not visit this thread again, so it is better to continue with the new thread startd by er.arpitnanavati in Mobile Java section. Check link suggested by petrib.

Similar Threads

  1. URGENT: is there a pow() method in j2me?
    By rj_cybersilver in forum Mobile Java General
    Replies: 9
    Last Post: 2010-01-19, 09:39
  2. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  3. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36
  4. Urgent! ease to port Bluetooth application: J2ME or Symbian???
    By tomspender in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-07-07, 19:03
  5. Symbian and non Symbian J2ME
    By thongtom in forum Mobile Java General
    Replies: 2
    Last Post: 2005-06-28, 10:52

Posting Permissions

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