Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › app.tablet fails on some devices

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19494

    Carmelo

    Hello,

    in the documentation i found

     
    <div class=”qmlproto”>
    <div class=”table”>
    <table class=”qmlname”>
    <tbody>
    <tr id=”tablet-prop” class=”odd” valign=”top”>
    <td class=”tblQmlPropNode”>[read-only] tablet : bool</td>
    </tr>
    </tbody>
    </table>
    </div>
    </div>
    <div class=”qmldoc”>

    This read-only property gets true if the screen’s diameter is bigger than 6.7 inches.

     

    </div>
    But on a Samsung A8 5,6″ app.tablet is true.

    How this property works?

     

    Thank you.

    Carmelo.

    #19498

    Günther
    Felgo Team

    Hi Carmelo,

    The app determines the diameter of the application and translates the pixel value to the physical screen size based on factors like screen density. The calculated screen size versus real physical size of the device can be slightly off, but the Samsung A8 5.6” should fall into the phone category with less than 6.7 inch calculated diameter.

    Thanks for reporting the issue – we’ll have a closer why the calculation/detection fails in this case!

    Best,
    Günther

     

    #19499

    Günther
    Felgo Team

    Side question:

    Are you testing with a simple, minimum Felgo App or do you already have some more components / code involved?

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.