1. Download our Official Android App: Forums for Android!

Open and run bible app with tasker

Discussion in 'Android Apps & Games' started by mintypu5, Jan 15, 2014.

  1. mintypu5

    mintypu5 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Jan 15, 2014

    Jan 15, 2014
    9
    0
    5
    Male
    Trinidad And Tobago
    Hi every one I am new to this forum and also new to tasker. After doing some reading on what tasker can do I am interested in the app. Can any one walk me through on how to run the bible app from you version using tasker @ 5:00am to start my day. Thanking in advance.
     

    Advertisement

  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator
    Rank:
     #27
    Points:
    1,063
    Posts:
    8,618
    Joined:
    Oct 29, 2013

    Oct 29, 2013
    8,618
    9,927
    1,063
    Male
    SysAdmin
    Huntsville, AL
    Context:
    - Time. From: 05:00.

    Action:
    - App > Load App: Name_of_App.
     
    D-U-R-X likes this.
  3. mintypu5

    mintypu5 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Jan 15, 2014

    Jan 15, 2014
    9
    0
    5
    Male
    Trinidad And Tobago
    Thanks! I got it. Not wanting to be a bother, but is there any way I can carry this further by having it automatically read to me. Thanks many.
     
  4. codesplice

    codesplice Elite Recognized Moderator
    Moderator
    Rank:
     #27
    Points:
    1,063
    Posts:
    8,618
    Joined:
    Oct 29, 2013

    Oct 29, 2013
    8,618
    9,927
    1,063
    Male
    SysAdmin
    Huntsville, AL
    I don't believe that is something that Tasker can do - it would have to be a function built in to the app in question.
     
  5. mintypu5

    mintypu5 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Jan 15, 2014

    Jan 15, 2014
    9
    0
    5
    Male
    Trinidad And Tobago
    Thanks. Great help
     
  6. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    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.
     
  7. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    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.
     
  8. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    I'll get on it soon, you'll probably have a outline of a task by sometime this weekend.
     
    lilvanmuzz likes this.
  9. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    Thanks
     
  10. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    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
     
    D-U-R-X and lilvanmuzz like this.
  11. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    Thank you so much.



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

    Attached Files:

  12. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    fixed that issue..... in the notification all i see is two words.


    nvmd... FIXED IT
     
  13. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    Is there anyway to remove the status bar icon on the notification pulldown?
     
  14. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    I'm quite sure you can change it, but I'd guess that you can't actually remove it.
     
  15. ooberandy

    ooberandy Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    711
    Joined:
    Feb 15, 2010

    Feb 15, 2010
    711
    77
    78
    Hartlepool, UK
    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 :)
     
  16. codesplice

    codesplice Elite Recognized Moderator
    Moderator
    Rank:
     #27
    Points:
    1,063
    Posts:
    8,618
    Joined:
    Oct 29, 2013

    Oct 29, 2013
    8,618
    9,927
    1,063
    Male
    SysAdmin
    Huntsville, AL
    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:
     
  17. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    I don't mind and know how to be rid if the notification in the status bar. I guess I wasn't clear on what I meant. But there is a icon in the notification that gives the text an indent that I'd wish to remove.
     
  18. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    all of a sudden this stopped working. I've been trying to go through every step to see why it doesn't work but i can't find a problem. tasked gives with circle with the line but it doesn't give me an error message.
     
  19. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    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?
     
  20. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    All of a sudden it started working again. I believe they were updating their site.
     
  21. gotokennedy

    gotokennedy Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Apr 24, 2014

    Apr 24, 2014
    6
    3
    6
    Good. I'm glad. Have you applied this to any other task? Or are you pretty much satisfied with the verse of the day profile and task?
     
  22. lilvanmuzz

    lilvanmuzz Lurker
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    May 29, 2014

    May 29, 2014
    9
    0
    5
    I'd like to do more but I need to learn a bit more about tasker. But I'm satisfied with it.
     

Share This Page

Loading...