[GUIDE][Difficulty: Advanced] Read Google Calendar Events for the Day - Tasker Tips & Tricks

You're a busy person, and you've decided to organize your busy life by placing all your events on Google Calendar. If this describes you, then you might like to know that you can query Calendar for its events and set it up to notify you however you want. This means you don't have to open the app or even display a widget if you want to see what your events for the day are. Here's how.
This guide is based heavily off of the work of redditor CallMeLucky but written to be more friendly and with more documentation. Credits for the implementation go to him.
Prerequisites
Google Calendar
Instructions
Create a new task, and name it "Get Events."
Variables --> Variable Convert. Convert %DATE, set the Function to "Date Time to Seconds" and Store Result In %date.
Variables --> Variable Set. Name %schedstart and set To
Code:
%date + (60*60*6)
This sets the start time to 6AM in the morning. If you want to make it earlier, change the 6 to a different number. CHECK DO MATHS!
Variables --> Variable Set. Name %schedend and set To
Code:
%date + (60*60*24)
This sets the end time to midnight. CHECK DO MATHS!
App --> Test App. Type "Calendar Title", Data %schedstart, Store Result In %event. Set the Label to "TEST NEXT EVENT." This is querying Google Calendar using the time to see if there's an event at that time.
App --> Test App. Type "Calendar Calendar", Data %schedstart, Store Result In %calendar. This is querying the calendar to see, if there's an event, which calendar it belongs to.
Task --> If. If %event(#) neq 0 AND %event1 !~ %doubleevent AND %calendar1 ~ *MYCALENDAR*. This will basically check to see if %event is empty or if it matches the previous event, which in either case means there is no new event at this time. Replace MYCALENDAR with the name of the calendar you want to pull from.
Variables --> Variable Convert. Name %schedstart, set Function to "Seconds to Long Date Time." Store Result In %time. Once you've found an event, convert the time it starts at to a human readable time.
Variables --> Variable Split. Name %time, splitter is 2016. We know what today's date is, so let's split the variable to only give us the time today and not the date.
Variables --> Array Push. Name %calevents, Position 999, Value should be
Code:
%event1, at %time 2
Here, we're pushing the event title and its time into an array that we'll read from later.
Variables --> Variable Set. Name %doubleevent, To %event1. Save the event title so when we do our next check we compare to see if it matches, if so, don't save it again!
Task --> End If.
Variables --> Variable Add. Name %schedstart, Value 900. Increment the time to check next by 15 minutes (ie. move up through the day).
Task --> Goto. Type "Action Label" and label should be "TEST NEXT EVENT". Check If and set it to If %schedstart < %schedend. Basically, loop back if we're still in the same day testing the calendar.
Alert --> Say. Text: "You have no events today." Check If and set it to if %calevents(#) eq 0
Alert --> Say. Text: "You have one event today." Check If and set it to if %calevents(#) eq 1.
Alert --> Say. Text: "You have %calevents(#) events today." Check If and set it to if %calevents(#) > 1.
Task --> For. Variable %eventtosay, Items %calevents). In this for loop, we're simply reading the calendar events we've found in order.
Alert --> Say. Text: "%eventtosay"
Task --> End For.
Here are screenshots of the task:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now you might ask, what do I do with this task? That's up to you! You can have this task run whenever your alarm is dismissed if you're using an app like AlarmPad, or you can make it run when you dismiss an NFC tag using an app like Trigger.
Below, I am attaching the XML file for the task that you can import. IF YOU IMPORT THIS, YOU MUST EDIT ACTION #6 (THE IF ACTION) AND CHANGE *MYCALENDAR*. REPLACE "MYCALENDAR" WITH THE NAME OF THE CALENDAR YOU WANT TO PULL FROM. You can import a task by putting it in /sdcard/Tasker/tasks. Then when inside Tasker, long-press on the Tasks tab up top and press import.

I love this task. I've been using it for a hot minute. I have it run immediately after another task that uses an HTTP get to pull and read the weather for the day as well. Great combo to use with an "Alarm Dismissed" trigger like you suggested.

how about if you have multiple calendars?

jskala said:
how about if you have multiple calendars?
Click to expand...
Click to collapse
Then simply remove the if condition that requires you to set a specific calendar

jskala said:
how about if you have multiple calendars?
Click to expand...
Click to collapse
I second the motion.
I have one exclusively for my work schedule, and one for my personal schedule. It would be ideal to be able to add several calendars at once.
For example, today I had work and a service repair call for my place. Yesterday, I had work, my child had an appointment and a Parent Teacher Meeting all in different calendars. To know that there are three events or all on one schedule that lists the agenda would be cool.

in topic "5", when you say "app" what exactly I have to do? I didn't get it. Sorry I'm a newbie
---------- Post added at 02:56 AM ---------- Previous post was at 02:52 AM ----------
Erlonbie123 said:
in topic "5", when you say "app" what exactly I have to do? I didn't get it. Sorry I'm a newbie
Click to expand...
Click to collapse
omg, nevermind, sorry! lol

You can use just a couple of actions of CalendarTask plugin in order to that.

i love your idea, it's amazing thanks!!
i'm trying to work in a mod: i don't like the voiceover option, i prefer to receive a notification with the list of events. then if i click on the notification it should open the calendar to check the details.
my mod:
- removed 15. alert, 15. alert, 17. alert
- replaced 19. alert with "Notify sound": Title "Daily Agenda"; Text: "%eventtosay"; Action: "open google calendar"; if "%calevents(#) >0
doing like that i receive a notification with sound (i've added the calendar icon too) instead the voice over.
I have 2 problems, i hope you can help me:
1. all the events are showed once at the time in the same notification (e.g. if i have 3 events, i receive a notification with event 1, than change to event 2 and event 3 in few seconds); it would be nice to have a a list with all the events
2. when i click on the action to open the calendar, it opens the calendar in background without closing the notification panel (see the screenshot)
any suggestions??
thanks a lot!!

Great work
Hi, I like the calendar program. I have a question. Where do you get the Calendar Task plugin for reading different events? For example
Personal Calendar: Sister Birthday
Appointments: Dr. Appointment.
Etc.
Another feature that would be good is to read the events out for the week or have a drop down box with selecting By Week or By Day.

I'm trying to make tasker read my events of tomorrow. I changed %date + (60*60*25) and %date + (60*60*48)
Now I want it to say the day and date of tomorrow (for instance "14.03.2016. Tomorrow is Monday.").
I can't use the default variables like %DATE and %DAYW, because they are for the current day.
I already tried converting the schedstart value from seconds back to date.

flash629 said:
Hi, I like the calendar program. I have a question. Where do you get the Calendar Task plugin for reading different events? For example
Personal Calendar: Sister Birthday
Appointments: Dr. Appointment.
Etc.
Another feature that would be good is to read the events out for the week or have a drop down box with selecting By Week or By Day.
Click to expand...
Click to collapse
You find it on the play store obviously

flash629 said:
Hi, I like the calendar program. I have a question. Where do you get the Calendar Task plugin for reading different events?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.balda.calendartask

Thanks
j03x2 said:
https://play.google.com/store/apps/details?id=com.balda.calendartask
Click to expand...
Click to collapse
Thanks J03. Now I just have to try and learn it, unless you can give me some hints.

flash629 said:
Thanks J03. Now I just have to try and learn it, unless you can give me some hints.
Click to expand...
Click to collapse
Here you go! You can download an example profile from here:
https://plus.google.com/102582215848134314158/posts/BZfUp88jwc8

hmm

Weather
I like the program, but please forgive me. I'm using this routine but changing MyCalendar to *. For example: --> If %event(#) neq 0 AND %event1 !~ %doubleevent AND %calendar1 ~ *.
That will read ALL my calendars. The problem comes up after reading the "Event" it will keep on telling me the weather. That's what I'd like to stop. I may have 3 events in different calendars and it reads those events plus the weather for each.
I guess what's happening is because the "Events" are in different calendars I get the weather from each.
Is there away I can just get the weather once?
Thanks for your help.

Nice script! I tried using it for my university calendar but unfortunately it doesn't get the events right.
Today I have three events, one from 9:30 till 11:30, one from 11:30 till 13:30 and another one from 13:30 till 14:30. The script says I have 20 events today. It says all the events in 15 minute increments. Thats 5 (hours) x 4 (events per hour) = 20.
How would I solve this issue? Unfortunately this makes the script not very useful.

Please answer
In a previous post it was suggested that taking out the if statement would give you all your events for the day for all your calendars. I took mine out and it said that I had 72 events.
I changes the If statement in line 6 %calendar1 ~ *Appointments* to %calendar1 ~ ** and what I get is double events. For example Work event at 5:30am then again Work event at 7:15. I don't understand this.
I hope this post is monitored.

flash629 said:
In a previous post it was suggested that taking out the if statement would give you all your events for the day for all your calendars. I took mine out and it said that I had 72 events.
I changes the If statement in line 6 %calendar1 ~ *Appointments* to %calendar1 ~ ** and what I get is double events. For example Work event at 5:30am then again Work event at 7:15. I don't understand this.
I hope this post is monitored.
Click to expand...
Click to collapse
You still need the Variables --> Variable Set. Name %doubleevent, To %event1 and the If statement: %event1 !~ %doubleevent otherwise you will get double events like you mentioned.

Thank you MishaalRahman,
I have read numerous solutions to pulling events from Google Calendar, but none so elegant. I have recently discovered phones and more recently discovered Tasker. My skills are quite rusty but with the help others (you included) I am finding my way. This is a wonderful resource.
As some have already pointed out, this is a great task to include in a wake-up profile. However, not all of us work or sleep on a regular schedule. I remember the 'good ole days' when I could get by on just two jobs.
A moving time segment from 'now' to 'set_length' would be ideal. I think I can work that out. But Event location (address) to pass to Google Maps or Waze as a destination is a topic for which I haven't found much information. Do you (or anyone else) have any suggestions?

Related

[Tutorial] How to set up sms/call/email count with tasker and minimalistic text

Since tasker can be complicated ive tried to make this as simple as possible even though it might not seem like it. This is my first tutorial so constructive criticism and comments are appreciated!
NOTE: If you dont know what Tasker is research it and what it does otherwise you wont understand this tutorial.
1. Setting up the first profile
A. Okay first we need to start a new profile in tasker by clicking "new" on the bottom.
Name it whatever you want or leave it blank.
Your first profile should look like this once completed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Setting when your context so tasker will know when its supposed to do something
A. You want your context to be "received text".
Choosing through menus go to "Event>Phone>Received Text"
3. Setting up what tasker is supposed to do when the "conditions/context" are met
A. Next we need a task, name it whatever you want or leave it blank. Add a task by clicking the plus on the bottom left. When choosing actions you want to navigate to "Variable>Variable Set"
When setting up this variable, you want it to look like this:
Make sure there are spaces between the + and 1 and "Do Maths" is checked otherwise it wont display right.
4. Setting up tasker so it will send the sms count to Minimalistic Text widget
A. Add a 2nd task by clicking the plus on the bottom left. When choosing an action navigate to "Plugin>Minimalistic Text variable settings. The settings will show up, set them up like this:
Okay so we've set up a profile to add a 1 to the count everytime you have a new text. Problem is, we have to set up another profile to reset the count to 0 after youve read your texts
5. Setting up the 2nd profile so your sms app to reset the count to 0 when closed
A. Start a new profile, name it or not, and add a context of "Application>whatever messaging app you use here". I use chompsms so for me its "Application>chompsms".
It will look like this when completed:
B. Set up the new variable like so:
This will reset the counter to zero everytime you close out of your messaging app
EDIT: its also possible to have not have the zero displayed so theres nothing there. Instead of using "variable set" use "variable clear" with the variable your using.
THANKS: ayhaadam for reminding me of this
C. Add one more variable to have Tasker display it through Minimalistic text. Its the same set up as step 4A
6. Setting up minimalistic text to display tasker variables
A. Create a new minimal text widget on your homescreen/lockscreen and choose "custom layout". Add "Locale Variable" from Misc and set up the variable name to be % MNMLMSGCOUNT
NOTE: Minimal text will not add "SMS" or "MESSAGES" in front of the count. You have to manually add it with "Static Text" under Misc
Exapmles of how i use it:
Please leave questions or comments if you have them and since i did this on my phone i will check how it looks on a computer soon
Thanks: thedesolatesoul for explaining to me how to set this up! He should post a screen of his so we'll see how his is set up
Update 2-10
Missed Call Count: call count is achieved by following the tutorial and changing "MSGCOUNT" to "MISSEDCALL" and changing the 2nd profile app to phone
Update 2-11
Unread Email Count: this works with only K-9 since its open source. Same set up for sms count just different context "K9 Email Received" and different variable "%UNREADEMAILCOUNT". The 2nd profile context to set it to zero is app "K9"
thanks for the guide! this is wayy shorter than the other variants
i think a couple images are missing though
I appreciate you posting this.. always looking for new ways to use Tasker.. I've only scratched the surface so far..
Thanks guys! Ill add more pictures too
Do you have any other cool things you've done with Tasker?
rrambo said:
Do you have any other cool things you've done with Tasker?
Click to expand...
Click to collapse
Ive only used it for sms but you can use it for weather, call count, battery, just about anything
Great TUT, thank-you very much!
giank30 said:
Great TUT, thank-you very much!
Click to expand...
Click to collapse
No problem
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Loam1990 said:
Hi,
Awesome, I will try !!
Edit : I succeed everything, only one. When I go in Minimalistic, I create my own, and in my homescreen there is : "SMS : " but no 0 with ..
Have you got any idea?
( I am so sorry for my bad english, I hope you understand..)
Click to expand...
Click to collapse
Try going into your sms app and then hitting home or back
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Loam1990 said:
Nothing happens
I don't understant, I did like you said
In minimalistic, it's writing : "SMS[LOCTV]
Click to expand...
Click to collapse
Did you set LOC to %MNMLMSGCOUNT?
In "Variable Name" ? I did..
Great post!
Loam1990 said:
In "Variable Name" ? I did..
Click to expand...
Click to collapse
Hmm im not sure. With the app profile make sure your variable is set "To 0"
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Loam1990 said:
It is in "To 0"...
Maybe I found the problem ! Tasker says me "no profil active", is it the problem ? How can I active my profil ?
Sorry for all my questions
Click to expand...
Click to collapse
Haha its alright. Make sure all your profiles are checked on the right and in the bottom right make sure the on is green like so:
Then hit apply and it should work fine
I don't understand, everything looks good, but nothing happens ! I don't understand
Loam1990 said:
I don't understand, everything looks good, but nothing happens ! I don't understand
Click to expand...
Click to collapse
Do you have a task killer running? Im not sure if it matters with tasker but i always set it to "ignore"
Our next option - post your screens of your tasks from the task edit menu
Sent from planet earth
Nice work akoe...i like the direction this is heading in
Loam1990,
You need to break down what actually isnt working
First find out if the context is being triggered, then find out if the task is working, then find out why the variable isnt reaching minimalistic text
...and easy way to do this is go into the tasks you made for clearing the count, and press the 'Test' button at the bottom
If it works it means your tasks are fine and your context is wrong
otherwise your context is right but your tasks/variables are wrong
anyways...just wanted to post my screenshot too

[APP] 7Dialer - Smart/quick dial [7/20/2012] [V 2.9]

7Dialer, which was initially released in March was temporarily discontinued, but is now back and reloaded for Mango!
Description
7dialer allows to quickly call any of your contacts. No need to dive into the default contacts hub to find a contact, simply launch this app and use its intelligent keyboard with predictive search to get the contact you want to call, sms or email. Saves you a lot of time!
On second tab it features a people wall where you can pin any contact for even quicker access. This wall has many different layouts you can navigate through and setup.
It has some other fun features such as customizable dial tones and breathing effect for the tiles on the people wall.
You can also change the live tile to show a collage of your favorite contacts.
Features
Smart dialing/filtering either with number pad or characters pad
Option to call, SMS or email
"Call later" reminders
Pin contacts as Live Tiles to start screen, as a to-do related to a contact
Fullscreen People wall (aka favorites) with customizable layouts
Dial tone sounds
Breathing effect for contact tiles
Live tile display options
Copy & paste
Customizable and automatic dialing prefixes
Call history (outboud)
Option to add/edit contacts
Date on system tray bar
Automatic contacts sync
Quick voice mail shortcut
Custom background image for dialpad
Localized to: English, Spanish, Russian.
Official site: http://7dialer.jdbpocketware.com
Full version:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Free version:
cool but in the free ver, sync took me more than 10 sec ... and not all contact will be shown also
Hi, it will only sync contacts having phone numbers or email. Can you confirm that?
pckshd said:
Hi, it will only sync contacts having phone numbers or email. Can you confirm that?
Click to expand...
Click to collapse
after 5 min only 5 contacts with alphabet A are sync ... no more that that ...
Ok, maybe is this... When you only type "a" it will only list names starting with "a". If you type "ab" or more, then it will show all having "ab" at any part of the name. Its done for better performance.
But 5 minutes its a lot. How many contacts you have? linked to which accounts?
hi, interesting app, but on my LG Optimus 7 with mango, the app just hangs during the sync process, after 10 minutes i just hit the cancel, the app only managed to get around 10-15 contacts with the letter A
pckshd said:
Ok, maybe is this... When you only type "a" it will only list names starting with "a". If you type "ab" or more, then it will show all having "ab" at any part of the name. Its done for better performance.
But 5 minutes its a lot. How many contacts you have? linked to which accounts?
Click to expand...
Click to collapse
it only captures the contacts with the letter a only no other than that .. i have more then 100 contacts linked to the acc
Debug XAP
Thanks all for taking the time, you will get a free license when fixed and ready.
I have uploaded a debug XAP here with error detection enabled:
http://jdb.userecho.com/topic/59720-7dialer-problem-syncing-contacts/
Once an error, it will launch an email form with the error message, but it would be better if you could manage to copy and paste it on the thread above(or here).
pckshd said:
Thanks all for taking the time, you will get a free license when fixed and ready.
I have uploaded a debug XAP here with error detection enabled:
http://jdb.userecho.com/topic/59720-7dialer-problem-syncing-contacts/
Once an error, it will launch an email form with the error message, but it would be better if you could manage to copy and paste it on the thread above(or here).
Click to expand...
Click to collapse
Ok, here we go:
2.0.0.0
NullReferenceException
at smartdialer.App.Contacts_SearchCompleted(Object sender, ContactsSearchEventArgs e)
at Microsoft.Phone.UserData.Contacts.OnSearchCompleted(Object e)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, StackCrawlMark& stackMark)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Delegate.DynamicInvokeOne(Object[] args)
at System.MulticastDelegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.Dispatch(DispatcherPriority priority)
at System.Windows.Threading.Dispatcher.OnInvoke(Object context)
at System.Windows.Hosting.CallbackCookie.Invoke(Object[] args)
at System.Windows.RuntimeHost.ManagedHost.InvokeDelegate(IntPtr pHandle, Int32 nParamCount, ScriptParam[] pParams, ScriptParam& pResult)
Thats the output i get
Nice concept , I am using the debug .xap so I sent you an email already , it did load right about to 10 seconds and got error, before that it just hung on the sync , hopefully you find out the problems , this app looks very interesting!
OMG, interesting app, but on my HTC-HD7 with mango, the app just hangs during the sync process, after 10 minutes i just hit the cancel, the app only managed to get around 10-15 contacts with the letter A
Ok. Files have been updated. Please re-download. Fixes freezing when having contacts with no name.
http://jdb.userecho.com/topic/59720-7dialer-problem-syncing-contacts/
If any additional issues or feature requests, feel free to file them at: http://jdb.userecho.com/list/8442-ideas-bugs/?category=1511
Regards
The app certainly looks promissing. Couple of glitches/inconsistencies that I noticed.
You can't add second number of a contact to the quick dial section if it already contains another number of this contact.
You can't exit the app with back button if you have on-screen qwerty keyboard opened. You can by pushing windows button, otherwise you need to switch to numeric keypad first.
Opened contact doesn't always have all the numbers/email addresses listed. It looks as if max 4 lines can be displayed within contact (no scroll).
The keypress sounds included, albeit interesting, are not very business like. Perhaps regulard "tap" sound should be there as well (like the one stock keyboard has).
Perhaps there should be an option to only display contacts with phone numbers.
And perhaps an option to not display contact pictures. I'm not sure if this would increase app/search speed but would certainly give more space for displaying numbers & email addresses when the contact is opened (without need to scroll).
Are you planning to have search for some other (non-latin) alphabets enabled at some point pckshd? I'd purchase the app should it support search by Cyrillic letters.
@rubbish, thanks, yes some functionality is limited and will come through version updates.
Btw to add a different number to People wall you first need to remove the old one (while on the edit screen, click on it to remove).
Other characters will be added once we have localization with help of translators.
I have uploaded 2.0.0.1 with some fixes:
Fixed back navigation when using abc pad
Added standard 'tap' sound
Fixed menu bar hidden after changing wall layout
Fixed some contacts getting lost when changing to a layout with fewer slots
I can't sync contacts
works just fine .... really like the dialer
i found out the live tiles not working after a while ... if put more than 2 tiles in my case
smart dialing allows you to look for letters in the contact name,,,,can it allow you to look for numbers too (example: if i click 010 it would pull all contacts that have 010 in start or middle of their phone number)?
also i can not get live tile to work...after i add "people" and change the settings it creates a tile with contact photos but its not moving, flipping..etc
thanks
Hi, it does search by phone number but only for numbers starting with the search pattern. But looks like there is a current problem with the ones starting with zero.
About the live tile, we still haven't determined how could animations impact on battery live so for now its static only.
There is another live tile related feature we will be including soon.
Version 2.0.2 improves sync speed a bit and prevent some crashes.
(Updated attachment on initial post or here)
New Version 2.0.2 is working fine no sync issue
working fine in My HD2 Mango 7.5

[GUIDE][Difficulty: Advanced] Prompt to Edit Screenshot and Upload to Imgur

If you're the kind who likes to post screenshots of your device (...like, say, you're making a picture guide to help people with Tasker tasks ), then you'll probably find it a bit tedious having to manually open your screenshot in an image editor app, edit it, and then manually uploading the edited file to an image hosting service such as Imgur. If you would like to automate some of these steps, then look no further!
Please note that my guide is set up with some particular free apps that I'm using, but it can be generalized to edit in other image editor apps or upload to other hosting services so long as you find out the proper intent. Thankfully, you can use apps such as Intent Intercept to capture the proper intent you'll need. On the other hand, I'm also using a few paid apps to make things a bit easier, but if you're getting into Tasker I highly recommend you purchase them as it will make things significantly easier.
Prerequisites
OPTIONAL: Snackbar Tasker Plugin to implement the prompt. Can be replicated using a Tasker scene, but Snackbar is free so I recommend grabbing it anyways.
AutoNotification or Notification Listener. You will need either in order to intercept notifications and toast messages.
OPTIONAL: AutoShare. You can use regular intent broadcasts from within Tasker to do this, but if you don't know what intent to use then AutoShare can help.
Uploader for Imgur (or any other hosting app with a sharing receiver)
Instructions
Enable the notification listener for AutoNotification or Notification Listener in Settings. Enable the Accessibility service for either app so it can intercept toast notifications.
Open a new profile and name it 'Screenshot Edit.'
Create an Event context and go to Plugin --> AutoNotification/Notification Listener and set it up to listen to the screenshot posted notification. Here's the information you'll need to do so. I recommend you set it to react to Only Created Notifications so it doesn't trigger when the notification is dismissed.
Code:
Notification Title: Screenshot captured.
Notification Text: Touch to view your screenshot.
Package Name: com.android.systemui
Exit the configuration for AutoNotification and create a new task named whatever it is you want. For me, I left the name blank because I won't be using the task anywhere else.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now for the task...
Plugin --> Snackbar Tasker Plugin. For the title, put "Edit Screenshot?" or whatever else you want. For the items, put 'Yes,No.' For the commands, put 'yes,no.' Edit the colors to theme the snackbar however you would like.
Task --> If. Set it to %bs_command ~ yes. This is so you'll only edit/upload the screenshot if you want, otherwise it'll do nothing.
Code --> Run Shell. You'll want to run the following command:
Code:
ls /sdcard/Pictures/Screenshots
Write %File under "Store Output In". This will get the filenames of all the screenshots you have in your screenshot folder and put it into a variable.
Variables --> Variable Split. Under name put %File, but leave Splitter blank. This splits the filename variable into an array from File1...FileN with each variable holding an individual filename.
Variables --> Variable Set. Under name put %new and set it to %File(#). This gets the pointer to the latest filename in the filename array.
Variables --> Array Pop. Under Variable put %File, for the Position put %new, and for the To Var put down %file. In %file now you've got the filename of the screenshot you just took!
System --> Send Intent. This is the intent information you'll need to fill in:
Code:
Data: file:///storage/emulated/0/Pictures/Screenshots/%file
Package: com.iudesk.android.photo.editor
Class: app.activity.PhotoViewActivity
Target: Activity
If you have AutoShare installed like I recommended, then you can easily use its find intent option to find and automatically fill in most of this information. You will still need to manually specify the file using the %file variable, though.
Task --> End If.
Okay, so what we've done so far is set-up Tasker to automatically send the screenshot you took to your image editor app. Now you'll want it to automatically upload it to Imgur. Take note of which folder you're saving your edited screenshots in, because you'll need to reference it below when sending the path to the edited file.
Create a new Profile and name it Screenshot Upload.
Create an Event context, go to Plugin and choose AutoNotification Toast Intercept.
Choose Photo Editor for the app you want to intercept, and for the Notification Text you want to intercept write down "saved successfully."
Back out, and create a task with any name you want.
Code --> Run Shell. For the command, put this down:
Code:
ls /sdcard/Pictures/Edited
For Store Output In, put it in %File (just like the previous task).
Variables --> Variable Split. Split %File.
Variables --> Variable Set. Set name as %new and set it to %File(#)
Variables --> Array Pop. For variable put %File, under position put %new, and in the to var put %file.
System --> Send Intent. Here's the information you need:
Code:
Package: net.moosen.imgur
Class: net.moosen.imgur.DoUpload
Data: file:///storage/emulated/0/Pictures/Edited/%file
That's it! Enjoy the new automation of screenshot editing. You can go a little further to automate things by perhaps immediately sharing the Imgur link to your app of choice or push it with Pushbullet, but that's up to you. For me, this profile has been an immense help in putting together these guides. Let me know if there are any changes you would make.
Very cool implementation! I use literally the same setup to help with screenshots, but with some different Actions in certain places. My setup is like:
AN Intercept, AN click action for the notification, then use AutoInput to go through some steps to get to a very specific screen in a specific editor. Then a Profile for 'Gesture' (when I tilt the device to the left) uses AutoShare to share the file over to the (new plugin) AutoWeb API for direct upload to Imgur, then when the link comes back it puts it in the Clipboard and shows a Snackbar to confirm upload complete.
Definitely take a bit of time to setup, but it works like magic and sooo fast and automated it's well worth it!
Ratchet_Guy said:
Very cool implementation! I use literally the same setup to help with screenshots, but with some different Actions in certain places. My setup is like:
AN Intercept, AN click action for the notification, then use AutoInput to go through some steps to get to a very specific screen in a specific editor. Then a Profile for 'Gesture' (when I tilt the device to the left) uses AutoShare to share the file over to the (new plugin) AutoWeb API for direct upload to Imgur, then when the link comes back it puts it in the Clipboard and shows a Snackbar to confirm upload complete.
Definitely take a bit of time to setup, but it works like magic and sooo fast and automated it's well worth it!
Click to expand...
Click to collapse
Glad to see you here! I was actually inspired by your thread on /r/tasker, however, I didn't like the implementation that relied a bit too much on AutoInput in my view, so I thought to generalize it a bit using intents and shell commands.
MishaalRahman said:
Glad to see you here! I was actually inspired by your thread on /r/tasker, however, I didn't like the implementation that relied a bit too much on AutoInput in my view, so I thought to generalize it a bit using intents and shell commands.
Click to expand...
Click to collapse
Thanks! Glad to be here! Tasker Week has been great. Awesome to see the effort and detail that went into the Guides and Tutorials, screenshots and all.
Speaking of screenshots (lol) yes I was having lots of fun with AutoInput clicking around everywhere Eventually I did condense certain portions of it, but one thing I noticed is that depending on the imaging app, using an AutoShare Intent didn't quite get it to the exact screen I was looking for. Of course the beauty of Tasker is that just about anything can be customized for your exact/specific needs
MishaalRahman said:
Now for the task...
Plugin --> Snackbar Tasker Plugin. For the title, put "Edit Screenshot?" or whatever else you want. For the items, put 'Yes,No.' For the commands, put 'yes,no.' Edit the colors to theme the snackbar however you would like.
Task --> If. Set it to %bs_command ~ yes. This is so you'll only edit/upload the screenshot if you want, otherwise it'll do nothing.
Code --> Run Shell. You'll want to run the following command:
Code:
ls /sdcard/Pictures/Screenshots
Write %File under "Store Output In". This will get the filenames of all the screenshots you have in your screenshot folder and put it into a variable.
Variables --> Variable Split. Under name put %File, but leave Splitter blank. This splits the filename variable into an array from File1...FileN with each variable holding an individual filename.
Variables --> Variable Set. Under name put %new and set it to %File(#). This gets the pointer to the latest filename in the filename array.
Variables --> Array Pop. Under Variable put %File, for the Position put %new, and for the To Var put down %file. In %file now you've got the filename of the screenshot you just took!
System --> Send Intent. This is the intent information you'll need to fill in:
Code:
Data: file:///storage/emulated/0/Pictures/Screenshots/%file
Package: com.iudesk.android.photo.editor
Class: app.activity.PhotoViewActivity
Target: Activity
If you have AutoShare installed like I recommended, then you can easily use its find intent option to find and automatically fill in most of this information. You will still need to manually specify the file using the %file variable, though.
Task --> End If.
Okay, so what we've done so far is set-up Tasker to automatically send the screenshot you took to your image editor app. Now you'll want it to automatically upload it to Imgur. Take note of which folder you're saving your edited screenshots in, because you'll need to reference it below when sending the path to the edited file.
Create a new Profile and name it Screenshot Upload.
Create an Event context, go to Plugin and choose AutoNotification Toast Intercept.
Choose Photo Editor for the app you want to intercept, and for the Notification Text you want to intercept write down "saved successfully."
Back out, and create a task with any name you want.
Code --> Run Shell. For the command, put this down:
Code:
ls /sdcard/Pictures/Edited
For Store Output In, put it in %File (just like the previous task).
Variables --> Variable Split. Split %File.
Variables --> Variable Set. Set name as %new and set it to %File(#)
Variables --> Array Pop. For variable put %File, under position put %new, and in the to var put %file.
System --> Send Intent. Here's the information you need:
Code:
Package: net.moosen.imgur
Class: net.moosen.imgur.DoUpload
Data: file:///storage/emulated/0/Pictures/Edited/%file
That's it! Enjoy the new automation of screenshot editing. You can go a little further to automate things by perhaps immediately sharing the Imgur link to your app of choice or push it with Pushbullet, but that's up to you. For me, this profile has been an immense help in putting together these guides. Let me know if there are any changes you would make.
Click to expand...
Click to collapse
Hello and thank you for your guide. I was having some problems with getting the snack bar button to do anything but just ask. None of the responses did anything, my video which includes my question in greater detail is here. I wasn't able to put a link in the message because I am a new user so I can't put links in new posts but the YouTube video ID is U2OpwlK2BWc
If one goes to youtube dot com slash U2OpwlK2BWc they can watch the video.
Thanks again,
yonikasz
yonikasz said:
Hello and thank you for your guide. I was having some problems with getting the snack bar button to do anything but just ask. None of the responses did anything, my video which includes my question in greater detail is here. I wasn't able to put a link in the message because I am a new user so I can't put links in new posts but the YouTube video ID is U2OpwlK2BWc
If one goes to youtube dot com slash U2OpwlK2BWc they can watch the video.
Thanks again,
yonikasz
Click to expand...
Click to collapse
Video not loading for me
Video
MishaalRahman said:
Video not loading for me
Click to expand...
Click to collapse
Oh here I figured out how to put YouTube into the forum. Before I was on my mobile so I couldn't do that. Hope that helps.
Yoni

[GUIDE][Difficulty: Intermediate] Driving Mode (Answer Calls, Texts, Read Notifs)

If you don't have a bluetooth speaker in your car capable of answering phone calls or texts, and if you drive a lot you'll find yourself needing a way to respond to important messages without distracting yourself too much. Thanks to Tasker, you can make it so that you are prompted to respond to calls/texts and read notifications.
Prerequisites
Root Access to automatically answer calls
Secure Settings plugin
AutoNotification or Notification Listener to grab the notification text
We'll be making three profiles as a part of our driving mode setup. First up, an incoming call profile.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instructions
First profile you will make should be called "Driving Mode - Incoming Call"
Create an Event context, go to Phone --> Phone Ringing. Leave the caller field blank. Exit out, and create a new task. You can name it if you want, but it's not necessary.
Once inside the task, your first action will be to create a Say command. Go to Alert --> Say. For the text you want the TTS to say, type in something like
Code:
Incoming call from %CNAME would you like to answer?
I would recommend you uncheck "Respect Audio Focus" so Tasker notifying you of a call will take precedence over whatever other audio is playing from your phone.
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
Task --> If. Set it to if %VOICE ~ Yes. Basically, if you saw "yes" then you've chosen to answer the call.
Plugin --> Secure Settings. Root Settings --> Phone Options. Pick "Answer Call."
Audio --> Speakerphone. Set it to On.
Task --> Else If. Set it to if %VOICE ~ No. This is if you choose to not answer the call.
Plugin --> Secure Settings. Root Settings --> Phone Options. Pick "End Call."
OPTIONAL: Phone --> Send SMS. Number should be %CNUM. Send a message with whatever you want telling them you're busy, for instance:
Code:
I am currently driving. I will respond back to you as soon as I am able. Thank you.
Task --> Else
Task --> Goto. Set type to "Action Label." Go to label "DECIDE" which is Action Number 2.
Task --> End If
Exit out, and finally, you will need to add one more context to the profile in order to ensure that this profile ONLY runs when you are actually driving. One way you can do this is to create a context connected to your car's bluetooth, you can make a shortcut on your homescreen to turn the task on/off when you get in the car, you can scan an NFC tag, you use location geofences ala AutoLocation, etc. For me, I use an NFC tag.
Here are screenshots of the task:
Next up, the notification reader:
Create a new Profile and title it "Driving Mode - Read Notification"
Create an Event context, go to Plugin --> AutoNotification and pick Intercept. Go to the apps to intercept and select only the apps that produce notifications that you think are important enough to bother you while driving. I'm sure you're not interested in knowing you're being invaded in Clash of Clans while driving....right?
Exit and create a task. Name it anything.
Alert --> Say. For the text, put %antitle. Check If and make it if %antitle is Set.
Alert --> Say. Make the text %antext. Check If and make it If %antext is Set.
Alert --> Say. Make the text %ansubtext. Check If and set it to If %ansubtext is Set.
If you are using Notification Listener instead, simply change %antitle to %nltitle, change %antext to %nltext, and change %ansubtext to %nlsubtext.
Exit out, and finally, you will need to add one more context to the profile in order to ensure that this profile ONLY runs when you are actually driving. One way you can do this is to create a context connected to your car's bluetooth, you can make a shortcut on your homescreen to turn the task on/off when you get in the car, you can scan an NFC tag, you use location geofences ala AutoLocation, etc. For me, I use an NFC tag.
Here is a screenshot of the task:
Finally, a text message response profile:
Create a new profile and name it "Driving Mode - Read Text."
Go to Event --> Phone --> Received Text. Make the Type Any and leave everything else blank.
Now, we'll create the task. Leave the name blank.
Alert --> Say. Make it say the following:
Code:
%SMSRN says %SMSRB. Would you like to respond?
Input --> Get Voice. Label it "REPEAT".
Task --> If. Set it to if %VOICE ~ Yes.
Input --> Get Voice. Label it "AGAIN."
Variables --> Variable Set. Set name to %voice and set it to %VOICE.
Alert --> Say. Make the text this:
Code:
%VOICE. Is this okay?
Input --> Get Voice.
Phone --> Send SMS. The number should be set to %SMSRF. Go down and add an If statement to this task, and set it to If %VOICE ~ Yes
Task --> Goto. Set the type to "Action Label" and set the label to "AGAIN."
Task --> Else If. Set it to if %VOICE ~ No
Phone --> Send SMS. Set the number to %SMSRF. Make the message something like this:
Code:
I am currently driving. I will respond back to you as soon as I am able. Thank you.
Task --> Else
Task --> Goto. Set type to "Action Label" and make the label "REPEAT."
Task --> Else If.
Here are screenshots of the task:
And that's it! Enjoy the profiles and let me know. I've attached the XMLs below you can import by moving them to /sdcard/Tasker/Profiles and then long-pressing on the Profiles tab up top while in Tasker and clicking on Import.
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
Click to expand...
Click to collapse
I do not have this option to sett Label? All I can set is Title?
Edit: I had to untick beginner mode in preferences
I also noticed that voice command does not work when writing "Yes", it has to be "yes" with small letters. If anyone else is facing simular troubles.
olskar said:
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
I do not have this option to sett Label? All I can set is Title?
Edit: I had to untick beginner mode in preferences
I also noticed that voice command does not work when writing "Yes", it has to be "yes" with small letters. If anyone else is facing simular troubles.
Click to expand...
Click to collapse
Doh! You're right, I've had Tasker enabled for so long that I forgot that Tasker hides that by default. And thanks for the correction on the voice part. My autocorrect screwed that up
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
jskala said:
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
Click to expand...
Click to collapse
That's not something Tasker can do, sorry. Get the app SoundAbout
jskala said:
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
Click to expand...
Click to collapse
You can use BlueTask plugin
Hi, nice works!!
Question: can an email be fully read?
Regards,
What can I use instead of secure settings to pick up the call? Secure settings is bugged nowadays can't find root
Read Notification profile not importing
I can't get the Read Notification .prf.xml file to import at all. Anyone else experience this or can tell me what I might be doing wrong or if the file has an error in it? The other two imported just fine.
Thanks in advance for any assistance and clarification.

[APP][NST/G] NSTWeather

New NST Weather Widget is done! https://forum.xda-developers.com/nook-touch/themes-apps/app-nst-weather-widget-t3946270
Updated to v1.1
--fixed issue that often caused app crash if initial contact with OWM was unsuccessful
--added sunrise/sunset update for condition icon
--added "current value" display in Settings for Lat., Long. and API
--some cosmetic changes to forecast panel
Everybody talks about the weather...
I miss WeatherAce, but when WeatherUnderground deep-sixed their free API service, there was nothing left in the app that worked. I made a few half-hearted attempts at updating the APIs for some of the other services included in the app but it became clear that my approach was too simple-minded and I gave up.
NSTWeather is my "learning app" for figuring out how to deal with xml weather data. It's a simple weather display and forecast app just for the NST (and sort of the NSTG...read on). Because Tasker (which I used to make this app) cannot create widgets, I started looking for some screen real estate that would (almost) always be visible. There is a small "blank" section of the status bar to the right of the soft Menu button. On the NST, this area is large enough for a temperature (no F or C) and a small condition icon. On the rare occasion that sync arrows appear, they overlap the condition icon. Alas, if you have an NSTG, the Glowlight indicator overlaps the condition icon when WiFi is on and, I suppose, sync arrows displayed with the WiFi on might overlap the temperature. So this might not be the best thing for NSTG users.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"What about apps that run full-screen?", you ask. I have only one or two, including the stock reader. I have made the weather information the same color as the reading page background. That's one reason the icons look a little rough. Only 2 colors. If you have other full-screen apps and the weather display is annoying you, it can be toggled by a long press once the app is activated.
This app is not quite experimental, but it is not a destination for me. This is a way for me to work out various issues leading up to an eventual Widget.
With that out of the way...
What it does
This app uses your latitude, longitude and free OpenWeatherMap API to fetch a 3-hr, 5-day forecast for your locale. The app makes up to two attempts to contact the OWM servers each morning, at 4:30 am. The xml file from OWM is then processed to extract sunrise/sunset times, and temperatures and precipitation amounts for each 3-hr period over the 5-day forecast. All this data is massaged to get the time zone corrected, adjust the day/night condition icons for sunrise/sunset (OWM has them wrong...) and convert the precipitation into the units you desire. There is lots of other information in the xml file, but I decided to keep this "simple" (it is anything but) and just go for this essential information.
At each 3-hr interval, starting at 2:00 am, the temperature/condition display is updated from the forecast data. In addition, a tap on the temperature display will open a panel with the forecast for all 5 days, at 3-hr intervals (see screenshot below).
If the app fails to contact OWM (their servers are sulking or you have arrived in a hotel the previous evening and your NST can't make a WiFi connection...), it will re-sort the panel data to keep the day display correct and continue to display whatever information it has in the last forecast received until it runs out of data. I don't know what happens then! Of course, one could hope that in the course of 5 days it will eventually reach OWM.
What it doesn't do
The app--as configured--does not display "tiny" amounts of precipitation. I have it set to indicate "trace" (tr.) when the value falls below a tenth of whatever unit is selected. Also, I make no distinction among the types of precipitation other than by the condition icon.
Unfortunately, in the old version of Tasker that runs on the NST there is no way to directly address the changes at sunrise or sunset since they are variable, and variable time contexts were added only to later versions of Tasker. In the current version of NSTWeather I have added a routine for updating the condition icon within 15 minutes of sunrise or sunset, always on the early side rather than later. I based my range of potential times on Anchorage and Oslo. If you live at even more extreme northerly or correspondingly southerly latitudes, this will not work for you all the time. Also, since the weather data is updated at 4:30 am, I did not include the entire potential sunrise range (as early as 3 am), but rather settled for 4:45 am as my starting value. Hopefully you are asleep at that point...
Requirements
1. This is a Tasker-generated app. If you already have one of my other Tasker-generated apps or have previously installed GApps, you don't need the two Google maps library files included in the zip and can delete them. If you do need them, copy the two files into the locations shown below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
2. Copy the folder "NSTWeather" and its contents from the zip below to the root of your sdcard. This contains all the condition icons and is where the weather.xml file from OWM will be stored.
3. Go to https://openweathermap.org/ and find the current weather for your locale. When this is displayed you will also see the "geocoordinates" (i.e., the latitude and longitude). Copy these two values.
4. Go to https://openweathermap.org/api and sign up for a free API (right there in the opening paragraph, click on the words "sign up"). You will eventually receive an email with the API.
Installation and Use
Install the app from the zip below either by side-loading or ADB. The only user interface of the app is a Settings page. Open NST Weather and enter your latitude and longitude, as well as your API. Be especially careful with the API and make sure to include any negative signs with the geocoordinates.
Next, make your selection of the units you want displayed. Finally, to make the app fully functional you need to check both of the boxes in the lower section (you can disable the app temporarily by unchecking these). When you've made all the selections, tap on the bottom box to start a manual data retrieval. The Settings page will close and you should see WiFi come on for a bit. It will then turn off. If a successful connection was made with OWM and if you entered your information correctly, you will eventually see a weather display in the status bar. How long will it take? About 3 minutes. There's an awful lot of stuff to be done. That's one reason for having the data update done at 4:30 am when you are hopefully snoozing.
If nothing seems to happen and you see WiFi come back on again in 15 minutes, then it failed to contact OWM the first time and is trying again. If the second time fails, you will get a notification telling you that download failed, assuming there is nothing wrong with the values you entered. Go back to the Settings page and carefully check your API. That's where the most likely error will occur. Of course you should check your geocoordinates, too, just to be sure.
If you have made a successful connection with OWM before and one day there is a notification saying download failed, you can just ignore it and hope for better luck the next day unless you absolutely must have an updated forecast. In that case, you can use the manual retrieval option. There is no need to re-enter the latitude, longitude and API each time you open the Settings page once they have been entered correctly. They are stored in the /data/data/app folder for the app. Also, if you decide to change the locale, you only need to enter the new latitude and longitude, not the API.
The 5-day forecast panel is updated daily even if a download fails (data is just shifted to the left and the names of the days are changed). You access the panel by tapping on the temperature display.
If you want to hide the weather display, a long press on the temperature will make it invisible, but the area on the status bar adjacent to the soft Menu button remains active. Another long press will re-display the weather information.
Widgets?
As I said early on, Tasker cannot make widgets on its own, although it can share data with some other apps which can. Of these, only one will still work on the NST/G: Minimalistic Text. The current version of NSTWeather shares the current temperature value display with Minimalistic Text as a "Locale" variable called CURRTEMP. If you have a working install of Minimalistic Text and some familiarity with the app, you can play with this just to get a feel for the possibilities (that's what I'm doing!). To do so, create a widget (1x1 or perhaps 2x1), and select "Custom" for the format/layout. Get rid of all the stuff that is there by default and tap on the "Misc" tab. One of the options there is "Locale". If you drag that up to the working area you can enter the name of the variable CURRTEMP. If you want to add a degree symbol and F or C, or perhaps your location, you can use the "Static Text" option. I've done this and it works wonderfully well, updating right along with the normal status bar temperature display of NSTWeather. There's still a tremendous amount of work to be done to get to the actual Widget with the condition icons, etc., but it's a start

Categories

Resources