Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:20:39+00:00 2026-06-13T06:20:39+00:00

I am implementing one phonegap application. Here everything going fine but when I am

  • 0

I am implementing one phonegap application. Here everything going fine but when I am talking device specifications like:

1)BlackBerry Bold Touch 9900 Screen specifications are as following

Body    Dimensions  115 x 66 x 10.5 mm (4.53 x 2.60 x 0.41 in)
Weight              130 g (4.59 oz)
Keyboard QWERTY     Display     Type    TFT capacitive touchscreen, 16M colors
Size               640 x 480 pixels, 2.8 inches (~286 ppi pixel density)

But when I test following function in java script:

function findScreenSize()
{
    alert("width:"+window.innerWidth +"Height:"+ window.innerHeight);   
}

It displaying SIZE width : 356 Height : 267 (356 x 267)

2)BlackBerry Bold Touch 9930 Screen specifications are as following

Body Dimensions     115 x 66 x 10.5 mm (4.53 x 2.60 x 0.41 in)
Weight          130 g (4.59 oz)
Keyboard QWERTY     - Touch-sensitive controls
Display     Type        TFT capacitive touchscreen, 16M colors
Size                640 x 480 pixels, 2.8 inches (~286 ppi pixel density)

Then I run same javaScript function I got following output:

it displaying SIZE width : 417 Height : 313 (417 x 313)

Why it is behaving like this ?

Can anybody know relation between core pixel and HTML pixel please give answer

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:20:41+00:00Added an answer on June 13, 2026 at 6:20 am

    I got solution that

    previously i am using following meta tag (add ‘<‘ starting of following two meta tags)

    meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no”>

    But now i am using

    meta name=”viewport” content=”width=device-width,target-densitydpi=device-dpi,user-scalable=no,initial-scale=1.0″>

    now it is showing same

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I might be missing something obvious here, but I'm implementing NSCopying on one of
i am implementing one graph related app. In that when application start i am
I am implementing one application gust i am adding validations in login page implemented
I am implementing one application some fields are edittext in edittext clicking open mobile
I am implementing one iphone application in which i want to find direction of
We are implementing one web based application in iPhone. if i answered the incoming
I am implementing one application related to getting download files info. Based on my
I am implementing one application related to mailing sever. As for my requirment,i want
i am implementing one game application in this application i am using shared preferences
i am implementing one application related to android in adobe flex, .apk is generated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.