Android Open Source - MorseCode Code






From Project

Back to project page MorseCode.

License

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.

Java Source Code

package com.csc.morsecode.data;
/* w  ww  .j ava 2 s.  c  o m*/

public enum Code {
  EndMsg("Q", 100),
  EndChar("X", 100),
  EndWord("W", 100),
  dot(".", 200),
  dash("-", 600),
  unit(" ", 200); //length of time and a pause
  
  public final int timeLength;
  public final String text;
  
  Code(String text, int timeLength) {
    this.text = text;
    this.timeLength = timeLength;
  }
  
}




Java Source Code List

com.csc.morsecode.MainActivity.java
com.csc.morsecode.PopMessage.java
com.csc.morsecode.Settings.java
com.csc.morsecode.data.CodeMapping.java
com.csc.morsecode.data.Code.java
com.csc.morsecode.data.Encoding.java
com.csc.morsecode.handlers.ConsoleOutput.java
com.csc.morsecode.handlers.Input.java
com.csc.morsecode.handlers.MessageReceiver.java
com.csc.morsecode.handlers.Output.java
com.csc.morsecode.handlers.TapInput.java
com.csc.morsecode.handlers.VibratorOutput.java