Hi All!
I don't know if i am posting on the correct board... but this is the place i think it is suitable for posting my problem.
I am doing PPC application development using J2ME.
However, I found that to run the application, the ppc need a java midlet manager to run my .jar application.
I wonder is there any way for me to pack my classes and src code into a exe or cab file , so that the user can just download and install my app in a few steps, instead of using a midlet manager such as JBed or Jeodek to run it?
Related
Hi all, what's the best software to use if I want to create .cab file for installing apps or chaing registry etc on the Universal's WM5/WM6?
I have tried "WinCE CAB Manager" but the cab file failed to be installed on my Windows Mobile emulator for some reason. I know you can use Visual Studio .NET 2005 something like that, but is there any lighter program in addition to VS .NET?
Thanks in advance!
kevin.jiang said:
Hi all, what's the best software to use if I want to create .cab file for installing apps or chaing registry etc on the Universal's WM5/WM6?
I have tried "WinCE CAB Manager" but the cab file failed to be installed on my Windows Mobile emulator for some reason. I know you can use Visual Studio .NET 2005 something like that, but is there any lighter program in addition to VS .NET?
Thanks in advance!
Click to expand...
Click to collapse
"WinCE CAB Manager" but the cab file failed to be installed on my Windows Mobile emulator for some reason -> u maybe set the wrong version variables?
check it! ;-) i think it workz!!!
I have set it to support all CPUs and on the OS type I have set it to support Pocket PC 2005. I will give it some more go later and see how it does.
Hi, it is still not working, I have attached the screenshot of the configurations in the cab and the error messsage I get. I tried it with my Universal and the Windows Mobile Device emulator and I got the same error.
Can anyone tell me what I have set wrong in this CAB? Thanks!
BTW, I was only trying to add a small .txt file by using this .cab as a test.
I have just got it working now! I installed WinCE CAB Manager on another PC and it is working fine!! For some reason the cab file it makes on my laptop doesn't work.
Anyway, I will use the other PCs to create the cab file then.
Wrong thread... Sorry
I've been studying Java with the Open University and would like to put into practice some of my newfound knowledge on the mobile side of things.
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
I have tried searching but to no avail so far so would appreciated your help.
Also, is there a decent Java compiler that operates under WM6. As that would be novel to play around with too! I currently use NetBeans on my pc.
Regards
Gary
Java on a mobile device = J2ME
There are plenty of Java VM for Pocket PC (check this thread). I think JBed (found in most blackstone ROM's including stock ones) is the best. It has severe limits but it is the best you can get on blackstone. For developement you can use your PC with Sun WTK 2.5.2 (it is supported by Netbeans).
There are no decent java compilers that run directly on PocketPC.
As your first app can you create a D-Pad in java to run skymobile????
garyainsworth said:
Can anybody help me get started by telling me which configuration I should be using with regard to CLDC/CDC-MIDP, are there any JDK's for the Touch HD etc?
Click to expand...
Click to collapse
Java ME : JBed or JBlend, choose one of them, both work great.
Java SE (Yes Desktop-class Java): MySaifu - http://www2s.biglobe.ne.jp/~dat/java/project/jvm/index_en.html
As for the JDK part (I mean the javac compiler and other tools), I do not know such a package yet. However, you can make javac work with MySaifu with a tools.jar file copied from standard JDK (1.3 or older probably).
Hope this helps
Java development with JVM for CDC
Thanks for your help guys.
I've managed to ge set up and have managed to create my first Midlet and run it on my Blackstone via JBed. I've used NetBeans 6.7
However, that is CLDC/MIDP, but when I try and install CDC creations JBed will not install it because a Midlet name is missing. Is this because the stock JBed does not support CDC. I have tried to find out but it is not perfectly clear and I will have to pay for a JVM to test my theory out if nobody can advise!
Thanks for help
Gazza
MOD EDIT
Moved to Themes, Applications and Software forum (?) as not related to rom development
I'd seriously look at JavaFX, sun released a beta of it the other day.
I really like it, it works well on the HD from my limited testing
http://javafx.com/downloads/windows.jsp
One slight flaw with the current version is that it wants to get network address even when try to search for local jar/jad on storage.
but setting it as default file association gets around that one..
JavaFX
Downloading as I write....
Thanks for your advice I appreciate it. As you may know, as a newcomer to development of JME it is so complicated to get started due to all the configurations so any pointers at this stage are very much appreciated.
Thanks
Gaz
OK, I have JavaFX installed on my HD and it works and I particularly like the calculator example app included with it. However, I still cannot get my CDC app to install. It says "Cannot install application because critical information is missing from the application file (.jad). I thought CDC used xml files and not JAD for descriptions. Am I wrong or is something to do with my platform/deployment configuration?
I cant see a jad file in the deploy folder either. Is this an error.
Thanks
Gaz
Nope, you still need the JAD descriptor file.
It's plain text file, just find some on the internet, open it with text editor and alter some of the properties in there, it's really easy.
Don't forget to change the path to your JAR archive - the best way is to put there just simple JAR name and copy the JAD to the same directory as JAR.
Thanks Pepcza,
I'll try that, just a thought though, if you still need a descriptor file (in this case .jad) why does'nt the Netbeans deployment process create it along with everything else? It does when creating CLDC platform apps!
Gaz
JavaFX
I think we should concentrate on this one. Youtube videos are working in bolt browser using Javafx. If only it would be a bit faster, It'll throw Jbed out of the window.
hi everybody i'd like know if there is any way for start java file in fullscreen mode. i suppose it need only a mobile java.exe patch on windows mobile..let me know
look into various midlet managers
http://wiki.xda-developers.com/inde...lets on the Pocket PC - the Complete Tutorial
http://wiki.xda-developers.com/index.php?pagename=The (Java) MIDlet Bible
Hey people, recently flashed my htc with a wm6.5 rom.
but there's no java?
Cant install any jar files so wondered if i can add it?
Thanks!
You have to install Jbed Java or something equivalent to use Java app's (or ask the cook to include java into the rom).
I have created a cab for HTC YouTube Application version 2.6.20111727.00 from latest Touch Pro 2 build but when i try to install it i get the message installation was unsuccessfull. Why is that? I created the cab using WinCE CAB Manager.
Diagrafeas said:
I have created a cab for HTC YouTube Application version 2.6.20111727.00 from latest Touch Pro 2 build but when i try to install it i get the message installation was unsuccessfull. Why is that? I created the cab using WinCE CAB Manager.
Click to expand...
Click to collapse
maybe it needs certs to be installed.
And how can i do that?
Got the same problem and i have certs installed.
I'm having the same problem creating a CAB for my WM6.1 ROM.
The main reason why I want this v2.6.x version to work is that it starts YouTube movies right after you hit a link inside Opera. The 2.5 version CAB does work on my TouchPro2 but does not open the YouTube link. Instead it opens the program and I have to search for a video to view it.
What did I find out so far?
The following file causes the install problem: ProtocolHandler.dll
After you remove this file from the CAB it installs just fine. But the program still doesn't run on my device.
I manually imported all retificates and when I try to start YouTube it shows: " 'YouTube' is not a valid Pocket PC application."
I copied the files myself to the phone memory and imported the registry entries but when i tried to open the *.exe i got the same message.
Where did you find the version 2.5 cab?
I created it myself as it is part of the User Customization of my Cosmik Debris ROM.
Could you upload it?
Here you go....
How can i sign the YouTube.exe with another certificate or none for that matter? Or how can i import HTC certificate?
On 2.6 I used the .CER files from a Kitchen I use. I justed put them on my device and opened them using TotalCommander.
For 2.5 this probably is not nescacary for me since the files are from the Kitchen I use for my ROM. I do have to say that I only use optimized CAB's that work with my Cosmik Derbis ROM. Reason is that my ROM is compressed and stript from a lot of stuff I never use. Therefore I can not guarantee that the CAB wil work on other WVGA devices.
Is this a right place for youtube application, XPERIA X1 ROM Development !!??
No it's not...
How can I open a special YouTube video (with url) with the original HTC YouTube Player 2.6? What is the url parameter? How can I add the "?v=xxx" parameter to the player?
I used a program called Unsigner (and batchUnsign) to remove the certificates from all files but i still get the message:
''The file 'YouTube' cannot be opened.
Either it is not signed with a trusted certificate,
or one of its components cannot be found.
If the problem persists, try reinstalling or restoring this file.''
So i believe that something is missing from my ROM.
Are any other files needed?
Arde said:
Is this a right place for youtube application, XPERIA X1 ROM Development !!??
Click to expand...
Click to collapse
And so its moved
Badwolve1