Is is possible to display html document in J2ME mobile app? Is it possible using for example WebKit? I was looking for some webkit's j2me implementation or some tutorial or advice in google but found nothing.
BOLT Webkit based Browser
I came across this, but haven't had the time to try it myself, but the reviews seem to be reasonable.
Its closed source but they provide later versions than the current for download for free.
Hope this can shed some light
Try this Framework: Fire
LWUIT now supports html and CSS in LWUIT 1.4.
Related
I'm new to Vaadin. I want to create an application that will allow a user to make video calls from an Android device to a Desktop/Laptop. I tried searching for examples on YouTube but could not find anything. i want to implement this on Vaadin 14 spring boot and java project. Please help with an example to do this kind of project.
Your question is quite wide topic and in the borderline can it be answered according to StackOverflow policies.
My general advice is to study WebRTC for peer to peer communications. I would recommend to use the application only as a broker of the connection. I have seen proof of concept demo made about this on Vaadin 8.
Vaadin framework itself does not provide official WebRTC using components, libraries at the moment. However there was add-on made for earlier Vaadin 8. It is using 3rd party JavaScript library. Just noting, that there are couple of libraries to choose from.
https://vaadin.com/directory/component/webrtc-add-on
A few years ago I made a program in .NET that uses the webbrowser control. With that I was able to automatically log in to a website, navigate, and download pictures. It was GUI based since it was using the webbrowser control. It had the advantage that I could follow along and see if something went wrong.
What is the best way forward to replicate that idea in Java? Is there a similar free control that acts as a webbrowser and gives access to the DOM?
I suspect the optimal way would be to use the Google Chrome Developer tools to replicate the login via GET/POST methods, but at first would prefer the webbrowser approach.
You can use Selenium for that. It is a free (open source) automated testing suite for web applications across different browsers and platforms. It mainly focuses on automating web-based applications.
In Java, You can use Selenium which will give you full control on Web-Browsers as well as DOM.
In Selenium Web Driver is a class which provides full automated control of a browser that we want to use.
This may help You!
Thanks!
You could use the JavaFX webView, class javafx.scene.web.WebView.
It uses a Webkit engine that is HTML 5 compliant and seem to be up to date (it was in java 8 & 9).
The engine has interraction with the JS engine that may help to introspect and navigate.
Example to get the "window" JS object:
JSObject window = (JSObject) webView.getEngine().executeScript("window");
Webview ewample:
JavaFx Webview HTML5 DragAndDrop
Does anyone know a framework to develop a mobile application for Android with Java and HTML?
I mean develop UI with HTML (to reuse it with an other OS) and native functions with Java.
For the moment I am trying to develop multiplatform apps with Qt but it's quite complex to use native functions from Java, that's why I'm looking for an easier way to do it.
I don't think you can find this kind of framework.
If you meet some problems to use native functions with Qt I recommend you to watch BogDan Vatra videos and pdf
https://www.qtdeveloperdays.com/sites/default/files/BogdanVatra_Extending_Qt_Android_Apps_with_JNI.pdf
Besides, you should look at the QtAndroidNamespace class and runOnAndroidThread function.
Edit : You can find the videos in the Tutorials part of QtCreator
I am not sure about the Java but using javascript,we have alot of Frameworks like Titanium, Sencha Touch and PhoneGap etc.In this you can simply use the html,js,and css3 bundle to creates the IOS Android and as well as web.
I would strongly advise against reusing the UI on different mobile operating systems - it will always look as if it doesn't belong on one of those systems. Creating an Android UI isn't that complicated, you should try it.
That said, you could have just one big WebView on your native UI, displaying your HTML UI. You might need a web server in your app, serving the UI, though - I'm not sure.
Id like to create an HTML5 web apps/site which could be consumed on Desktop, tablet and Mobile devices. I want it to be flexible in such a way that I could use PHP or Java with it. After intensive googling I found Droptiles (droptiles.com) by Omar Al Zabir. Since I was also thinking of incorporating the Windows Live Tiles look and functionality in my mobile web site, I think that it is a good choice. My question is what are the HTML5 features which are supported by Droptiles? I need to know this before commiting to this framework. So far reading its documentation I have not read of any html5 feature. I hope people with experience using Droptiles could answer my question. Thanks in advance.
By the way the html5 features that I consider as deal breakers are
offline storage
support for viewport meta tag ( or anything that would allow it to scale depending on the device used)
html5 input types (email,phone number, calendar etc)
If you have an existing website, you can load the website in c# with the webview element.
The droptiles is build with html5/javascript. So everything must work fine.
Only the HTML5 type=color is not supported in Windows IE engine
Does anybody now some tool that can help me to recognize numeric values from photos in Java-based Blackberry application?
Aspire is a java based OCR SDK. I am not sure how much it will useful for Blackberry. Try yourself.
Another one is JavaOCR. It is 100% java. Its author posts on his blog.