X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=res%2Fvalues%2Fstrings.xml;h=27e9ac6e8e524c20e749f7276bacf04888434953;hb=828b60f224e51edfb1840d03f7a6d745b44e01b7;hp=15fb4d9962f99c62f728be865c2300dbf7d1a567;hpb=06a86a92d44173f1cdd7e595259596f09f30142f;p=fonbot.git
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 15fb4d9..27e9ac6 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
- Register an account\n
- 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
@@ -448,6 +446,28 @@ The help command can be used to get a list of commands and help for them. Exampl
With three arguments, shows a notification with title <title> and text <text> and id <id>. This replaces any previous notiifcation with the same id.\n
With one argument, removes the notification with id <id>\n
Example: notify 10 Hello \"Hello, world!\"
-
- User or password not set
-
\ No newline at end of file
+
+ User or password not set
+ Screencap successful
+ Screencap failed. Remember: the screencap command requires root access
+
+ 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
+