1
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"minSdkVersion": "21"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import Intent from 'android.content.Intent';
|
||||
import Uri from 'android.net.Uri';
|
||||
import Activity from 'android.app.Activity';
|
||||
export function openWeb(url : string) {
|
||||
let intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url))
|
||||
let ac = UTSAndroid.getUniActivity() as Activity
|
||||
ac.startActivity(intent)
|
||||
}
|
||||
Reference in New Issue
Block a user