Back to project page GlassCounter.
The source code is released under:
Apache License
If you think the Android project GlassCounter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.barcodeeye; /*w w w .ja v a 2s. c o m*/ import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; public class LaunchActivity extends Activity { private static final String TAG = LaunchActivity.class.getSimpleName(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_launch); new Handler().postDelayed(new Runnable() { @Override public void run() { processVoiceAction(null); } }, 100); } private void processVoiceAction(String command) { Log.v(TAG, "Voice command: " + command); finish(); } }