Tasker say events for the day from ICS - Tasker Tips & Tricks

Thanks to this post https://forum.xda-developers.com/u/tasker-tips-tricks/guide-read-google-calendar-events-day-t3332783
I learned some more about Tasker, and modified it to read the calendar events from ICS. Downloaded by Google calendar private link.
The original post was somewhat slow for me, because it had to poll events every 15 minutes.
Just thought I share this here, just need to put in your privat link (or multiple) at step 4.
Didn't have time to describe everything in detail.
Have fun with it.
This needs getFormatedDate, files below:
https://github.com/ChrisN82/TaskerSayEvents/blob/master/getFormattedDate.tsk.xml
https://github.com/ChrisN82/TaskerSayEvents/blob/master/Say_Google_Calender_Events.tsk.xml

Related

Ability to move messges to/from email app folders

Hi - Long time reader, first time poster. I've been using Android since its days of inception, and following a specific feature that has been an left out since 1.0 was released #1128; I also encourage you to star the issue/feature if its important enough for you. The stock Email app pre 2.0 was a joke at the least, although 2.0 made it far more robust, this specific feature is no where near resolution. I wanted to know if others in the forum have found a solution (another app, modified Email app, etc) instead?
If not, then I'm willing to take a stab at the Email app code and see if I can add this feature myself. Before I go that route, any suggestions are welcome.
*bump* Are there really no suggestions on this guys? I tried K9, and it doesn't offer the ability to move emails between folders either

Google+ "Invite Available" Notification Script

