Skip to content

DPDB JSON Entry for new devices. #162

@devasur

Description

@devasur

Can someone please explain how to create a DPDB entry for a new phone? Galaxy S7, iPhone 7
@borismus

Roughly:
http://btco-code.appspot.com/debug/screen_test.html gives results
Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13F69 Safari/601.1
computed resolution: 2208 x 1242
screen.width: 414
screen.height: 736
screen.availWidth: 414
screen.availHeight: 736
window.devicePixelRatio: 3

which can be translated (some how) to dbdb entry

{
"type": "ios",
"rules": [ { "res": [ 1242, 2208 ] } ],
"dpi": [ 453.6, 458.4 ],
"bw": 4,
"ac": 1000
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions