8 files changed +564
-1034
lines changed Original file line number Diff line number Diff line change 28
28
import android .os .Bundle ;
29
29
30
30
import com .phonegap .DroidGap ;
31
- import com .strumsoft .util .Logger ;
32
31
import com .strumsoft .websocket .phonegap .WebSocketFactory ;
33
32
34
33
/**
35
34
* The Class App.
36
35
*/
37
36
public class App extends DroidGap {
38
-
39
- /**
40
- * Called when the activity is first created.
41
- *
42
- * @param savedInstanceState the saved instance state
43
- */
44
- @ Override
37
+
38
+ @ Override
45
39
public void onCreate (Bundle savedInstanceState ) {
46
40
super .onCreate (savedInstanceState );
47
41
super .loadUrl ("file:///android_asset/www/index.html" );
48
42
49
- // attach logger
50
- appView .addJavascriptInterface (Logger .class , "Logger" );
51
43
// attach websocket factory
52
44
appView .addJavascriptInterface (new WebSocketFactory (appView ), "WebSocketFactory" );
53
45
}
54
-
55
46
}
Load Diff This file was deleted.
Load Diff This file was deleted.
0 commit comments