X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=res%2Fvalues%2Fstrings.xml;h=f72cfd0b40a9dabd744d6126bccb1e0581c92e7b;hb=251aceaaa3379c65d66a975ff9e7524f7d2f1d73;hp=6340fb062413ed1944ded531a3175143ed2693e8;hpb=0f74646f9a4c1e195e2ea3600ae3c03d51fd11d5;p=fonbot.git diff --git a/res/values/strings.xml b/res/values/strings.xml index 6340fb0..f72cfd0 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,21 +1,22 @@ FonBot Allows an application to send notifications through FonBot - Initial setup:\n +

1. Initial setup:

\n
  1. Register an account\n
  2. Enter your username and password in the preferences\n\n
-Sending commands:\n +

2. Sending commands:

\n
    -
  • via Jabber: Send commands to fonbot@ieval.ro from any Jabber/GTalk account\n
  • -
  • via Yahoo Messenger: Send commands to fonbotym\n
  • +
  • via Jabber: Login by sending "login YOUR_USRENAME YOUR_PASSWORD" to fonbot@ieval.ro, then send commands\n
  • +
  • via Yahoo Messenger: Login by sending "login YOUR_USRENAME YOUR_PASSWORD" to fonbotym, then send commands\n
  • +
  • via IRC: Login by sending "login YOUR_USERNAME YOUR_PASSWORD" to fonbot on OFTC, then send commands\n
  • via SMS: Set a SMS Password in the preferences, then send SMSes with the SMS Password as the first line. The next lines will be processed as commands\n
  • -
  • via email: Send commands to fonbot@ieval.ro\n
\nFonBot commands consist of a command name and zero or more arguments, separated by spaces. To include spaces in an argument, surround the argument with single or double quotes.\n\n Example command: sms 0755555555 \'This is a random text\'. This command would send a text message to 0755555555\n\n + The help command can be used to get a list of commands and help for them. Examples:\n\n
  • help — shows a list of commands\n
  • @@ -145,11 +146,9 @@ The help command can be used to get a list of commands and help for them. Exampl Wifi: off Enabling wifi… Disabling wifi… - Polling server… - Polling stopped + Starting long polling if stopped… Command %s disabled Command %s enabled - Polling every %d milliseconds Incoming message from %1$s: \"%2$s\" sent at %3$s Outgoing message to %1$s: \"%2$s\" sent at %3$s Error writing to socket: %s @@ -196,10 +195,9 @@ The help command can be used to get a list of commands and help for them. Exampl Example: wipe data - Usage: poll [ms]\n - With no arguments, polls the server once\n - With an argument, starts polling the server every <ms> milliseconds. If <ms> is 0, the polling is stopped\n - Example: poll 60000 + Usage: poll\n + Starts the long polling service if it is stopped\n + Example: poll Usage: contacts substring\n @@ -233,9 +231,10 @@ The help command can be used to get a list of commands and help for them. Exampl Example: ring on - Usage: photo hostname port\n - Takes a photo and uploads it to <hostname>:<port>\n - Example: photo 1.1.1.1 8888 + Usage: photo camera hostname port\n + Takes a photo with the given camera and uploads it to <hostname>:<port>\n + The camera is a number, usually 0 for the rear camera and 1 for the front one\n + Example: photo 0 1.1.1.1 8888 Usage: nolocation\n @@ -254,7 +253,7 @@ The help command can be used to get a list of commands and help for them. Exampl Usage: flash on/off\n - Turns the flashlight on or off\n + Turns the flashlight on or off. This is unreliable. If you have the Torch app installed, use the torch command instead.\n Example: flash on @@ -437,7 +436,6 @@ The help command can be used to get a list of commands and help for them. Exampl Example: shutdown Location tracking is active - The polling service is running Cancel Command sent Could not parse id @@ -453,8 +451,34 @@ The help command can be used to get a list of commands and help for them. Exampl Screencap successful Screencap failed. Remember: the screencap command requires root access - Usage: screencap filename - Takes a screen capture and saves it to the given filename as a PNG image file. + Usage: screencap filename\n + Takes a screen capture and saves it to the given filename as a PNG image file. This requires root access.\n Example: screencap /storage/sdcard0/screencap.png + + Usage: torch\n + Toggles the torch (flashlight). This is reliable but requires the Torch app. If you don\'t have the Torch app installed, use the flash command instead.\n + Example: torch + + Toggling torch state… + Your device has been turned on + Cannot parse camera number + + Usage: getfile filename url\n + Downloads the given url to the file described by the given filename\n + Example: getfile /storage/sdcard1 http://ieval.ro/ + + Error opening file %1$s (%2$s) + File received + Reboot failed + + Usage: sh command [arg1 arg2 ...]\n + Executes a shell command and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands.\n + Example: sh ls /sdcard/ + + + Usage: rootsh command [arg1 arg2 ...]\n + Executes a shell command as root and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands. This requires root access.\n + Example: rootsh stop;sleep 3;start +