]> cvs.zerfleddert.de Git - ms2-fixes/blame - MS2Debounce/src/de/rmdir/ms2debounce/MS2Debounce.java
add gitignore
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / MS2Debounce.java
CommitLineData
7bcde8d7
MG
1package de.rmdir.ms2debounce;
2
3import android.app.Activity;
4import android.os.Bundle;
ae569a50 5import android.content.Intent;
ee6322a1 6import android.widget.TextView;
7bcde8d7
MG
7
8public class MS2Debounce extends Activity
9{
226a7d4d
MG
10 @Override
11 public void onCreate(Bundle savedInstanceState)
12 {
13 super.onCreate(savedInstanceState);
ae569a50 14
5738a32f 15 DebounceModuleHelper module = new DebounceModuleHelper(this);
226a7d4d
MG
16
17 if (!module.isLoaded()) {
18 module.loadModule();
19 }
ae569a50 20
226a7d4d 21 setContentView(R.layout.main);
ee6322a1
MG
22
23 TextView text = (TextView)findViewById(R.id.text);
08fec0be 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());
226a7d4d 25 }
7bcde8d7 26}
Impressum, Datenschutz