Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
update version
still beta
- Loading branch information
Showing
25 changed files
with
158 additions
and
2,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/src/main/java/com/wordpress/ebc81/rtl_ais_android/tools/CmdLineHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.wordpress.ebc81.rtl_ais_android.tools; | ||
|
||
/** | ||
* Created by ebc on 27.08.2015. | ||
*/ | ||
public class CmdLineHelper { | ||
|
||
public static final int RTL_AIS_ANDROID_CMD_START = 1; | ||
public static final int RTL_AIS_ANDROID_CMD_STOP = 2; | ||
public static final int RTL_AIS_ANDROID_CMD_STATUS = 3; | ||
public static final int RTL_AIS_ANDROID_CMD_UNKNOWN = 4; | ||
|
||
public static final String exit_argument = "-exit"; | ||
public static final String status_argument = "-status"; | ||
|
||
public static int getCmd(String argument) | ||
{ | ||
if (argument.isEmpty()) | ||
return RTL_AIS_ANDROID_CMD_UNKNOWN; | ||
if ( argument.equals(exit_argument) ) | ||
return RTL_AIS_ANDROID_CMD_STOP; | ||
if ( argument.equals(status_argument)) | ||
return RTL_AIS_ANDROID_CMD_STATUS; | ||
return RTL_AIS_ANDROID_CMD_START; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.