MCPcopy Create free account
hub / github.com/cinder/Cinder / launchWebBrowser

Method launchWebBrowser

src/cinder/android/app/CinderNativeActivity.cpp:232–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void CinderNativeActivity::launchWebBrowser( const Url &url )
233{
234 if( url.str().empty() ) {
235 return;
236 }
237
238 jstring jstrUrl = JniHelper::Get()->NewStringUTF( url.str() );
239 JniHelper::Get()->CallVoidMethod( getInstance()->getJavaObject(), Java::launchWebBrowser, jstrUrl );
240 JniHelper::Get()->DeleteLocalRef( jstrUrl );
241}
242
243void CinderNativeActivity::launchTwitter( const std::string& text, const Surface8u* surf )
244{

Callers

nothing calls this directly

Calls 6

NewStringUTFMethod · 0.80
CallVoidMethodMethod · 0.80
getJavaObjectMethod · 0.80
DeleteLocalRefMethod · 0.80
emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected