mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-23 00:27:40 +00:00
Created NvComputer to store information from NvmDNS and NvHTTP
This commit is contained in:
1 parent
e1f9d3c328
commit
f83844c9ae
10 files changed
+956
-2
No files matched your search
@@ -1,6 +1,13 @@
|
||||
package com.limelight;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
import com.limelight.nvstream.NvmDNS;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.Button;
|
||||
@@ -21,6 +28,10 @@ public class Connection extends Activity {
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -41,6 +52,19 @@ public class Connection extends Activity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Log.v("NvmDNS", "onCreate");
|
||||
|
||||
try {
|
||||
|
||||
NvmDNS dns = new NvmDNS();
|
||||
dns.sendQueryAndWait();
|
||||
} catch (IOException e2) {
|
||||
// TODO Auto-generated catch block
|
||||
e2.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
setContentView(R.layout.activity_connection);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user