mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-05 23:46:04 +00:00
Integrate help buttons into dialogs and the PcView
This commit is contained in:
19
app/src/main/java/com/limelight/HelpActivity.java
Normal file
19
app/src/main/java/com/limelight/HelpActivity.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.limelight;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.webkit.WebView;
|
||||
|
||||
public class HelpActivity extends Activity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
WebView webView = new WebView(this);
|
||||
setContentView(webView);
|
||||
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.loadUrl(getIntent().getData().toString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user