Back to project page Android-Apps.
The source code is released under:
Apache License
If you think the Android project Android-Apps 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.kniezrec.remoterecorder; /* ww w . j ava 2s. c o m*/ /** * Author Kamil Niezrecki */ class Request { public final static String REC_IN_PROG = "recInProgress"; public final static String ERROR = "{\"type\": \"error\",\"request\":\"Error occurred\"}"; public final static String FILE_DEL = "{\"type\": \"error_file_deleted\",\"request\":\"error_file_deleted\"}"; public final static String SEC = "{\"type\": \"controll\",\"request\":\"second\"}"; public final static String MSG_CONNECTION_EXISTS = "{\"type\": \"controll\",\"request\":\"MSG_CONNECTION_EXISTS\"}"; public final static String MSG_REC_STARTED = "{\"type\": \"controll\",\"request\":\"MSG_REC_STARTED\"}"; public final static String MSG_REC_STOPPED = "{\"type\": \"controll\",\"request\":\"MSG_REC_STOPPED\"}"; public final static String MSG_REC_OVERTIME = "{\"type\": \"controll\",\"request\":\"MSG_REC_STOPPED_OVERTIME\"}"; public final static String MSG_ERROR_GET_MIN_BUFFERSIZE = "{\"type\": \"controll\",\"request\":\"MSG_ERROR_GET_MIN_BUFFERSIZE\"}"; public final static String MSG_ERROR_CREATE_FILE = "{\"type\": \"controll\",\"request\":\"MSG_ERROR_CREATE_FILE\"}"; public final static String MSG_ERROR_REC_START = "{\"type\": \"controll\",\"request\":\"MSG_ERROR_REC_START\"}"; public final static String MSG_ERROR_AUDIO_RECORD = "{\"type\": \"controll\",\"request\":\"MSG_ERROR_AUDIO_RECORD\"}"; public final static String MSG_ERROR_AUDIO_ENCODE = "{\"type\": \"controll\",\"request\":\"MSG_ERROR_AUDIO_ENCODE\"}"; public final static String MSG_ERROR_WRITE_FILE = "{\"type\": \"controll\",\"request\":\"MSG_REC_STARTED\"}"; public final static String MSG_ERROR_CLOSE_FILE = "{\"type\": \"controll\",\"request\":\"MSG_REC_STARTED\"}"; }