Go Back   Android Forums > Android Discussion > Android Applications > Tasker

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By bberryhill0

test: Reply
 
LinkBack Thread Tools
Old October 1st, 2012, 01:57 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Record Audio>Save Audio File>Email Audio File??

Hello everyone, just scratching the surface of tasker and wondering if anyone can point me in the right direction to find this step by step. ...

Profile: When person incorrectly enters lock screen pattern

Task: Record Audio, Save Audio, Email Audio....

thanks in advance

By the way i already have the task to take a picture and email it to me but i cant figure out how to do the audio recording....

bnag0 is offline  
Reply With Quote
sponsored links
Old October 1st, 2012, 08:20 PM   #2 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

Record Audio is under Media. You should be able to change the Take Picture action in the picture taking example.
__________________
My Eris apps
bberryhill0 is online now  
Reply With Quote
Old October 1st, 2012, 09:03 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
Record Audio is under Media. You should be able to change the Take Picture action in the picture taking example.
Tried that : /

In the picture task its saved as %PHOTONUMBER

i think there is something specific i need to save the audio as for it to work, and i don't know it...
bnag0 is offline  
Reply With Quote
Old October 1st, 2012, 09:57 PM   #4 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

I don't see %PHOTONUMBER.
bberryhill0 is online now  
Reply With Quote
Old October 1st, 2012, 10:11 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
I don't see %PHOTONUMBER.
Here is the take photo and send via email task...
Taken from this site post#692 [APP] Tasker: Share your setup - Page 70 - xda-developers

I think if i can change the things i have in bold to audio somehow it will work but i don't know the "code" %AUDIO???

Set Profile:
Add new profile -> name it watever you want -> State -> Plugin -> Secure Settings -> Configuration: Edit -> Failed Login Attempts -> type number of attempts you want (remember to tick Device admin Enabled) -> Save -> Done

Set Tasks:
New Task -> name it yourself
Click + -> Net -> Mobi data -> On
Click + -> Net -> Wifi -> On
Click + -> Task -> Wait -> 2 seconds
Click + -> Media -> Take Photo -> Camera: Front -> Filename: %PHOTONUMBER
Click + -> Variable -> Variable set -> Name: %PHOTONUMBER ->To: 1
Click + -> Variable -> Variable add -> Name: %PHOTONUMBER -> Value: 1
Click + -> Variable -> Variable set -> Name: %EMAIL_USER -> To: your Gmail address (only Gmail support so far)
Click + -> Variable -> Variable set -> Name: %EMAIL_PSWD -> To: your Gmail password
Click + -> Variable -> Variable set -> Name: %EMAIL_TO -> To: email address you want to send to
Click + -> Variable -> Variable set -> Name: %EMAIL_ATTACH -> To: /sdcard/DCIM/Tasker/%PHOTONUMBER.jpg
Click + -> Script -> Run SL4A Script -> Name: sendemailA.py -> Pass Variables: %EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_ATTACH
Click + -> Net -> Mobi data -> Off


Any ideas?
bnag0 is offline  
Reply With Quote
Old October 1st, 2012, 10:50 PM   #6 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

I thought you were talking about the profile here:

[Profile] [front Camera] Photo/email image of device intruder
bberryhill0 is online now  
Reply With Quote
Old October 1st, 2012, 10:52 PM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
no i am trying to record audio and send it via email...
bnag0 is offline  
Reply With Quote
Old October 1st, 2012, 10:58 PM   #8 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

It's confusing because they used all caps for %PHOTONUMBER but it's just a normal variable. Use a filename like the example I linked to.
bberryhill0 is online now  
Reply With Quote
Old October 1st, 2012, 11:23 PM   #9 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

So so far i got this...

Click + -> Media -> Record Audio -> File: /sdcard/media/audio/Recording-> Source: Microphone -> Size: 50 -> Format: MP4
Click + -> Task -> Wait -> 30 Seconds
Click + -> Media -> Record Audio Stop
Click + -> Variable -> Variable set -> Name: %EMAIL_USER -> To: your Gmail address (only Gmail support so far)
Click + -> Variable -> Variable set -> Name: %EMAIL_PSWD -> To: your Gmail password
Click + -> Variable -> Variable set -> Name: %EMAIL_TO -> To: email address you want to send to
Click + -> Variable -> Variable set -> Name: %EMAIL_ATTACH -> To: /sdcard/media/audio/Recording.mp4
Click + -> Script -> Run SL4A Script -> Name: sendemailA.py -> Pass Variables: %EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_ATTACH

This will successfully save the 30 scond long recording but for some reason when i get the email nothing is attached...
bnag0 is offline  
Reply With Quote
Old October 1st, 2012, 11:26 PM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

GOT IT

Click + -> Media -> Record Audio -> File: /sdcard/media/audio/Recording-> Source: Microphone -> Size: 50 -> Format: 3gp
Click + -> Task -> Wait -> 30 Seconds
Click + -> Media -> Record Audio Stop
Click + -> Task -> Wait -> 10 Seconds
Click + -> Variable -> Variable set -> Name: %EMAIL_USER -> To: your Gmail address (only Gmail support so far)
Click + -> Variable -> Variable set -> Name: %EMAIL_PSWD -> To: your Gmail password
Click + -> Variable -> Variable set -> Name: %EMAIL_TO -> To: email address you want to send to
Click + -> Variable -> Variable set -> Name: %EMAIL_ATTACH -> To: /sdcard/media/audio/Recording.3gp
Click + -> Script -> Run SL4A Script -> Name: sendemailA.py -> Pass Variables: %EMAIL_USER,%EMAIL_PSWD,%EMAIL_TO,%EMAIL_ATTACH
bnag0 is offline  
Last edited by bnag0; October 1st, 2012 at 11:31 PM. Reason: Added 10 sec of wait after recording stop
Reply With Quote
sponsored links
Old October 1st, 2012, 11:29 PM   #11 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now i plan to set that 30 seconds to about a minute and set the profile up so when someone fails at entering my pattern it not only takes a picture of them but also records audio for 1 minute....

You could also throw your phone on vibrate text a key word and have it record audio and send to your email :0 spyphone
bnag0 is offline  
Reply With Quote
Old October 1st, 2012, 11:33 PM   #12 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

And add the GPS coordinates so you know where your phone is....
SUroot likes this.
bberryhill0 is online now  
Reply With Quote
Old October 2nd, 2012, 06:11 AM   #13 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2012
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
And add the GPS coordinates so you know where your phone is....
Yea i have a separate Profile for that, I wish you could put like 5 tasks in one profile... I guess you could make one really long task...
bnag0 is offline  
Reply With Quote
Old October 2nd, 2012, 11:02 AM   #14 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,339
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 777
Thanked 338 Times in 301 Posts
Default

Or you could have one task that Performs the other tasks.
bberryhill0 is online now  
Reply With Quote
Old October 5th, 2012, 06:49 AM   #15 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
And add the GPS coordinates so you know where your phone is....
Then use face recognition to pick them out of your contacts list (if in it) and send them a text and email saying "I KNOW WHAT YOU DID!!!"
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
bberryhill0 (October 5th, 2012)
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:03 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.