View Single Post
Old September 12th, 2012, 10:28 PM   #13 (permalink)
biggoog
Member
 
biggoog's Avatar
 
Join Date: Jan 2012
Location: Detroit Michigan
Gender: Male
Posts: 124
 
Device(s): Samsung Galaxy S3 BlackBean#6 and CyaongenMod 10 Nightly d2mtr- LG-Esteem OC@1.9 ROM#2
Carrier: Metro PCS

Thanks: 141
Thanked 13 Times in 11 Posts
Default

Quote:
Originally Posted by SUroot View Post
This is a mid-level complexity profile that takes a photo of someone who incorrectly enters your pattern lock (in this example) twice and emails it to you.

This is based on multiple examples found but this is my own spin on it.

The filename of the photo is always the same so it overwrites itself, saving space because if, like me, you often put your pattern in wrong, you'll end up with a million pictures of yourself

Pre-requsites:

  1. SL4a apk - android-scripting.googlecode.com - This should now come with Tasker.
  2. Secure settings - Google Play
  3. Folder \sdcard\sl4a\scripts containing - sendemailA.py
  4. Python - Install through SL4a as below:



Creating the profile:


Profile
  • Add (+) Profile, name "Intrusion"
Context
  • Select State > Plugin > Secure Settings > configuration Edit > Failed Login Attempts > (set your number, Tick "Device admin" and save
Task
  • New Task
  • + Media > Take Photo > Camera "Front" > Filename "Last-intruder" (and apply)
  • + Variable > Variable Set > name "%EMAIL_USER" to youremailaddress@here.com
  • + Variable > Variable Set > name "%EMAIL_PSWD" to youremailpassword
  • + Variable > Variable Set > name "%EMAIL_TO" to youremailaddress@here.com
  • + Variable > Variable Set > name "%EMAIL_SUBJECT" to "SGS3 INTRUSION ATTEMPT"
  • + Variable > Variable Set > name "%EMAIL_ATTACH" to "/sdcard/DCIM/Tasker/last-intruder.jpg"
  • + Script > Run SL4A Script > Name (Search icon) sendemailA.py > Pass variables "%EMAIL_TO,%EMAIL_ATTACH,%EMAIL_SUBJECT"
  • Apply
Takes pic sends to my drop box but does not send me an email??Followed all the steps ?????
biggoog is offline  
Reply With Quote