Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example" >
<application
<!-- other Activities goes here -->
<activity
android:name=".ProxyActivity"
android:label="Some nice label"
android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
var app = require('express').createServer()
var io = require('socket.io').listen(app);
var fs = require('fs');
app.listen(8008);
// routing
app.get('/', function (req, res) {
res.sendfile(__dirname + '/chat.html');
});