event on time - Android Studio

I just started to make some apps with visual studio, but i get stuck now.
I have build an app which can read an incoming sms. The sms normaly comes in every 5 or 10 min. But sometime it doesn't en now i want to check if the time has exceeded and than send an sms.
I can't find anywhere on internet a simple example with an time event handler which should come in action wenn the time exceeds the time wich has been set to 5 or 10 min.

Related

[REQ/Q] E-mail tweaks question

Hello all,
I've been using my E-mail option quite a bit on my Touch Pro lately, and I've noticed that the 5 minute update interval is a bit too long for my taste (despite the option to manually send/receive).
Therefore, I am curious as to whether or not it is possible to make a registry edit, install a program, or in any way add an option to make the update interval less than every 5 minutes (say for example, every 30 seconds)?
Also, whenever there is a new e-mail, there is a notification symbol which appears on the taskbar. Along with that, is it possible to create another registry edit / addition which would allow the phone to:
1) wake up upon new e-mail,
2) make a notification sound upon new e-mail (similar to new SMS), and
3) vibrate upon new e-mail?
FWIW, I'm using a Comcast E-mail account on the Pro.
Thanks in advance for any assistance.
Just go to Settings - Sounds & Notifications, the notifications tab and change the Event to Messaging: New Email Message. Have 'play sound' checked and choose the sound you want; check Display message on screen and check vibrate. i think that will do it.
As for checking for new emails, you can try this app: http://forum.xda-developers.com/showthread.php?t=438970
I have an exchange server so I don't know the answer otherwise. Setting it to less than 5 minutes may lead to a battery drain so if you do that use the scheduler to make it longer (or off) over night.
Thanks for showing me the settings adjustment. I suppose it isn't such a good idea to have the phone check for e-mails THAT often. As long as I can hear when a new e-mail has arrived, it should do the trick for me.
WildAce786 said:
Hello all,
I've been using my E-mail option quite a bit on my Touch Pro lately, and I've noticed that the 5 minute update interval is a bit too long for my taste (despite the option to manually send/receive).
Therefore, I am curious as to whether or not it is possible to make a registry edit, install a program, or in any way add an option to make the update interval less than every 5 minutes (say for example, every 30 seconds)?
Also, whenever there is a new e-mail, there is a notification symbol which appears on the taskbar. Along with that, is it possible to create another registry edit / addition which would allow the phone to:
1) wake up upon new e-mail,
2) make a notification sound upon new e-mail (similar to new SMS), and
3) vibrate upon new e-mail?
FWIW, I'm using a Comcast E-mail account on the Pro.
Thanks in advance for any assistance.
Click to expand...
Click to collapse
Kiss your battery life goodbye!

App to send SMS with GPS istantly and not after 10 min?

Hi guys, I'm searching an app that make me send automatically sms when I?m on a exact gps position... I've tryed Locale and setting profile but they turn on gps only every 10 min and so when I pass through that position, they don't notice, the position so don't send the sms.... There's an app that send instantly the sms taking position istantly and not every 10 min? Thank you! bye bye
No one need this fuction?

Automated phone calls

Does any one know how to set up tasker to make phone calls at certain times. I need to do this for call forwarding purposes for business.
M-F 6AM turn off forwarding followed by forwarding to a phone number.
M-F 3:45 PM forward calls again.
Thanks
Okay, I think I got it, time will tell.
Create profile based on Days>task = make a phone call>+ to profile time
Will know if all my calls take place in 24 hrs.
If you set a state context for a day then it could become active over and over which will cause your task to run and your call to be made over and over, so set more than just a day context.
Instead set the task to set a variable containing the time to fire (like %FWDTIME etc )
Then set another profile with a time context to run
from %FWDTIME to %FWDTIME with the call task. Then clear %FWDTIMEif you want to cancel the call (like if you're currently on a call or watching porn etc)
Clear the variable on entry and it will only run once
Then multi contexts like day, and if %FWDTIME not set, and %TIMES (CURRENT TIME IN SECONDS) is lessthan 3pm then set %FWDTIME to 3PM IN SECONDS (whatever the call time)
if the %FWDTIMEis not set AND the current time is before the call time then set the variable and when 3pm hits it will only run the task if the variable %FWDTIME Is set

Send a auto massage with WhatsApp

First off all let me explain what i like to do with a Tasker project.
In Holland it is forbidden to use your mobile while driving your car (off course it is), but when i'am driving a lot of friends send me WhatsApp messages.
Is there a task that makes Tasker do 3 things
Know what my speed is (above 50 Km per hour)
Send a message back to the one how sends me a message
And waits for the next one
Is there someone here that can advice me on this thing
Regards
Pierre

Send automatic SMS but different text body

Hi,
i am tyring to set a task in tasker to send an SMS to a specific number. this sms is used to pay my parking tickets. the thing is i will be adding this task to a scene or to zooper later, and the text i want to send changes from time to time.
the body of the message is "plate number, categoy, number of hours".
i have 2 plate numbers (mine & wife), there are 2 categories (prime & standard) and number of hours is capped at 8 hours
so it would look like "111AE S 8" or "452RT P 2"
is there a way i can make tasker ask me if i want to send sms for prime or standard location and how many hours?
my initial thinking was to have a scene in tasker that shows me 3 drop down menus for the 3 items (plate, cat. & hours) and then the send button that combines all 3 drop downs. is this possible? or any other way?
thanks
Set a variable, %whichtopay and then always pay %whichtopay but set %whichtopay to whatever u want.
Put a widget, that pops up a list, and when you tap the list, it sets the %whichtopay variable to whatever you clicked then disables itself.
Yah we good bruh

Categories

Resources