Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › Prevent screen locking

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24675

    Martin

    Hi,

    my app downloads some big ZIP files. If the screen locks while download process the download gets interrupted. So I have to touch the screen each minute.

    How can I prevent the device from screen locking?

    Kind regards,
    Martin

    #24677

    Bence
    Felgo Team

    Hi Martin,

    The displaySleepEnabled property of nativeUtils can prevent the screen from dimming and ultimately locking the device. You can find the documentation here: https://felgo.com/doc/felgo-nativeutils/#displaySleepEnabled-prop

    Does this solve your issue?

    Best,

    Bence

    #24678

    Martin

    Hi Bence,

    where do I have to set that property? In the APP component or is it elsewhere valid?

    Cheers,
    Martin

    #24681

    Bence
    Felgo Team

    Hi Martin,

    You can set the property elsewhere as well.

    Best,

    Bence

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

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded