| 230 | } |
| 231 | |
| 232 | void 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 | |
| 243 | void CinderNativeActivity::launchTwitter( const std::string& text, const Surface8u* surf ) |
| 244 | { |
nothing calls this directly
no test coverage detected