I was just wondering if it is possible to use webviews to create cool GUIs. I know they are often used to display web pages, but I think creating normal GUI, whit buttons if they were a normal Tasker scenes would be a killer feature.
What I want is to create HTML scenes like it were normal tasker scenes.
I know what you're asking here, I'm not sure if you'll get an answer.
Not many tasker users seem to be proficient or utilize custom scenes, and of those who do webview type elements seem to be less common. I would also say, java is not a very common tasker function utilized by most or at least not a novice or average user.
You're looking for some insight concerning a very specific aspect of a certain feature.
To be honest, you're probably one of the more qualified individuals to provide some user information regarding what you're asking. That is to say, experienced and proficient to pioneer into this unexplored realm of tasker by most... and let us know what you find.
Can I, for example, create a complete GUI tat looks like an application,
or a tasker scene with just webviews and Javascript?
Could you detail your exact configuration?Where and how do you link to the external CSS file? In the HTML? Using what notation? file:/// maybe? What kind of actions does your javascript performs?
- The only display mode that is working properly is full display no bars. But the problem is, there is no android top bar.
- Any other display mode doesn't fill the full width, so it looks awful.
- After a couple of seconds, the scene closes itself. Why?
- How can I create scenes that fills all the screen but no the bottom and top bars?
I believe the bars you see are the background colour in the scene properties.
A Tasker scene is like a container with a locked aspect ratio. This scales well across devices by expanding or contracting to the lowest dimensional value. However on some devices you will inevitably have a certain amount of background on view.
For you to avoid this being so apparent you can use a variable as the scenes background colour and the same variable in your CSS.
Or you could use the screen info feature found in this app to get the perfect height ;)
https://play.google.com/store/apps/details?id=com.electricsheep.asi
Jay M
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Reducing the height by 70px did the trick. What will happen if I use this profile in a different phone with a different resolution? Should I change size manually?
A lot of users report webview elements don't scale at all, even on their own device :/
If it's any consolation, good rule of practice is giving yourself 10% margin of error either side of defined resolution for target device. Should minimize the number of redundant scenes within the project, hopefully.