1 package de
.rmdir
.ms2debounce
;
3 import android
.app
.Activity
;
4 import android
.os
.Bundle
;
5 import android
.content
.Intent
;
6 import android
.widget
.TextView
;
8 public class MS2Debounce
extends Activity
11 public void onCreate(Bundle savedInstanceState
)
13 super.onCreate(savedInstanceState
);
15 DebounceModuleHelper module
= new DebounceModuleHelper(this);
17 if (!module
.isLoaded()) {
21 setContentView(R
.layout
.main
);
23 TextView text
= (TextView
)findViewById(R
.id
.text
);
24 text
.setText("You will soon be able to set the debounce_delay here.\nModule loaded: " + module
.isLoaded() + "\ndebounce_delay: " + module
.getDelay() + "ms\nsafe_to_load: " + module
.is_safe_to_load());