AutoTools Create Context Bubbles 2017-08-02

Learn how to make interactive bubbles appear for a limited time at special occasions

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    joaomgcd submitted a new AutoApps project:

    Create Context Bubbles - Learn how to make interactive bubbles appear for a limited time at special occasions

    Read more about this project...
     
  2. Christian ZEch

    Christian ZEch New Member

    Joined:
    Mar 8, 2018
    Messages:
    3
    Likes Received:
    0
    Hello Joao,

    first of all: thank you for your excellent work!

    Now my question: Is it pssoible to show two bubbles at the same time? If I try it it will give an error. So if i start the second task, While the first one ist still running, I get the error: "child rejected".

    Thank you for your answer ...

    best wishes
    Christian
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. Where do you see that error exactly? Thanks in advance!
     
  4. Christian ZEch

    Christian ZEch New Member

    Joined:
    Mar 8, 2018
    Messages:
    3
    Likes Received:
    0
    Hello Joao,

    I created two tasks, so I can display two bubbles. When I start the first one, everything is okay. But when the first one ist still active, and I start the second one; I get the error. "child rejected" ist on the very bottom of the error message.

    Thank you in advance ...

    best regards
    Christian
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Do you have an AutoTools notification with the error by any chance?
     
  6. Christian ZEch

    Christian ZEch New Member

    Joined:
    Mar 8, 2018
    Messages:
    3
    Likes Received:
    0
    Hallo Joao,

    I'am very new to your tools, so sorry for my understanding. Do You need this:

    "Wait timed out: bubblehandled"

    That is the message, that appears in Auto Tools action error.

    Or do You need the whole error page, that appears in Tasker?

    Thank you, and have a nice day ...
    Christian
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    I was thinking more of a notification on your notification tray. Do you have one from AutoTools?
     
  8. Umbardacil

    Umbardacil New Member

    Joined:
    Mar 21, 2018
    Messages:
    5
    Likes Received:
    0
    Hi
    I was thinking about some floating bubble/widget to control Spotify playback during car driving, and came across this thread :)
    The idea is: when I connect to my car's bluetooth, there should Spotify start, and bubble pop out, with for example "play" icon. After short pressing this icon Spotify should playback last playlist with shuffle mode. After long pressing bubble should expand with more options: play previous track, pause and next track (all in shuffle mode), eventually "X" icon stopping Spotify (killing it).
    Is it possible to create such "widget"?
    Can you point me what should I begin with?
    I'm new to the AutoTools Web Screen, so be gentle ;)
    Cheers
    Lucas
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Maybe the more appropriate screen for that would be the Floating Bar because it already has multiple buttons? :)
     
  10. Umbardacil

    Umbardacil New Member

    Joined:
    Mar 21, 2018
    Messages:
    5
    Likes Received:
    0
    Hi again
    I've managed to create some floating bar with few icons. Now how can I connect an icon with corresponding command? I would like to send an Spotify intent when my second icon is clicked (%command=playpause)... Sending intent with if doesn't work at all :(
    Meanwhile, I've joined alpha testing group, and thought, that maybe some of the alpha app could be useful in my project (AutoSpotify?), or even I could expand my project by creating bubble with AutoBubbles, containing Album cover and Media control buttons... I've seen similar project somewhere, but it seems I can't find it again...
    As attachement my project main task. It's a little bit messy right now, but hey - I'm a beginner ;)
     

    Attached Files:

  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You should use the result variable from the task to do the command like in the examples :) Did you try that?
     
  12. tlewis3348

    tlewis3348 New Member

    Joined:
    Dec 2, 2015
    Messages:
    10
    Likes Received:
    0
    I have the following task:

    Code (Text):
        Home Test (63)
            A1: Variable Set [ Name:%url To:google.com Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
            A2: AutoTools Web Screen [ Configuration:Screen Preset: Bubble
        Display Mode: Overlay
        Close Overlay ID: bubble
        Source: /storage/emulated/0/AutoTools/bubble/page.html
        Toast Duration: 5000
        Background Color: #00FFEBEE
        Width: 30
        Height: 30
        Gravity: Top Right
        Offset X: 0
        Offset Y: 200
        Animation: Zoom In
        Overlay Id: bubble
        Show Duration: 500
        Hide Duration: 250
        Drag: Top
        Drag Movements: No Movement
        Return To Initial Position: true
        Fling To Dismiss: All Directions
        Close Button: No Close Button
        Hide Dialog Shadow: true
        Update: true
        Image: http://www.google.com/s2/favicons?domain=%url
        Grayscale: 0%
        Blur: 0
        Opacity: 100%
        Brightness: 100%
        Contrast: 100%
        Saturate: 100%
        Sepia: 0%
        Invert: 0%
        Size: 16px
        Position: Left
        Color: #AB47BC
        Character Border Color: #4A148C
        Border Color Thickness: 1
        Border Style: solid
        Background: linear-gradient(rgba(151, 190, 252, 0.7), rgba(182, 208, 249, 0.7))
        Size: 16px
        Text Color: white
        Background: red
        Border: 1px solid black
        Position: Top Right
        Badge Image Position: Bottom Right
        Tap: %url
        Long Tap: longbubbletap
        Prefix: Open URL
        Command Prefix Down: positiondown
        Command Prefix Up: positionup
        Border Width: 0
        Border Color: black
        Border Style: solid Timeout (Seconds):30 ]
       
    I also have the following profile:

    Code (Text):
        Profile: Open URL (101)
            Event: AutoNotification [ Configuration:Event Behaviour
        Filter: Open URL ]
        Enter: Open URL (102)
            A1: Status Bar [ Set:Collapsed ]
            A2: Browse URL [ URL:%aacomm ]    
    But when I run the task and tap the bubble, nothing happens. I'm assuming this is because I'm entering something incorrectly in the screen for the command in the web screen action, but I don't know what it is.
     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    You should use the AutoApps Command event in the profile, not the AutoNotification event. Hope this helps! :)
     
  14. tlewis3348

    tlewis3348 New Member

    Joined:
    Dec 2, 2015
    Messages:
    10
    Likes Received:
    0
    Sorry, I copied the wrong profile. I also have this profile as well:

    Code (Text):
        Profile: Open URL (115)
            Restore: no
            Event: AutoApps Command [ Configuration:Command Filter: Open URL
        Exact: true ]
        Enter: Open URL (102)
            A1: Status Bar [ Set:Collapsed ]
            A2: Browse URL [ URL:%aacomm ]
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Ok, thanks. :) You have to not use the Exact option otherwise only the exact Open URL (with nothing else) command will match, which yours does not.
     

Share This Page