Purpose
With all the rage around getting a Google+ invite, there is a small problem: Even with an invite, you might not be able to get into Google+ for several days. nibras_reeza and I have been working on a script that, once you've received an invite, will keep checking the signup page to see if you can sign up. YOU MUST HAVE AN INVITE FOR THIS SCRIPT TO BE USEFUL!
Features
* Automatically checks Google for when registration is open
* Displays a running total of refreshes
* Works in Chrome, Firefox, and IE (w/ Trixie)
Special Thanks
Nibras Reeza - motivated and helped me write this; running the notification form and general debugging
"_mousey" - fixed a caching issue, IE support, and debugging
"thrasher9" - "how many times have I pinged Google?"
Version
0.000005 - Fixing stupid merge issues (thanks Nibras and _mousey!) and merged _mousey's IE support (http://forum.xda-developers.com/showpost.php?p=15456658&postcount=201)
0.000004 - Merged changes from Nibras, _mousey, and thrasher9 into the main script
0.000001 - Initial
Instructions
READ THIS!
1. Install this script. For Chrome, simply download the file, drag it to Chrome, and authorize the install
2. Go to your Google+ invite, click on the "Join Google+" link
3. The script should take over--your browser will jump to the "Field Test" page. You can monitor this progress by pressing Ctrl-Shift-J to view the javascript console.
4. When registration "opens", the script will stop refreshing. You should see a form on the page asking for some info to sign up. DO THIS AS QUICK AS POSSIBLE!
5. Come back here and post about your success!
Note 1: Just because you see the sign-up form doesn't mean you'll get in. Therefore, it is pointless to leave this running overnight; even though you may see a sign-up form in the morning, chances are it won't work.
Note 2: If Google is not displaying in English, then you'll need to edit line 45. More info here (Thanks _mousey!) http://forum.xda-developers.com/showpost.php?p=15430390&postcount=161.
Note 3: If you want to run this in IE, use Trixie (Thanks _mousey!) : http://forum.xda-developers.com/showpost.php?p=15425549&postcount=152
Implementation
(the boring stuff)
Original post: Link
Attached is a Greasemonkey script for Google Chrome (probably doesn't work for Firefox...). Install it in your browser, click the "view or comment" link in the invite you received. The script will find the "Join Google+" link, save the URL, then navigate to the page. If the page contains a DIV with "Field Trial", it will wait 5 seconds, then refresh. This should happen until either a) Invites work again, b) Google opens G+ to the world, or c) Google gets pissed at you and blocks your address.
Click to expand...
Click to collapse
I successfully used this script to sign up for Google+, and so have many other people.
Not necessary anymore. Use the version by Adam above. He integrated mine into his.
TIP for Android users:
(Some said this works but I can't make any guarantee. Worth a try.)
Apply for an invite in my form using a GMail account. Once you receive my invite, download Google+ from the Market(use Market Enabler or Root Toolbox and emulate a US carrier if you are outside US. You need ROOT.)
Now, sign into your GMail account on your phone. (Settings->Accounts and Sync->New Account->Google) Skip this if you submitted the account you already use on phone.
Open up Google+ on Android and sign in.
ONLY ONE PERSON HAS TO RUN THE SCRIPT. ANYONE CAN CHECK STATUS PUBLICLY.
SCRIPT UPDATED. USE THE NEW VERSION.
Here's a fork I made. This version logs available times publicly on a Google Docs Spreadsheet. I want someone who has a spare unused invite and has not registered to run it continuously.
And, I owe a lot for Adam to working so hard to write the script. He did all the hard work of digging into the code. xD I just made a fork. lol
Here's the public URL(TIME IS IN +0530GMT/+1030EST):
https://spreadsheets.google.com/spr...pUTOhdHdwLUZOTmlOWHNvbzR0M19iSTNzdmc&hl=en_GB
Just subscribe by notifications for changes made to the doc and you will be notified by email when registrations are open.
ONLY ONE PERSON HAS TO RUN THE SCRIPT. ANYONE CAN CHECK STATUS PUBLICLY.
SCRIPT UPDATED. USE THE NEW VERSION.
Click to expand...
Click to collapse
"Available" means registrations are open?
wascaa said:
"Available" means registrations are open?
Click to expand...
Click to collapse
Exactly.
Think of it as a club: You're standing in line (G+ invite) waiting to get in. The bouncer finally decides to let a few people in (registration is open). You get lucky and he lets you in (success).
Damn! Wish I had my invite right now!
Are you still sending invites to the ones that registered to your spreadsheet?
Great work anyway!
Just another quick question which time zone is used for the times?
wascaa said:
Damn! Wish I had my invite right now!
Are you still sending invites to the ones that registered to your spreadsheet?
Great work anyway!
Just another quick question which time zone is used for the times?
Click to expand...
Click to collapse
I did send an bulk invite a few minutes back. It's taking hours to go through.
The time on what? My spreadsheet which says when registrations are open? It's SLST(+0530GMT). I'll try to change it to EST.
Hello Nibras,
I installed the script and removed all cache and then clicked on the 'view or comment on Nibras's post'. It automatically navigated to the registration page but then never refreshed! or is it refreshing and I can't tell?
What do you mean by 'DIV with "Field Trial"'? How can I tell if the page contains it? sorry if this was a dumb question, but I don't understand it.
It's adam's script. Not mine. Don't bother about the div stuff. It just explains how the script works.
Just install the script on Chrome or Greasemonkey or Tampermonkey.
Click view or comment on nibras's post. Then the script will reload the signup page till Google allows signups. (Make sure you are signed into your Google account before you try all these.)
idk how to use this script? all it does is it blocks me from visiting the google plus website because it is killing my chrome with a lot of spamming a page which says: "available!" which will open many times until my chrome crashes
EDIT: damn my fault, i need to get the invite mail first! im sorry !
nibras_reeza said:
It's adam's script. Not mine. Don't bother about the div stuff. It just explains how the script works.
Just install the script on Chrome or Greasemonkey or Tampermonkey.
Click view or comment on nibras's post. Then the script will reload the signup page till Google allows signups. (Make sure you are signed into your Google account before you try all these.)
Click to expand...
Click to collapse
But it doesn't seem to refresh. Shouldn't I notice it refreshing every 5 secs.?
Open the Chrome JavaScript console, you should see a message every time it refreshes.
Sent from my ADR6300 using XDA Premium App
Not sure if I'm doing it right but I've been running it for an hour with no joy. I can see it refreshing but it always stays on Keep Me Posted
(This is with greasemonkey in firefox)
Anyone had any luck with the script? Seems like it should be exactly what I am looking for! (Thanks Adam!!)
The script worked for me. Thank you guys. ;-)
Sent from my Nexus One
monkley said:
Not sure if I'm doing it right but I've been running it for an hour with no joy. I can see it refreshing but it always stays on Keep Me Posted
(This is with greasemonkey in firefox)
Anyone had any luck with the script? Seems like it should be exactly what I am looking for! (Thanks Adam!!)
Click to expand...
Click to collapse
As long as it keeps refreshing your page, it is working. I would suggest moving the window off to the side and keep an eye on it. The right hand side of the page that tells you there is no room will switch to a log-in form whenever Google feels like it. The script itself doesn't make Google give you the invite any faster, it just makes you aware that you can sign-up within 5 seconds of it being available.
Mucho thanks, hopes I gets lucky now.
Adam.h.ogle said:
Open the Chrome JavaScript console, you should see a message every time it refreshes.
Sent from my ADR6300 using XDA Premium App
Click to expand...
Click to collapse
This is the console open for around 5 minutes with no msgs. I know its not refreshing, but I don't know why. I downloaded you zip file and extracted the JS file, then opened a blank chrome page and dragged the file into the blank page, it asked me if i want to install it and i clicked continue. When I go to extensions I can see G+ invited there. When I open the 'comment or view' link, it takes me to the post with the red button saying 'Join G+' and then automatically redirects me to the page attached, but it doesnt refresh.
Am I doing something wrong?
EDIT: it worked now after pressing Ctrl+F5 several time. I think it was a problem of cache, although I have deleted all cache and cookies.
Anyway thank you Adam and Nibras. Will let it run overnight and see what happens
Adam.h.ogle said:
As long as it keeps refreshing your page, it is working. I would suggest moving the window off to the side and keep an eye on it. The right hand side of the page that tells you there is no room will switch to a log-in form whenever Google feels like it. The script itself doesn't make Google give you the invite any faster, it just makes you aware that you can sign-up within 5 seconds of it being available.
Click to expand...
Click to collapse
I'll let it run over night then and maybe there'll be a present for me in the morning!
Thanks again for the script, I figured someone would sort something automated in the end and am happy to have found it.
I have another concern, could it be that chances for US residents are better than non US? do you advise me to use a proxy, or it doesn't matter?
I don't have any facts to back this up, more of just some thoughts into how I might implement the invitation system:
Let's say you start the script before going to bed around midnight. The script runs for 2 hours, Google allows some people into the system, your browser stops refreshing because you have a sign-up form. Success, right? I don't think so. My guess is that Google is allowing a set number of people to sign up at defined intervals. Just because you see the form doesn't mean that you will be able to create an account, otherwise, we could just sniff the form post and duplicate it for every member that wants an account[1]. So, you wake up in the morning, seeing a sign-up form, frantically fill it out, only to discover that you were ~8 hours too slow and too many other people beat you to it.
My recommendation is that you only run the script when you are within arms-reach of your computer, as I'm not sure how much time you have between seeing the form and having it rejected.
Thinking more about what Nibras and I have discussed, since this is a beta, Google would want to control the amount of people in the system. Also, they would need to have many servers to handle all the traffic. It would be dumb to put all those servers in one location (US or UK), as the latency would kill the experience for anyone outside of that country. So, if Google has a bunch of servers spread across the globe, then they would probably want to try to encourage people around the world to sign up, instead of just having 99% of their testers from one country. This might explain why we are seeing invites being sent at odd times, and why people are being allowed to sign up at odd times.
Alternatively, they may be releasing ~1000 invites at a time, first come, first serve. And there's some dude staring at a bank of monitors, watching all the threads across the net (just like this one), giggling as we try to figure out what they're doing. And this dude, whenever he gets bored, he presses a button and lets a few more people into the system.
[1] If anyone is nerdy enough to sniff the traffic, I would be curious what it is submitting, just in case I'm wrong. In theory, we could create accounts for everyone, at least until Google patches the issue.
EDIT: Odds for US or non-US people? I don't really think it matters.

[Q] S Planner - no direct link with Maps?

I am a fresh owner of a Note and am overal extremely happy with the device after my first week of use.
Many thanks also for this great forum, which has helped me discover many tips and tricks that would have taken me a very long time to discover myself!
I have however stumbled upon a very annoying missing feature in the built-in calendar, the S Planner, that apparently has not been discussed by others yet.
An extremely handy option which I used all the time in the standard Android calendar of my now retired Motorola Milestone, was the standard link between the location of events and Google Maps.
Once a calendar item including correct address was entered in my Google calendar, either trough a browser, my phone or even synced Outlook account at work, I only needed my phone to make sure I could easily get there.
In the standard Android calendar you can just click on the location of any event and Google Maps is automatically fired up with this location as the destination.
In the S Planner this link between the location of events and Maps is apparently missing. Which for me is a huge miss. Of course you can start editing the calender entry, copy the address and paste it in Google Maps.
But the big advantage of smartphones, at least for me, is the seamless integration of its many different capabilities.
This is in fact such a huge miss that I really would prefer to use the standard calendar. Which unfortunately can not simply be installed from the Android Market.
I really hope others in this forum have already stumbled upon this problem and found a solution. Maybe I am just missing something, even though I have searched quite a bit already.
And I really hope Samsung solves/improves this very quickly and/or even better, gives us at least the choice for the standard Google calendar. After all choice is Android's greatest strength.
Solved ... by SAMSUNG
Just a quick reply to my own post in case someone else would be confronted with the same problem and stumble upon this thread.
After receiving two consecutive OTA updates which brought my phone from KK5 to KL7 and then immediately afterwards to LA4, it appears the issue has been solved and Samsung incorporated a link between the location of events in the S-Planner and Google Maps.
... modifying my phone from a nice piece of equipment into the perfect tool
Map integration - question
Hi, I have the same problem that you did - how did you get your phone to update? I regularly check for updates with Kies and it refuses to upgrade to the firmware version that you mentioned. Any advice you can offer would be appreciated. Thanks.

Where to request app to be made

Hi, I'm not looking anything Illegal. I hope someone can point me in the right direction. This would just collect time stamps already shown.
I want a time tracking app for FB.
It can be run off a browser. It would goto a selected friends message and according to the time stamp document their FB time.
Example. Already on FB in the message top it states Active Now, Active 7 minutes ago.... It would just check and log according to the preferences.
It would produce a time log. Active from 12:02 am - 3:am Active from 7:01pm-7:05pm.
Is this already out there?
20GT said:
Hi, I'm not looking anything Illegal. I hope someone can point me in the right direction. This would just collect time stamps already shown.
I want a time tracking app for FB.
It can be run off a browser. It would goto a selected friends message and according to the time stamp document their FB time.
Example. Already on FB in the message top it states Active Now, Active 7 minutes ago.... It would just check and log according to the preferences.
It would produce a time log. Active from 12:02 am - 3:am Active from 7:01pm-7:05pm.
Is this already out there?
Click to expand...
Click to collapse
Hi there, I think I understand what you want but not sure it's possible. Facebook only says the last time you were online / active, so it doesn't record the spaces between old posts.
For example, for the following
Bob : Posts a status update a 8:00 am
Bob : Stays online, just reading and looking at other peoples posts
Bob : Posts a status update at 10:00 am
Bob : Goes offline straight after posting the message
Fred : Posts a status update a 8:00 am
Fred : Goes offline straight after posting the message
Fred : Posts a status update a 10:00 am
Fred : Goes offline straight after posting the message
For both users, if you look at their page it will suggest that they were last active at 10:00 am but it won't tell you that Bob was online the whole time since 8:00 am but Fred wasn't. So all you would be able to assume at best is that the person has been online continually ever since their first post was ever made (or that day, but that assumes they weren't on Facebook prior to midnight until past midnight).
Yes you are correct. They could be online.
I only want to know when they are active.
I almost have a macro for PC written to screen shot that area.
OCR it, and save it in note pad with a time stamp.
But I would rather have an app.
20GT said:
Yes you are correct. They could be online.
I only want to know when they are active.
I almost have a macro for PC written to screen shot that area.
OCR it, and save it in note pad with a time stamp.
But I would rather have an app.
Click to expand...
Click to collapse
Are you wanting this app to work without being visible on screen? Taking a screenshot is the wrong way to go about "screen scraping" the data, you should be getting the raw HTML data and then parsing that to get the information that you want, it would be much more optimal than performing OCR on a screenshot. If you want this app of yours constantly monitoring other users then it would have to work without being visible on screen. I'm new to Android in particular so not sure what class you would need to act as a http client to obtain the data.
But I think you just missed my point, you can't tell how long they have been active. You're making a guess and assuming they haven't gone offline during posts. Just because I posted twice in an hour, doesn't mean I was active on facebook that whole time. All you can tell from the information is,
1. What that have posted and when
2. When they last posted
---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------
what exactly do you mean by "active"?
---------- Post added at 02:29 PM ---------- Previous post was at 02:24 PM ----------
This article shows how to download an image programatically
http://www.helloandroid.com/tutorials/how-download-fileimage-url-your-device
You'd need to download he page via its URL and then parse the HTML data.
---------- Post added at 02:35 PM ---------- Previous post was at 02:29 PM ----------
Another example of downloading a file programatically,
http://wininterview.blogspot.in/2013/04/download-file-in-android-from-remote.html
byte[] buffer would contain the data you want in the downloadFile method, this would be the raw HTML data for the page (what you see when viewing the source for the page in the browser).
Thanks for the links and advice.
I am not a programmer and was only use the tools that knew how to use.
It's running on my pc. But i would prefer an app to do this.
It doesn't have to be hidden. I am using macro mouse to run my work around.
I don't think you are correct about the FB activity. I am following this person and would know if they posted. So apparently they are either messaging or browsing. They are not very popular so I believe it's browsing for the amount of time that they are active.
From the horses mouth so to speak
https://www.facebook.com/help/community/question/?id=486660488085628
"When you view your conversations in mobile messages, you'll see how recently your friends interacted with Facebook."
Active 10 minutes ago would mean, they interacted with Facebook 10 minutes ago. It doesn't say how long they have been interacting with Facebook for, so if you want to build up a map of when someone is interacting with Facebook, that is not possible. You may be better asking over on the Facebook developers forum to clarify this or maybe find an alternative way to achieve what you want.
https://www.facebook.com/groups/fbdevelopers
niknak75 said:
Active 10 minutes ago would mean, they interacted with Facebook 10 minutes ago. It doesn't say how long they have been interacting with Facebook for, so if you want to build up a map of when someone is interacting with Facebook, that is not possible.
Click to expand...
Click to collapse
correct so"Active 10 minutes ago" would mean, they physically interacted with Facebook 10 minutes ago. They were not asleep they actually picked up there phone or mouse and physically interacted with facebook.
20GT said:
correct so"Active 10 minutes ago" would mean, they physically interacted with Facebook 10 minutes ago. They were not asleep they actually picked up there phone or mouse and physically interacted with Facebook.
Click to expand...
Click to collapse
So I wonder if they are physically interacting with Facebook only every 10 minuets this will always say 10 minutes ago.
when they pause browsing it show be re-starting the counter correct.
so recording the changes in this status depending on Facebooks refresh limit one could document a creepy map of when someone is physically interacting with Facebook.

Using Google Home as an auto reminder for Elderly parents living away & alone

I am interested in placing a google Home mini in my old parents home and have it remind them of tasks and activities they should be doing every day.
Once the time of the task is over, ask them simple canned questions like did you do it? did you go there? was the task completed? and based on the answer to log the results in a table I will create to follow up on them living the plan we put together.
Their daily plan will be in an online table list of activities I will be creating as an excel table on a weekly basis.
The initial challenge is to turn a task list into scheduled reminders that will be read out loud at the set times on their mini speaker.
The other Challenge is to ask if the tasks was completed and the score they gave to it and and log it in the table I will read daily.
Is someone here familiar enough with Google home to help create the solution?
Thanks in Advance
Dany
Hello, I think that your question is very interesting.
I don't have much experience with google home but what you are trying to achieve should be doable.
I think that you could schedule a custom routine (https://support.google.com/googlehome/answer/7029585?co=GENIE.Platform=Android&hl=en) that triggers a custom action (that will handle the conversation to acknowledge the task and store this information in your online excel table). The most tricky part is obviously the custom action. I think that you have at least 2 options here:
1) writing you custom action with the Action SDK (https://developers.google.com/actions/sdk/), mainly in Javascript creating a Node.js app running for example on Firebase (aka Google cloud).
2) using a platform called dialogflow (https://dialogflow.com/) to create the action without programming.
You can find some examples here: https://developers.google.com/actions/samples/github
Keep us posted!
If you are a programmer, you can develop a little software in python using a script that send programmaticaly voice to google home. I wrote a post on my blog www dot gioexperience com. Sorry but in XDA I cannot write links
On my blog you can see how to send programmaticaly in python voice command to google home without human interaction... also detect and erase alarms ecc ecc
www dot gioexperience com

Categories

Resources