Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User nirav1717's Avatar
    Join Date
    Apr 2012
    Posts
    1
    Dear All,

    I have developed a WAP site as i want to get the screen resolution of Nokia C1-01 and C2-01, i am using java script and PHP for the same.


    My code is here :

    <script language="javascript">
    width = screen.width;
    height = screen.height;
    document.write(
    "Screen width = "+width+"<br>"
    +"Screen height = "+height
    )
    </script>

    This script is working on nokia other devices like E71, Express Music and other brands mobiles as well but not working on Nokia C1-01 and C2-01.

    Is there any alternate to solve this problem?

    Thanks in advance.

  2. #2
    Nokia Developer Champion chintandave_er's Avatar
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    781
    AFAIK, It should work.

    Also I suggest to post your question in a appropriate category and in this case it is "Web Development". So You can get reply from Nokia Experts.

    Chintan.
    Chintan Dave.
    Water Bubble Application for Nokia N9 is now available in Nokia Store.
    World's Greatest Speeches for Windows Phone is now available in WP Marketplace.

  3. #3
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    The question is moved there now.

  4. #4
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    832
    Hi nirav171 and welcome to forum!

    What Browser are you using in testing. Original Series 40 browser or Nokia browser?

    Br,
    Ilkka

  5. #5
    Registered User ardigreget's Avatar
    Join Date
    Jul 2012
    Posts
    5
    You are just need javascript, but i have same question.

    Where you test this script ?

  6. #6
    Registered User marianlee's Avatar
    Join Date
    Aug 2012
    Posts
    1
    I just want to asked is it possible that i can install a java script to my nokia c1-01?

  7. #7
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,415
    Quote Originally Posted by marianlee View Post
    I just want to asked is it possible that i can install a java script to my nokia c1-01?
    Are you sure you know what JavaScript is?

    The C1-01 supports the Java programming language and runtime environment in the form of JME (Java Micro Edition) applications, also known as MIDlet.

    The C1-01 has also a web/WAP browser, or two, and within the web (HTML) pages you can include/embed JavaScript programming language code (but there are probably limitations due to the restricted nature of the phone, so everything that JavaScript can do on, e.g., a PC based web browser, won't work on the phone).

Similar Threads

  1. Replies: 2
    Last Post: 2011-01-24, 09:18
  2. Java Games Screen Resolution
    By edwin756 in forum Mobile Java Games
    Replies: 4
    Last Post: 2008-10-31, 06:29
  3. URGENT!! N73 MAX RESOLUTION in script
    By marce002 in forum Python
    Replies: 2
    Last Post: 2007-11-29, 10:20
  4. Nokia 6680 - Screen resolution (dpi)
    By ama101 in forum Streaming and Video
    Replies: 3
    Last Post: 2006-05-09, 14:11
  5. Nokia 8800 Java Resolution Queries??
    By mark_a_thorpe in forum General Development Questions
    Replies: 1
    Last Post: 2005-07-18, 20:02

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