programming xda - Windows Mobile Software Development

Hi guys
I d like to do some c++ programs for the xda.
I ve got Embedded C++ for Pocket PC.
I don t have a xda disponible so I am using the emulator from c++.
I d like to create a program to communicate with a flash file but my problem is how to send a file in the emulator ?
is there other way to do ? do you use another kind of emulator ?
thanks
fred

Check out "C:\Windows CE Tools\BIN\CEFILEVW.EXE" or wherever you've installed your eVT3.

Related

How to create CAB for WM5/WM6

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

Java Development on Touch HD

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.

Install Windows Mobile SDK without Visual Studio

I'm going to start with why, then how.
Why: I use the open source SharpDevelop to write Windows Mobile .NET applications. Some of the managed libraries that are included in Windows Mobile are not usable without the Windows Mobile SDK files. Microsoft's SDK Installer checks for Visual Studio, and if it not installed, will NOT install the SDK.
How: Download the SDK, open a command prompt, cd to where the SDK was downloaded to and type (making appropriate changes):
Code:
msiexec /a "MSI File.msi" /qb TARGETDIR="Full path to target directory"
For example, lets say that the file is called "WM6 SDK.msi" (which it is not), you downloaded it to "C:\WM SDKs\" and you want to extract it to "C:\WM SDKs\WM6 SDK\", you would type:
Code:
cd C:\WM SDKs
msiexec /a "WM6 SDK.msi" /qb TARGETDIR="C:\WM SDKs\WM6 SDK\"
The DLLs you need to add a references in your project will be under a folder called Designtimereferences
Anyone find this useful?
heyy thanks i found this useful...havent tried it yet, but didnt wanna go about downloading and installing VS if i dont want/need to
thanks man
hasseye said:
heyy thanks i found this useful...havent tried it yet, but didnt wanna go about downloading and installing VS if i dont want/need to
thanks man
Click to expand...
Click to collapse
No problem ... Thanks for the feedback.
cool!
Ultracool Man!
thanks for sharing the information .... no doubt it is useful to alot
Interesting! Anyone know if this enables the SDK to work with Visual Studio Express?
FloatingFatMan said:
Interesting! Anyone know if this enables the SDK to work with Visual Studio Express?
Click to expand...
Click to collapse
I doubt it ... I use SharpDevelop. I have a legal copy of Visual Studio 2003 + 2005, but I use SharpDevelop.
SharpDevelop
Does sharp develop support Compact Framework 3.5?
What are some advantages to using this?
I normally develop with visual Studio 2008 Professional with the Window Mobile 6 SDK.
Wish I would have know about this sooner.
2008 Standard does not support windows mobile development and pro was kind of spendy.
2005 standard supports it.
<slight rant>
Why microsoft? Why would you require pro to make apps, when you need to gain market share. The other platforms are growing because of the availabilty of apps.
</slight rant>
Sharp Develop DOES support CF 3.5, but you need to install .NET CF 3.5 and .NET CF 3.5 Power Toys on the PC to use it ... See Compact Framework on SharpDevelop Wiki.

PPC2002 Emulator / Image

Hello everybody,
I am working in a german company where we're still using old iPAQs (iPAQ PE2030) with Windows Mobile 2002 because the application doesn't work on Windows Mobile 2003 or higher.
Now I'm looking for an emulator or an emulator-image for WM2002 for the Microsoft Device Emulator. I can't find any Image of PPC2002 on Google and I hope maybe to find the image here.
It would be nice if there's a solution to get it work, because a reprogram of it will cost thousands of euros.
Thanks in advance,
Patrick
Have a look at post #2 in here.
http://forum.xda-developers.com/showthread.php?t=777850
Embedded Visual Tools 3.0 (C++ and VB) came with an emulator of sorts for WM 2002 SE, which installs with the compiler. It is not a true emulator as such, like those run by Device Emulator Manager, but it is as near as you are going to get. The compilers create special x86 emulator executable versions that the emulator can run, and you can debug.
When you are satisfied with it, switch the compile to release, and it will generate an ARM code executable to run on the device.
The emulator images running under Device Emulator Manager can run ARM code executables, but the EVT emulator can't.
The problem is that you will need the source code for the app to compile it.

no "hello word" running on emulator

Hi, I'm trying to run the hello app from cordova, I started the emulator from android studio then from the shell I just followed instructions from the apache cordova doc so:
cordova create hello com.example.hello HelloWorld;
cd hello;
cordova platform add android;
and as root (sudo didn't work)
cordova build
cordova emulate android
No errors on build but nothing happens on emulator
Anybody can help ?
Thanks
ps: Os is linux mint 64, maybe screenshot can help?

Categories

Resources