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

Forums

OverviewFelgo 3 Support (Qt 5) › fullscreen on android

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #7691

    Vlad

    hi

     

    is there is a way to set true fullscreen (ie w/o status and navigation bar) for v-play app running on android JB and/or KK ?

    thanks

    #7702

    Christian
    Felgo Team

    Hi Vlad,

    you would need to adjust the AndroidManifest.xml for that and for iOS something like this approach described on StackOverflow.

    We’ll probably add a convenience solution for that with the next update and do make the sample games fullscreen too.

    Cheers, Chris

    #8065

    Vlad

    Hi Chris

     

    any news on that?

    I’ve mentioned ‘fullscreen’ property in Squaby demo, but it seems have no affect so far

     

    br,

    Vlad

    #8066

    Christian
    Felgo Team

    Hi Vlad,

    you’re right, we did not change the demos to use fullscreen yet.

    You can easily do so yourself though, just create a new project from Felgo version 2.0.4, and you will find the AndroidManifest and .plist modifications needed for fullscreen there. These you can just apply to your games then.

    Cheers, Chris

    #8071

    Vlad

    Hi Chris

     

    I’ve tried to create android app from QtCreator Felgo template but it does not created AndroidManifest.xml

    The one, created from Run tab in Projects does not contains any Felgo specific features

     

    Is there is other way to create empty project?

     

    Thanks

    #8072

    Vlad

    Oops, nevermind

    Stupid me. Just forgot to update to 2.0.4 🙂

     

    #8079

    Vlad

    Hi

     

    it seems it doesnt works for android devices with software home keys (like Sony Xperia etc)

    any solution on that?

     

    Thanks,

    Vlad

    #8080

    Christian
    Felgo Team

    Hi Vlad,

    afaik, you cannot hide the software keys, otherwise you would go against the Android UX.

    Cheers, Chris

    #8081

    Alex
    Felgo Team

    As a follow-up to Christian’s post, it is possible to hide the entire chrome within an Android app, e.g. for a video viewer app. Android however automatically fades in the navigation buttons as soon as the user touches the screen, so this is not really an option for a game.

    If you still want to implement that behavior you have to implement your own Activity and set the base class to QtActivity (or VPlayActivity if you use any of our plugins). Please see this post from Sony as a reference: http://developer.sonymobile.com/knowledge-base/tutorials/android_tutorial/how-to-provide-your-app-users-with-maximum-screen-estate-tutorial/

    Best,

    Alex

    #8082

    Vlad
    #8083

    Alex
    Felgo Team

    Hi Vlad,

    thanks for the link, as in the post described it’s possible to hide all the chrome unless the user does a specific swipe gesture on KK, yes. The implementation steps remain the same as described above, create a custom subclass of QtActivity/VPlayActivity and override the required lifecycle method of the activity (be sure that you don’t forget to call super for every method override).

    As Christian suggested we’ll probably add the required flags as a property of our GameWindow in one of our future updates, so stay tuned on that!

    Thanks,

    Alex

    #8084

    Vlad
Viewing 12 posts - 1 through 12 (of 12 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