Implement most HTTP parts of the protocol

This commit is contained in:
Cameron Gutman committed 2013-09-21 02:33:52 -04:00
1 parent 00fca9462c
commit b263367528
5 files changed
+151 -2

No files matched your search

+23
View File
@@ -1,5 +1,11 @@
package com.limelight;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParserException;
import com.limelight.nvstream.NvConnection;
import android.os.Bundle;
import android.app.Activity;
@@ -9,6 +15,23 @@ public class Connection extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_connection);
new Thread(new Runnable() {
@Override
public void run() {
try {
new NvConnection("141.213.191.238").doShit();
} catch (XmlPullParserException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}).start();
}
}