• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Open and run bible app with tasker

I'm willing to look into this task for you if your still interested. How do you know what verses you want tasker to read each day? Would you want user input, like typing in verse references?

If the app isn't important, tasker can pull this information from online with http get commands, then save the text to a variable, of which it can read it to you.

If the app is important, we could figure out how we can send intents (commands) to your app, and go that direction also. There are apps that already do bible verse reading. YouVersion Bible App is one of them and RememberMe Bible memory app is another. You'd just have to figure out how to trigger their functions automatically, perhaps by getting their intents or using a tasker plugin, some of which do cost a dollar or two on the Google play store.
 
Upvote 0
I'm willing to look into this task for you if your still interested. How do you know what verses you want tasker to read each day? Would you want user input, like typing in verse references?

If the app isn't important, tasker can pull this information from online with http get commands, then save the text to a variable, of which it can read it to you.

If the app is important, we could figure out how we can send intents (commands) to your app, and go that direction also. There are apps that already do bible verse reading like YouVersion Bible App and RememberMe Bible memory app. You'd just have to figure out how to trigger their functions automatically, most likely using tasker plugins, some of which do cost a dollar or two on the Google play store.

I am also interest in finding out how to do this. With tasker and auto notification i was thinking of having a notification with the verse of the day on it.
 
Upvote 0
Here you go!

https://www.dropbox.com/s/f3r3s2lik7rld4r/Verse_Of_The_Day.prf.xml

Move this file to your phones folder located at Tasker/profiles than import it into Tasker by pressing down on a PROFILES tab (top left of Taskers UI) than select the xml file.

The profile is set to trigger at 4 AM every morning.

The basics of the task is as follows:

1. Get HTML from biblegateway.com for their verse of the day. Put a copy of it on your device in Tasker/tasks/votd.txt
2. A Short wait - just for good measure
3. Read that new file and make it a temporary (local) variable called %votd
4-5. Split the variable to single out the verse reference.
6. Make a Tasker (global) variable called %Reference (the cap letter "R" makes it global) so you can have access to it in any other task in all of Tasker (and it's plugins).
7-10. Single out the Bible verse from the Biblegateway.com html.
11. Make a Tasker (global) variable called %Verse (the cap letter "V" makes it global) so you can have access to the verse text in any other task in all of Tasker (and it's plugins).
12. I found a funky instance where the " 's " wasn't correctly showing so I fixed it here.
13. Made a very simple AutoNotification (non-persistent) notification with the title the verse reference and the text is the verse.
14. A flash to tell you, "hey, I'm done, and it worked" :)


Keep in mind, you can now make additional tasks, using the Global variables we set in #6 and #11, where you can have Tasker say: "today's verse of the day is, %Verse , which is found at %Reference" every day at 5 am if you really wanted..

I wish you well. Check out these following links to learn more about getting information from the web and working with variables.

Further learning:

A video helpful for explaining getting info from the net: https://www.youtube.com/watch?v=nLuoOhXuCvA

A tutorial for getting info from the web and working with the variable: Beginner's guide to Tasker, part 4: Variable data processing - Pocketables
 
Upvote 0
Thank you so much.



I get this error...and I'm not sure how to fix it.
 

Attachments

  • Screenshot_2014-05-30-23-20-05.jpg
    Screenshot_2014-05-30-23-20-05.jpg
    49.3 KB · Views: 153
Upvote 0
Having the icon in the notification bar keeps the app in the foreground of android and means android wont kill the process. You can turn it off, but that means android would kill the app and profiles may not run.

You can turn it off in the 3 dots > preferences > monitor > then untick 'run in foreground'

The question mark will give a better description than mine above also :)
 
Upvote 0
Is there anyway to remove the status bar icon on the notification pulldown?

Having the icon in the notification bar keeps the app in the foreground of android and means android wont kill the process. You can turn it off, but that means android would kill the app and profiles may not run.

You can turn it off in the 3 dots > preferences > monitor > then untick 'run in foreground'

The question mark will give a better description than mine above also :)

Alternatively, you can set it to an invisible icon. In Tasker: Menu > Preferences > Monitor > Notification Icon. Tap the icon image to pull up the picker. The first icon (or where an icon would be) in the list is an invisible one. Select that one and Tasker will remain visible in the notification pulldown but won't take up space on the statusbar. That's the mode I run in - no clutter, but I still have quick access for tweaking.

Another option is to disable notifications for the Tasker app at the system level:

Settings > Apps > Tasker > uncheck "Show notifications"

That will prevent the notification from showing, but won't prevent the app from running in the background. :thumbup:
 
Upvote 0
Your right. Tasker doesn't seem to be pulling the html and creating / overwriting the vot.txt file from the internet.

I checked the link, and it's still good, so I'm surprised that tasker isn't coping it to memory as a file. We'll have to troubleshoot and see if Tasker is pulling anything from the internet with http get commands...

After some testing, I pulled html from anything.com. So the good news is it worked, so I suppose the issue is with the biblegateway.com link. You can try a different web source for the verse of the day. Then split the variable to isolate the verse and the reference. Or perhaps even just change the bible version, to like ASV or something.

Do you want / need me to walk you through it again? Or do you want to give it a try, and I'll help you with the bugs you encounter?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones