• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Profile] [front Camera] Photo/email image of device intruder

For those of you who likes to save battery and you have data off, the sendemail will fail if data is off and you will not receive an email. Here's what I did. Tested it and it works for ME!
You can adjust the wait time and some may not need to have that task. For me it takes a few seconds to bring data up.
I added task 2, 3, & 10
 

Attachments

  • uploadfromtaptalk1347717487902.jpg
    uploadfromtaptalk1347717487902.jpg
    57.1 KB · Views: 177
  • uploadfromtaptalk1347717513574.jpg
    uploadfromtaptalk1347717513574.jpg
    59.3 KB · Views: 120
Upvote 0
I got it to work but I have to say, the instructions were a bit confusing. SL4A doesn't come with Tasker, I had to download it from the link since it's not on the Play Store either. Once I have SL4A installed, I opened it, and installed Python, I had to open Python and click on the install button. It downloaded and extracted some files, IDK what they were. Then I set up the email client on my phone and linked it to my Google account (I'm not sure it that was necessary or if the Gmail app would have been enough).

After I did all that it still didn't work. I went into Tasker and opened the Task and pressed the play button, I got a "EMAIL_USER missing". I had to edit this:

+ Script > Run SL4A Script > Name (Search icon) sendemailA.py > Pass variables "%EMAIL_TO,%EMAIL_ATTACH,%EMAIL_SUBJECT"

into this:

+ Script > Run SL4A Script > Name (Search icon) sendemailA.py > Pass variables "%EMAIL_USER,%EMAIL_PSWD, %EMAIL_TO,%EMAIL_ATTACH,%EMAIL_SUBJECT"

And that worked.
 
  • Like
Reactions: SUroot
Upvote 0
Thanks

Yes you're right I missed two variables when I copied the text (you know you simply could have imported the profiles right? The steps are not so relevant now.)

I too had to install sl4a but a couple of people in the first few posts said it now came with tasker. Amended back.

There is a link that explains how to install interpreters (such as python). I am not responsible for its content however.
 
Upvote 0
Thanks

Yes you're right I missed two variables when I copied the text (you know you simply could have imported the profiles right? The steps are not so relevant now.)

I too had to install sl4a but a couple of people in the first few posts said it now came with tasker. Amended back.

There is a link that explains how to install interpreters (such as python). I am not responsible for its content however.

I did see the link to download the profile but it says it's untested so I figured I'd do it manually. It was better that way because I learned a few things along the way :thumb:
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones