This week's book giveaway is in the Spring forum. We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line! See this thread for details.
i have created a mobile application and i have created a midlet suite. can anyone help me how i can install the midlet in a mobile phone. i have seen a number of articles about ota provisioning but i can't figure out how to do it. can anyone please help me about this? an example code perhaps. please.
Hi, This is not so difficult as you may think. I do assume that you have tested midlet what works well in your emulator, right? The next thing to do is to create wml-file (e.g. my_midlet.wml) to put on web-server:
The third thing is to open "my_midlet.jad"-file and update the "MIDlet-Jar-URL"-property: MIDlet-1: Midlet,,my_midlet MIDlet-Jar-Size: 40366 MIDlet-Jar-URL: http://www.myserver.com/my_midlet.jar MIDlet-Name: Midlet MIDlet-Vendor: Cool Midlet Corporation Ltd. / Your Name MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-1.0 Next put all these three files (wml, jad, jar) on web-server and try to download it by phone's web-browser; - just type the address and open the "Download Midlet"-link there. Everything after that happens automatically and typically application will be installed on phone's desk or to "Application"-menu. It's important to notice that "mime-type"-settings for "jad" and "jar" files are configured correctly on web-server. Needed mime-types are: ".jad" text/vnd.sun.j2me.app-descriptor ".jar" application/java-archive Above settings can be tested by Rex Swain's Great HTTP Viewer Hope this helps and I didn't forgot anything... br, Jorma
Thanks! How about if i would like to create an excutable file for my application? can you help me how i would be able to do that? i.e. i like to store it in a cd together with the emulator so that i could run it in a desktop and use it for demo purposes?tnx again in advance
Emulator is an exe-file and it could be possible to copy on CD, but I'm not sure is it legal. Also, I don't know what orher files emulator requires to have on cd, but at least ".jad", ".jar", and some type of shortcut must/should be copied/created. -Jorma-