32,9 → 32,11 |
{ |
private SharedPreferences mPrefs; |
public boolean fullscreen; |
public boolean do_sound=true; |
|
public MKCommunicator mk; |
public DUBwiseStatusVoice voice; |
|
|
/** Called when the activity is first created. */ |
@Override |
public void onCreate(Bundle icicle) |
45,13 → 47,14 |
|
Log.d("DUBWise-V","starting"); |
mk=new MKCommunicator(this); |
voice=new DUBwiseStatusVoice(this); |
mk.connect_to("s","test"); |
Log.d("DUBWise-V","version " + mk.version.major); |
if (fullscreen) |
{ |
this.requestWindowFeature(Window.FEATURE_NO_TITLE); |
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_NO_STATUS_BAR, |
WindowManager.LayoutParams.FLAG_NO_STATUS_BAR); |
// this.requestWindowFeature(Window.FEATURE_NO_TITLE); |
//this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_NO_STATUS_BAR, |
//WindowManager.LayoutParams.FLAG_NO_STATUS_BAR); |
} |
|
setContentView(new DUBwiseView(this)); |