MCPcopy Create free account
hub / github.com/AshampooSystems/boden / openURL

Method openURL

framework/ui/platforms/android/src/UIApplication.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 void UIApplication::initiateExitIfPossible(int exitCode) {}
63
64 void UIApplication::openURL(const std::string &url)
65 {
66 bdn::android::wrapper::Intent intent(std::string((const char *)bdn::android::wrapper::Intent::ACTION_VIEW),
67 bdn::android::wrapper::Uri::parse(url));
68 bdn::android::wrapper::NativeRootView rootView(
69 WindowCore::getRootViewRegistryForCurrentThread().getNewestValidRootView());
70 rootView.getContext().startActivity(intent);
71 }
72
73 std::string UIApplication::uriToBundledFileUri(const std::string &uri)
74 {

Callers 2

initMethod · 0.45
PostDetailControllerMethod · 0.45

Calls 1

Tested by

no test coverage detected