[Android Apps and Games] brandall:
Sherlock droid!

Thanks for all of your encouragement and feedback so far, please keep it coming, it's the only way to get this right. The best ideas are often the most simple, so please do not be afraid to post. If anyone flames you, they'll be struck off my 'Tasker help list'!

V1 BETA Set-up

(Of course completely open to change by your input)

There will be four contexts for you to activate:

SherlockGreen

Situation Example: Device left moments ago on a train or in a restaurant. Drastic action is not required. Hopeful of good and honest Samaritan retrieving device.

SherlockAmber

Situation Example: Honestly, I'm not sure! You tell me....

SherlockRed

Situation Example: Device has definitely been stolen. Voluntary recovery unlikely. Ultra sleuth recovery mode and potential device wipe/brick.

DrWatson

Situation Example: You've woken up still drunk. Can't remember anything (apart from your 'Sherlock Codes'!). Can't find your phone. It could just be under the sofa. Perform single adhoc actions such as manual loud tones and vibrates etc etc.

Work in Progress

Preparation

* Make sure GPS and Wifi are checked in Menu/Settings/Location & Security (Google tells us that in Gingerbread no additional resource is used)

* Download SherlockGreen.zip from post #3

* Create a folder: /sdcard/Tasker/Sherlock

* Use the tone in the .zip and drag into the /Sherlock folder or use and rename your own SherlockGreen.ogg (if using .mp3 change action #13 & #16 in the task SherlockGreen

* Copy any picture into the /Sherlock folder and rename SG-ContactWallpaper.jpg (adjust in above task, action #9 if necessary)

* For testing, enter your own number in:

SherlockGreen - Action #1, #7

SG-FoundOk - Action #4, #7

SG-FoundNo - Action #3

* For full testing, set networks to 2g only and data connection and wireless off.

Don't forget to run (by pressing 'test') SherlockVarClear first and then after each test you run.

Either press 'test' in SherlockGreen , press done and apply and return to the home screen or text yourself sherlockgreen123

SherlockGreen V1 BETA Explained

SherlockGreen V1

SherlockGreen

* Kicked off by received text from any number with content 'sherlockgreen123'

* First priority to alert your Sherlock contact(s) that you've lost your device and they need to be ready to let you know what information they receive.

* Switches on 3g preferred and data connection (if they were off) and uses them and GPS to get a location.

* Sends location via text to Sherlock Contact. Time out set to three minutes in case of no fix.

* Wallpaper changed to show number 'Samaritan' is to dial.

* Screen time out increased.

* Display Brightness increased.

* Alert sound kicks off x 2

* Speech alerts Samaritan to pick up your phone x 2

SG-FoundMenu

* Activated during the above

* Screen prompt to 'PRESS HERE'

* If pressed, SG-FoundOk kicked off

* If not pressed, SG-FoundNo kicked off

SG-FoundOk

* Stops alert and speech to prevent being off-putting!

* Sends SMS to confirm manual interaction with screen at SG-FoundMenu (Battery level added in V2)

* Speech thanking Samaritan

* Another GPS location sent by SMS

* Screen alert asking them to enter their number if they'd prefer.

* Wait task ticks down...

* If no Samaritan contact perform task XXXXX <-- next stage

SG-FoundNo

* Instructs to restart SherlockGreen

* IF created loop variable %SHERG is less than 4 (to limit repeats)

* Another GPS location sent by SMS (SherlockGreen will have already sent 3)

* Perform task XXXXX <--- Next stage

SherlockVarClear

* To clear the created variables for testing purposes.

Testing thoughts and requests

* A low resolution SG-ContactWallpaper.jpg is needed that fits above and below the menu task and is easy for us all to edit in basic 'paintshop' and the menu background too VOLUNTEER NEEDED!

* Should SherlockGreen allow the device to be unlocked and load up the dialler if Samaritan screen interaction is made in SG-foundMenu?? :eek:

* Need the most alerting alert of alert tones evar! Upload your suggested tone in a .zip!

Sherlock Green V2?

(* Battery level added in V2

* Should the SMS volume be muted and notification switched off to avoid alerting 'thief'?)

Dr Watson V1 BETA

Preparation

* Make sure GPS and Wifi are checked in Menu/Settings/Location & Security (Google tells us that in Gingerbread no additional resource is used)

* Download DrWatson.zip from post #3

* Create a folder: /sdcard/Tasker/Watson

* Use the tone in the .zip and drag into the /Watson folder or use and rename your own drwalert.ogg (if using .mp3 change action #4 in the task DrWAlert

* For testing, enter your own number in:

DrWLocation - Action #6

* For full testing, set networks to 2g only and data connection and wireless off.

DrWatson V1 BETA Explained

DrW-PopUp

* Purpose - display received text content as a pop-up on the screen

* Activated by the receipt of an SMS (from any sender) containing the text 'drwpop'.

* Note: In the context it states 'drwpop*'. The '*' is a wild card, so Tasker will allow further body text to be included in the same SMS.

* SMS body text (%SMSRB) is split at '###' until '###'

* Your SMS must therefore be 'drwpop ###THIS WILL DISPLAY ON THE SCREEN###'

DrW-Alert

* Purpose - Vibrate, torch and sound for localised searching.

* Activated by the receipt of an SMS (from any sender) containing the text 'drwalert'.

* If Tasker is handing your notification sounds, a 5 second wait is required in action #1 to prevent the alert sound being killed.

DrW-Location

* Purpose - Adhoc location request

* Activated by the receipt of an SMS (from any sender) containing the text 'drwlocation'.

* GPS & NET locations sent with accuracy [V2 Google maps link with pointer sent for both].

* Battery status included.

DrW-Tasker

* Purpose - Populate the created variable %DRWVAR

* Activated by the receipt of an SMS (from any sender) containing the text 'drwtasker'.

* SMS body text (%SMSRB) is split at '###' until '###'

* Your SMS must therefore be 'drwtasker ###1###'

DrW-Var

* Purpose - Triggered when %DRWVAR is set to '1' to perform actions.

* Note: Actions are up to you. Examples included are to set profile status 'XX' to off and set profile status 'XX' to on. These actions could be to turn on battery saving profiles you have or to turn off battery intensive profiles or profiles you consider may conflict with future actions such as notification control or to cease data connectivity under certain conditions. Turning off the sms preview in the notification bar and silencing the sms notification would be an obvious choice.

Testing thoughts and requests

As a reminder, 'Dr Watson' is supposed to be when you're not certain where your device is and are not overly concerned. That said, the ad hoc functions may well be useful under 'Sherlock circumstances'.

It is theoretically possible (a statement used when I haven't quite fathomed out how yet!) using a combination of DrW-Tasker & DrWVar that you can request Tasker to SMS/e-mail you any requested variable. For example, if you populate a created variable %DRWVAR-REQUEST with the body text of '###%UPS###' - you could then request that another created variable is set to %DRWVAR-REQUEST (= %UPS) and an SMS is sent containing %DRWVAR-REQUEST-POPULATED which is %UPS! You therefore receive a text with 'up time in seconds...' You with me.... :confused:

I'm starting to forget my 'codes' already!

----------------------------------------------------------------------

----------------------------------------------------------------------

Over to you for a while now folks. Please test and provide your complete feedback. All I've done so far can be deleted if you think it's heading in the wrong direction and I won't be bothered - let's get this right...

To help by searching this thread PLEASE ADD A TITLE TO YOUR POSTS detailing the task or context you are referring to - otherwise 'general suggestion' etc etc.

Please clearly document/explain any changes you suggest to the tasks/contexts in your posts using the 'copy to clipboard' in Tasker and then pasting here, with a .zip for good measure!

----------------------------------------------------------------------

----------------------------------------------------------------------