Thread: Running Java code on my mobile phone

  1. #1
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    Question Running Java code on my mobile phone

    I have a Sony Erricson K700i. It runs Java. Can I write my own code and run it on my phone? If so, how? If not, why?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    .......

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    If your phone has the JVM (as it apparently does) then it should be able to run any java bytecode, which is generated by the javac compiler (among others). You could also run C programs, or lots of other languages if you feel like it . . . .
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    You could also run C programs, or lots of other languages if you feel like it . . . .
    How?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  5. #5
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    I think you can get a Symbian (OS used in Nokia and Ericsson) compiler from there:
    http://www.symbian.com/developer/downloads/index.html

  6. #6
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    I don't think my model uses symbian.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  7. #7
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Then you should find out what OS your model is using.

    OFFTOPIC: Siavoshkc, I can't use your code painter, because I don't have .NET framework and I can't install it (my windows update is messed up)
    Last edited by maxorator; 09-10-2006 at 03:02 AM.

  8. #8
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    OFFTOPIC: Siavoshkc, I can't use your code painter, because I don't have .NET framework and I can't install it (my windows update is messed up)
    You don't need to do so. Just download from my link and install the program.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  9. #9
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    On topic:
    Quote Originally Posted by Sony Ericsson
    Sony Ericsson SDK 2.2.4 for the Java(TM) ME Platform (73.5 MB) June 26, 2006
    This suite of Java ME tools supports Java MIDP 1.0, MIDP 2.0, Java 3D API incl. Javadoc for the Sony Ericsson handsets. The SDK supports Java Micro3D (Mascot Capsule Ver 3 and JSR 184) emulation and includes all the necessary tools to support On Device Debugging for your applications. This incorporates all phone announcements since the previous 2.2.3 release. Please refer to the release notes for requirements and developers guidelines for usage instructions.
    It uses Nokia UI API.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  10. #10
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    > Please refer to the release notes for requirements and developers guidelines for usage instructions.

    How hard is that to understand?
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #11
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    How hard is that to understand?
    For who? You? ;-)

    I was meant that my problem is solved.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  12. #12
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    [offtopic] So it is a new tag, make a button for this too.[/offtopic]

    My problem is I have never programed in Java.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  13. #13
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> My problem is I have never programed in Java.

    I wonder if a jboard.jprogramming.com exists ... or it would have a sun in it somewhere wouldn't it?

  14. #14
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by siavoshkc
    My problem is I have never programed in Java.
    I feel for you. But have you by this time realized that you can look for java tutorials on google, just like you could have looked for your cellphone characteristics before posting in here?

    Or are you going to do again one of those "if yes, how. if not, why" type of questions?
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #15
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    I didn't know where to begin. I didn't know Sony-Ericsson has a special developer center. The only thing I knew was that it runs Java because of its logo on the phone screen. I thought someone here may have some exprience on writing code for cell phones.

    I hopelessly went to Sony-Ericsson site to find the device's OS. It was so good if I could write C/C++ code for it instead of Java as it is possible for simbian OS. But unfotunately it is impossible. Fortunately SE site has all the documentation needed, but at the mean time I don't have enough time to begin learning Java.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. mobile phone GUI interface
    By wakish in forum Windows Programming
    Replies: 4
    Last Post: 06-20-2006, 04:13 AM
  2. Running Exe in C++ Code.
    By Ti22 in forum C++ Programming
    Replies: 5
    Last Post: 03-23-2006, 01:29 PM
  3. Running code in the background
    By random in forum C++ Programming
    Replies: 3
    Last Post: 12-10-2005, 02:04 PM
  4. multithreading question
    By ichijoji in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2005, 10:59 PM
  5. Moral dillema
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 40
    Last Post: 08-22-2004, 03:23 PM