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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support