viewporter icon indicating copy to clipboard operation
viewporter copied to clipboard

Wrong profile applied for HTC Desire HD

Open PJhimself opened this issue 12 years ago • 2 comments

At the moment, there is only one profile for HTC Desire and HTC Desire HD. I've one Desire HD and that profile didn't work for me, the function postProcess was never called, because the match against the device profile was never succesful.

I found out the values of my device and created a separate profile for it.

  // HTC Desire
  'Desire_A8181': {
    portrait: 533,
    landscape: 320
  },

  // HTC Desire HD
  'DesireHD_A9191': {
    portrait: 615,// 546 with location bar..
    landscape: 369// 300 with location bar..
  }

PJhimself avatar Mar 28 '12 09:03 PJhimself

Hi PJ,

I wasn't able to reconfirm this issue as I don't have devices at hands right now, but I double checked at http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density, both Desire and Desire HD devices have the exact same resolution.

Possibly a different Android version or Android browser? Which version and browser are you using?

pbakaus avatar May 10 '12 16:05 pbakaus

Waiting for feedback...

swernerx avatar May 21 '12 12:05 swernerx