APOD Wallpaper
Astronomy Picture of the Day has some really cool images that make great wallpapers.
Create a Context
Say, time of day 07:00 - 07:05
Add the Steps
- Make a folder APOD in the root of your SD card
- HTTP Get: server = apod.nasa.gov/apod, Mime Type = text/html
- Variable Split: Name=%HTTPD, Splitter=<IMG SRC=", Delete Base=Checked
- Variable Split: Name=%HTTPD2, Splitter=", Delete Base=Checked
- HTTP Get: server = apod.nasa.gov/apod/%HTTPD21, Mime Type = image/jpeg, Output File=APOD/apod.jpg
- Set Wallpaper:Image=APOD/apod.jpg
- HTTP Get: server = apod.nasa.gov/apod, Mime Type = text/html
- Variable Split: Name=%HTTPD, Splitter=Explanation:, Delete Base=Checked
- Variable Split: Name=%HTTPD2, Splitter=Tomorrow's, Delete Base=Checked
- Write File: File=APOD/apod.htm,Text=<html><body>%HTTPD21</body></html>
If you want a homescreen shortcut to the description:
Create a Task
- Name "APOD Description"
- Open File: File=APOD/apod.htm
View the Description from a Homescreen widget
- Create a Tasker Widget to fire this task
- When prompted to select the application to open the file with, select use as default and choose Android HTML Viewer
page revision: 9, last edited: 20 Jul 2011 05:50