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

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded