How to launch the web-browser of a mobile from Java ME? - java-me

How to detect from Java ME code that a web-browser application, like Opera Mini, is already installed in a phone? If so, how to launch it from Java ME code with a provided URL?

You can use the Midlet.platfomRequest method to invoke certain applications.

Related

How to create a browser instance (pupeeteer) with firebase and use it in my app (node.js)?

I created a firebase project. This communicates with a mobile application (node.js). As part of this project I want to use pupeeteer.
I have no problem launching functions using pupeeteer in firebase.
The problem is that I want to make the user perform actions. So I have to display the web page (pupeeteer) in the application via a browser generated by the server (with a firebase function?)?
However I have no idea how to launch a browser instance in the background and close it at the end of processing?
Can you help me ? Is this the right solution?
I want to use this :
This library does 2 things:
Download the chromium binaries and launch a Chromium process.
Connect to this process with Websocket and send json commands to control the browser.
Due to limitations on mobile platforms (iOS and Android), it is not possible to launch an external Chromium process on iOS and Android. So, step 1) does not work on mobile.
You can still use puppeteer-dart on Flutter either with:
Flutter on Desktop (macOS, windows, Linux)
Flutter on mobile BUT with the actual Chrome instance running on a server and accessed from the mobile app using puppeteer.connect
The pub.dev website reports that this library works with Android and iOS. The supported platform list is detected automatically and can't be manually modified to express the current limitations

IcedTea web applet plugin for Firefox

Running Firefox 51 on my mac and would like to use icedtea web applet plugin. The instructions provided in https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin is not clear for mac.
Is there anyway to use icedteaweb applet plugin for firefox running on Mac?
The support of plugins to run Applets has been removed from most browser.
It is no longer recommended to embed Applets into webpages.
See also: https://support.google.com/accounts/thread/11809182?hl=en

Limit Google Chrome extension to select platforms

I have an extension which talks to a native application. This application only works on macOS or Windows. But when I add the extension to my browser, it is also synchronized automatically to platforms where it does not make sense such as Linux or Chrome OS.
I'd figured there would be an option in the manifest.json to limit the app to specific platforms but I can't find anything like that. Am I correct? Or is there a solution?
Extensions will be installed based on chrome login. So it will be installed on all devices with chrome login.
You can programmatically enable/disable your scripts after checking for supported platform OS.
Use this API in background script to collect platform details - API Link.
Related question: Detect operating system from Google Chrome Extension

Executable application with node.js

Is it possible to create an application (like a Windows executable) with visual interface using node.js?
Question arises because I was looking at an application (exe file in windows) which apparently runs javascript code and use a "web-style" presentation (probably encapsulating a Browser object) so controls look pretty much as a web application but running in a windows application.
Is there any known tool for this?
Thanks
Gus

Ibm J9 internet Connection on windows mobile

I need to manage the GPRS connection on a JavaME application (start an internet connection automatically or ask user to select some connection) in a symbol handheld device with Windows Mobile 5. I'm developing this application with Java 1.3 and using IBM J9 as jvm.
How can I deal with this?
The connection starts only when i do open internet explorer and access something before launch the java application, after that the JavaME application connects to internet normally.
You're not totally screwed here - but close. You're going to have to write some C++ and use a JNA (not JNI) interface to manage your connection. It's straight-up impossible to manage a GPRS connection through CLDC. Good luck.
You can try using a tool called mortscript. It is a simple scripting language for windows mobile. It has functions for connecting and disconnecting the the default internet connection. Try it, it's free and you can do lots of other nifty stuff with it without writing any C++ code.
You can use mortscript to connect to the internet then launch your java program. However, if you want to connect from within your java code, you'll need a simple JNI function to call ShellExecuteEx on the script or
Aside from that, if you haven't started developing yet, I'd highly recommend you use .NET instead.

Resources