AutoTools Create an Edge Launcher like those on Galaxy S Edge devices 2017-06-28

Swipe from the right to launch anything you want!

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    joaomgcd submitted a new AutoApps project:

    Create an Edge Launcher like those on Galaxy S Edge devices - Swipe from the right to launch anything you want!

    Read more about this project...
     
  2. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    This is excellent! Could you teach me how to have this exact same thing respond to Hard/Light Swipes and Taps instead of just plain normal Swipes?

    Or maybe if the presets (like Swipe) would show the guts of what is happening so others can learn more about how you made this in WebScreen? Like what the HTML injection / JavaScript Injection / Source is for the Swipe Preset?

    I still cannot figure that out and it appears you are incredibly close to the answer! This Swipe Overlay is sooooo close to what I want
     
    Last edited: Jun 30, 2017
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    I don't think hard/light swipes are supported in HTML unfortunately :)

    As for the code, you can check it out in the AutoTools folder on your device. Hope it helps!
     
  4. Stupifier

    Stupifier Member

    Joined:
    Mar 10, 2015
    Messages:
    147
    Likes Received:
    6
    Grrrr...... Just my luck
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
  6. maurizio53

    maurizio53 New Member

    Joined:
    Jun 14, 2016
    Messages:
    21
    Likes Received:
    0
    How to show only some chosen apps and not all?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    If you follow this tutorial, clicking on an app will only launch one app, and not all :)
     
  8. Rpowers308

    Rpowers308 New Member

    Joined:
    Feb 3, 2017
    Messages:
    6
    Likes Received:
    0
    I'm trying to get this to work using it as a way to quickly pull up and dial my contacts when I'm at work. I've gotten as far as the web screen launching and all of the contacts being displayed properly. I click their name and I see the Autotools command toast showing the correct name and phone number. This is where I'm stuck. I've tried adding a call task using %acnumber but it only pulls up the last number in the web screen list and not the proper contact. Ideally I would like to be able to to directly dial their number when I click the card.

    My task is pasted below. For testing purposes my last task is just a flash and not a call. I blocked out my contact's names but everything else is the same.

    Appreciate any help anybody can offer.

    Day Contacts (66)
    A1: AutoContacts Query 2.0 [ Configuration:Names: **, *****, *****, ******, *****, ******, *******, *******, *****, ******, ****, ****
    Default Phone Number: true
    Sort: 0
    Sort Direction: Ascending
    Fields to Get: Id,Name,Phone Number
    Joiner: =:= Timeout (Seconds):60 ]
    A2: AutoTools Arrays [ Configuration:Input Arrays: %acname()|%acnumber()|
    Separator: |
    Item Separator: ,
    Names: acname,acnumber
    Output Variables Separator: ,
    Sort Arrays: true
    Merge Arrays: true
    Merged Array Name: contacts
    Merged Array Joiner: - Timeout (Seconds):60 ]
    A3: AutoTools Web Screen [ Configuration:Screen Preset: Card List
    Display Mode: Overlay
    Source: /storage/emulated/0/AutoTools/cardlist/page.html
    Toast Duration: 5000
    Status Bar Color: #03A9F4
    Background Color: #FF000000
    Navigation Bar Color: #0D47A1
    Width: 100
    Height: fill
    Gravity: Bottom Left
    Animation: Fade In
    Show Duration: 500
    Hide Duration: 250
    Close On Command: true
    Wait For Command: true
    Title: Day Contacts
    Search Color: #ffffff
    Filter With Search: true
    Command Prefix: search
    Drawer Width: 80%
    Card Titles: %contacts()
    Card Commands: %acnumber
    Round Card Icons: true
    Background Color: #000000
    Accent Color: #1976D2
    Max Card Widths: 90%
    Min Card Widths: 90%
    Max Image Heights: 350
    Title Text Size: 10
    Subtitle Text Size: 22
    Card Padding: 0
    Card Alignment: Center
    Item Separator: , Timeout (Seconds):30 ]
    A4: Flash [ Text:%acnumber Long:Off ]
     
  9. Old Bear

    Old Bear Member

    Joined:
    Mar 15, 2015
    Messages:
    36
    Likes Received:
    2
    Because you didn't join your Output arrays in A2, you need to use %acnumber() for the Card Commands.

    You have also set 'Wait on Command' to True in A3, so the number you want will be in the %atcommand variable. Use that as your phone number in your Call Task. To see it change your Flash in A4 to %atcommand.

    Hope this helps. :)

    Nice idea, btw.
     
    Last edited: Jul 26, 2017
    Rpowers308 likes this.
  10. Rpowers308

    Rpowers308 New Member

    Joined:
    Feb 3, 2017
    Messages:
    6
    Likes Received:
    0
    That worked! It's frustrating spending so long on something and having it be just a simple fix but figuring it out is part of the fun I guess

    Thanks a lot Old Bear!
     
  11. Old Bear

    Old Bear Member

    Joined:
    Mar 15, 2015
    Messages:
    36
    Likes Received:
    2
    You are very welcome, my friend.
    That is so true. :)
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
  13. moviejimmy

    moviejimmy New Member

    Joined:
    Sep 28, 2017
    Messages:
    3
    Likes Received:
    0
    Hi Joao, somehow i could not import this xml file. When I import, nothing happens. I have imported a few other XMAny idea?
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    What do you mean by "nothing happens"? Does it not get imported?
     
  15. moviejimmy

    moviejimmy New Member

    Joined:
    Sep 28, 2017
    Messages:
    3
    Likes Received:
    0
    After selecting import and select the XML file, nothing is imported. Only happens to this XML. I imported 3-4 more XML from you today. All imported with no issue. The file opens OK on my device with a HTML editor. Tasker just somehow doesn't import. Any idea?
     
  16. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    Did you import it as a project and not a profile?
     
  17. moviejimmy

    moviejimmy New Member

    Joined:
    Sep 28, 2017
    Messages:
    3
    Likes Received:
    0
    Yes.
    And rebooted the phone fixed it somehow. Thanks!
     
  18. Walkman33

    Walkman33 New Member

    Joined:
    Dec 17, 2017
    Messages:
    6
    Likes Received:
    0
    Hello, wicked sorry if this is in the wrong spot, likely it is.
    Running a web screen overlay and everything is working great, inwas just hoping to shorten up the toast. Looks like 5000 by default and i could not find an option to edit that time. Am i totally just missng it or is that particular toast un editable?
     
  19. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,709
    Likes Received:
    736
    When you select the Toast display type a new option shows up "Toast Duration" :) Just set it there.
     
  20. Walkman33

    Walkman33 New Member

    Joined:
    Dec 17, 2017
    Messages:
    6
    Likes Received:
    0
    Firstly thank you kindly for the super fast response man! I did change it to a toast and the option was there but it isnt what i was looking for. I have an overlay bar set up on the edge of my screen for swiping to use back button purposes. When the bar is swiped i was hoping to change the length of the new auto tools command toast, if thats possible. Totally not a deal breaker, as i love having the functionality with have a separate app running that whole time. Similar to gmd but without the root requirement.
     

    Attached Files:

Share This Page