I'm writing a web browser with Javafx. I've come a long way in the project. However, I noticed that the web view doesn't have full screen support. I did a lot of research on this, but I didn't get any results. I don't have a chance to change the background and the language. What can I do about it? Thank you for your answers.
Related
Is there a tool like FireBug (hover and get information about HTML and CSS) to see what is active in a JavaFX scene?
Try Scenic View – James_D
Scenic View is a JavaFX application designed to make it simple to
understand the current state of your application scenegraph, and to
also easily manipulate properties of the scenegraph without having to
keep editing your code. This lets you find bugs, and get things pixel
perfect without having to do the compile-check-compile dance.
I have a few problems with understanding of android tv development. First of all when i had launched android tv project and was trying to create custom interface for new activity, unfortunately i couldn't find any xml elements which could help me. From the example i got some ideas that whole interface provided by android SDK collected in many fragments. I just can modify colors, fonts, fonts size, transparency maybe animation and etc. But if i really need to customize structure of controls and WTF i wanna output "Hello World" inside label!!! Is it possible? I read all articles from this link https://developer.android.com/training/tv/index.html but it is still useless for me (maybe I am unique :) ). After this suffering with google guide, i have done a conclusion that the platform so new and there is no way to do some thing except only way that was provided by google. Am i right? If not, what should i do to find successful way?
The fragments provided by Google as part of the "leanback" framework are templates designed to make it easy for content providers to start publishing to Android TV without having to worry about the technical details of building a TV UI. The idea is that a content provider can create a channel just by feeding in their video content. This ease of use comes at a cost, customization is difficult or impossible with these templates.
However there is nothing preventing you from creating your own Activities and Fragments from scratch and implementing a completely custom UI for the TV, it works just like any other Android device. Add "android.intent.category.LEANBACK_LAUNCHER" to your manifest and see for yourself.
I have a general question regarding to JavaFX.
I am wondering if it is able to control window components such as file download / upload dialog (i.e: When you are using Internet Explorer, you may need to upload/download files. I want to automate the operation hopefully with javaFX). If they are possible, could you please, point me where to look?
What you're looking for is functionality similar to java.awt.Robot. JavaFX doesn't provide an API for this, but you can still use Glass to use Robot, see this question and this issue on javafx-jira
We're creating a Qt app which is basically a QtWebKit window for viewing a web application. The web application's frontend is written in ExtJS and it is running very slowly in some parts (e.g. some screens with multiple grids or complex layouts). My question is: is there a way of configuring the Qt app to make increase the performance of its JavaScript/rendering engine?
Thanks!
There is no way to tune webkit, so you can't tune it from Qt, either. But that doesn't mean you can't do anything. Here is a checklist of things you can try:
Make sure the performance is actually lost in the place where you think by measuring it with a profiler. I'm wrong 90% of the time when guessing what causes bad performance problems. Have a look at how many reputation I have and then think hard whether you are really sure you can do better :-)
If a profiler isn't an option, add timing information to the code.
Is it also slow in a normal web browser? If so, try to improve the JavaScript code. There are tools to run/profile that as well. Some are even built into your web browser.
Consider implementing part of the UI without ExtJS (and the overhead it brings along). Do you really need a full-fleshed out grid to display static data that can't be sorted? Maybe a plain HTML table will do.
Try a newer version of Qt. 5 just came out and it contains a more recent version of webkit.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I always been curious about QML introduced by Qt framework. But never had a chance to work with it. But now with Windows 8 coming, old school widget based interface is going to get outdated (just my opinion! :) ). Now I want to ask those, who had some experience with QML: Is it easy to write Metro-style (or how is it called nowadays) applications with QML? Is the QML photoshop plugin useable for real project?
For those who don't have a clue about Photoshop plugin, try search in youtube: Introducing Qt Quick for Stunning UI Creation - Nokia Developer Day, Barcelona 2011 (not sure, whether I can post links here :P)
Also, Is there any good Windows applications I can look, written in QML?
is there any good Windows applications I can look, written in QML?
Go through the trending Qml repositories at GitHub to get a good idea. People are implementing material design ideas in QML as well. Correct me if am wrong but lot of Sailfish's UI was done in QML as well. Infact, the SDK for the OS is based on Qt/QML.
I am personally fond of GCompris. They moved from GTK to QML and have been able to run their code on several platforms including Windows/Android/OSX etc.
is it easy to write Metro-style applications with QML?
I would personally say that qml is very capable of developing the fluid 'metro like' UIs in a very intuitive and easy way.
You can go through the links given here to get started on QML.
You can start with the Qt Wiki on it, and go through how to create Metro style applications and read about deploying on Windows 8.
Is the QML photoshop plugin useable for real project?
I havent used the Photoshop one, but the one for GIMP (YES! is exists for GIMP as well, man open source developers do some nice work!!!). Although it might not be very intuitive in its approach to generate files, but it still is a very nice tool to work on single files (screens), when your UI is not expected to change at all.
It gives hard coded values to pixels ( eg: width : 45 ) instead of writing it in a dependent way ( eg. parent.width * .75 ), thus in case there are modifications in UI you might end up modifying a lot.
And personally I would say qml is just awesome to learn and have fun.
And thanks hyde for that link.
Edit:
Also go through these:
A video showing the Metro like effects, written in qml
A video showing the IVI capability of qml. Just so that you can get an idea of what qml might be capable in terms of animations etc.