Forums

OverviewFelgo 2 Support (Qt 5) › Launch Different App from button then Floating Button to switch back

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17978

    Edward

    Hi,

    how would I go about creating an button within my application which launches another application on my phone?

    Whilst my app is running I would also like there to be a floating button overlaying on the screen so I can tap it to easily re-open my application without having to navigate home screen?

    Permissions would naturally need to be granted?

     

    What are my options for this?

     

    Thanks,
    Edward

     

     

     

     

     

    #18038

    Günther
    Felgo Team

    Hi Edward!

    The Felgo NativeUtils offer access to the most important native device features like dialogs, sharing, camera/gallery picker and nativeUtils.openApp, which you can use to open another app. On iOS, applications must explicitly allow to be opened using a certain URL scheme, which you can pass to openApp. Android requires you to pass the bundle id of the app.

    For more complex native features like a floating action button or other Widgets that integrate with your device while your app is installed/running, you can fully extend your Felgo App with native code to e.g. add Android Features with Java or iOS Features with Obj-C.

    This is possible by adding C++ components to your QML-based Felgo app. Your C++ code can then e.g. call native Java functions via JNI.

    Hope this helps!

    Best,
    Günther

     

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