Back to project page MorseCode.
The source code is released under:
Custom License You are free to download and edit the source code for personal use but not for commercial app purposes. We are going to use this code to create an app in the future.
If you think the Android project MorseCode 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.csc.morsecode.handlers; // w ww . j a v a 2 s .c om import android.util.Log; import com.csc.morsecode.data.Encoding; public class ConsoleOutput implements Output { private int eCount = 0; private int tCount = 0; @Override public void output(Encoding encoding) { ++eCount; Log.i("ConsoleOutput:", "Encoding " + eCount + ": " + encoding); } @Override public void output(String text) { ++tCount; Log.i("ConsoleOutput:", "String " + tCount + ": " + text); } }