X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=res%2Fvalues%2Fstrings.xml;h=b1253262f45982e23571d94e4413b3fdda6b3bcc;hb=6926b04deddff9e091ed1e7319fd20cd485d9f57;hp=8b4dd013bf6721e201915c78780816e7fb168822;hpb=740a6fa59649fc6edced392dbbdcd74363f489c5;p=fonbot.git diff --git a/res/values/strings.xml b/res/values/strings.xml index 8b4dd01..b125326 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,30 +1,32 @@ 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_USERNAME YOUR_PASSWORD" to fonbot@ieval.ro, then send commands\n
  • +
  • via Yahoo Messenger: Login by sending "login YOUR_USERNAME 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
  • -
  • help sms — shows help for the ls comand
  • +
  • help sms — shows help for the sms comand
User tapped \'%s\' User navigated away from dialog User canceled dialog + Admin disabled Admin disable requested Admin enabled Device password changed @@ -32,7 +34,7 @@ The help command can be used to get a list of commands and help for them. Exampl Device login succeeded Logging in… Phone is now idle - "Phone is ringing. Incoming number: " + "Phone is ringing. Incoming number: %s" Phone is offhook Location Latitude @@ -145,11 +147,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 +196,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 @@ -218,9 +217,14 @@ The help command can be used to get a list of commands and help for them. Exampl Usage: sms phone_number message\n - Sends an sms with text <message> to <phone_number>.\n + Sends an sms with text <message> to <phone_number>. This command requests a delivery report. If you do not want one, use the SMSQ command.\n Example: sms 0755555555 \"Test message\" + + Usage: smsq phone_number message\n + Sends an sms with text <message> to <phone_number>. This command does not request a delivery report. If you want one, use the SMS command.\n + Example: smsq 0755555555 \"Test message\" + Usage: setpassword [password]\n With no argument, clears the device password.\n @@ -255,7 +259,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. This is unreliable. If you have the Torch app installed, use the torch command instead.\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 @@ -438,7 +442,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 @@ -460,7 +463,7 @@ The help command can be used to get a list of commands and help for them. Exampl 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 + 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… @@ -473,4 +476,23 @@ The help command can be used to get a list of commands and help for them. Exampl 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 + + This command is not documented (yet). + SMS sent (%s) + SMS not sent: Generic failure (%s) + SMS not sent: No service (%s) + SMS not sent: Null PDU (%s) + SMS not sent: Radio off (%s) + SMS delivered (%s) + SMS not delivered (%s)