We have an application running on CLDC 1.1/MIDP 2.1, based on Midlets and lcdui.
Is it possible to run the same application on CDC 1.1 with the PBP profile ? If so, where should I even start ?
I'm using Sun WTK 3.0.
With CLDC, the starting point is a JAD file, which indicates the name of the main midlet class. What is the starting point of an application on CDC ?
Those are two different platforms and VMs with different APIs. What you are suggesting is not possible.
Related
Question: How to monitor a Java Native Interface applications; do we use a Java Agent or the VM Agent?
Based on my research I believe its via the Java agent but need a SME to confirm this is the recommended approach or point me in the right direction.
Is it possible to to communicate with scanner using node js ?
We are using a php application which currently uses a Java applet to communicate with a scanner.
Since latest chrome versions have stopped support for applets we are looking for an alternative method for usb port communication
Can nodejs help us initiate the scan and read bufferstream from the port ?
If not what others options do we have ?
It should be possible with additional libraries.
Try to use this one https://github.com/tessel/node-usb
There is no pure javascript solution.
Fast way is to convert Java applet to Java Web Start. You have to write JNLP which download jars and runs applet outside browser.
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/applet_migration.html
You can also install scanning daemon on client side and connect via web sockets.
Eg. https://www.npmjs.com/package/scanner-js
Since I am new to Windows Phone Technology, I want to programatically find in my application that windows device is rooted/jailbrake or not. I found many links but it seems like no way for finding rooted windows device programatically. So is there any way to find rooted/jailbreak windows device programatically any API available for this ? Can anyone help me ?
Thanks
Rooting and/or jailbreaking is not officially supported by Microsoft and therefore there is no official way for you to check if your application is running on such device.
In principle, you could check that, but that check would involve adding stuff to your application that would not pass the certification which means that you can run that application only on jailbroken device.
Which then means that you don't need to check at all since you already know that you are running on such hardware.
is there something like Windows Services for WinCE 6.0 OS?, I mean, a background process thread(s) doing their things...
I need to develop a programm on .NETCF thay always listens to a specific port on device, stores it on SQL Server compact database and sends it back to another port. Don't want to do a desktop app for this as there will be no GUI at all...
Yes, Windows CE supports Services. However a true service must be written in C because the CF doesn't support EE Hosting. There is a Codeplex project to try to make managed services. I've never used it so I can't say I recommend it or not. YMMV.
As far as writing an app with no UI, that doesn't require a service. Just don't create a Form in your Main method.
Is it possible to write a mobile application with J2ME and whenever we want to implement a functionality not offered by J2ME call native mobile API ? (kind of like what is done with .NET, whenever you need something not provided, you just call the Win32 API from the .NET platform).
While JNI is not officially supported in J2ME, the Symbian implementation of J2ME obviously uses something very similar.
Since most J2ME APIs have a corresponding Symbian OS C++ API, what Symbian did (a lot) is develop adaptation layers between the 2.
Between that and the new modular architecture of the IBM J9 virtual machine (from Series60 3rd edition feature pack 2 onward), it is technically possible to add a new API to the virtual machine without actually needing to recompile most of a handset firmware.
However, third party developers simply are not allowed to do it without a lot of help from the handset manufacturer.
A loopback socket connection is the solution that people have tipically implemented to transfer data accross the language barrier. Large-scale deployment is not the easiest task, though, as you technically need to install 2 applications on the device. Once you understand the threading model of the Symbian J2ME implementation, you also realize how ugly and inefficient a hack it is.
When you reach that kind of issue, it's time to learn Symbian OS C++ and do it right.
No. That's not possible with Java ME.
Only sort of. Actually it is possible but not directly. You can write a native server that listens on a local socket and send requests to it from your Java MIDlet. Someone even released a framework to do this called MIDP-JNI (as opposed to real JNI). Obviously the form of the solution imposes some limitations on what you can do with it but it isn't actually impossible.
Be aware that using this approach can make your application much more complex to debug.
If you are specifically looking out for Nokia/Symbian, then APIBridge http://wiki.forum.nokia.com/index.php/J2ME_API_Bridge_Interface could be a solution. Typically it is the 'official' version of 'native server on local socket' kind of thing. The APIBridge is 'extensible' & you can write your own 'plugins' for your suitable 'low-level' task.