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...
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
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!
BTW, here's a Github I just created that might interest you: https://github.com/joaomgcd/AutoToolsWebScreens/
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 ]
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.
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!
Hi Joao, somehow i could not import this xml file. When I import, nothing happens. I have imported a few other XMAny idea?
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?
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?
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.