Skip to main content

Pre-built WM 5.0 not running on emulator.

6 replies [Last post]
vlewis
Offline
Joined: 2008-05-31
Points: 0

I have taken Davy's prebuilt Advanced WM5 from

http://www.cs.kuleuven.be/~davy/phoneme/downloads.htm
phoneME Advanced - CDC b84

and I am trying to run it on the Windows Mobile 5 Pocket PC Emulator, using the "Storage Card" Link. I have everything from the zip available but I am getting a cvm.exe error...

The file 'cvm' cannot be opened. Either it is not signed with a trusted cert, or one of its components cannot be found...

Again, this is the emulator, my personal build does the same. Is it possible that the DLL's he says may be needed (see below) are missing in the emulator config ? Any other hints ?

"These builds typically need at least AYGSHELL.DLL and GX.DLL. "

TIA
Vince L.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Davy Preuveneers

On Friday 22 August 2008 13:12:08 phonemeadvanced@mobileandembedded.org wrote:
> My question was phrased poorly, this is all understood and may be working .
> The question is simply, in the Emulator, where would the System.out of
> "Hello World" go, and how can I see it ? I see your description
>
> "If you do not see anything printed, it is quite likely you do not have a
> shell or command prompt installed. If so, install the PPC Command Shell
> from the..."
>
> Is this what is required on the emulator as well ?
> [Message sent by forum member 'vlewis' (vlewis)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294777
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Yes, you need to install the command shell and change the registry in the WM5
(or higher) emulator as well.

Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

vlewis
Offline
Joined: 2008-05-31
Points: 0

My question was phrased poorly, this is all understood and may be working . The question is simply, in the Emulator, where would the System.out of "Hello World" go, and how can I see it ? I see your description

"If you do not see anything printed, it is quite likely you do not have a shell or command prompt installed. If so, install the PPC Command Shell from the..."

Is this what is required on the emulator as well ?

davyp
Offline
Joined: 2007-01-03
Points: 0

It appears my email reply did not end up on this forum, so I will repeat it
here again.

Yes, you need to install the command shell and change the registry in the
WM5 (or higher) emulator as well.

Davy

vlewis
Offline
Joined: 2008-05-31
Points: 0

Thanks, I guess that was sort of obvious... sorry bout that.

Okay now that It seems like it may be working ,I am looking at

http://www.cs.kuleuven.be/~davy/phoneme/advanced.htm

Run phoneME Advanced

Can you give me some hints on how you would you go about this using your prebuilt and and the emulator ?

Davy Preuveneers

On Friday 22 August 2008, phonemeadvanced@mobileandembedded.org wrote:
> Thanks, I guess that was sort of obvious... sorry bout that.
>
> Okay now that It seems like it may be working ,I am looking at
>
> http://www.cs.kuleuven.be/~davy/phoneme/advanced.htm
>
> Run phoneME Advanced
>
> Can you give me some hints on how you would you go about this using your
> prebuilt and and the emulator ? [Message sent by forum member 'vlewis'
> (vlewis)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294697
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net

I usually unzip the phoneME binaries in a folder (say c:\temp\storage), and
select that folder as a Storage Card in the Windows Mobile emulator. If you
start the emulator, have a look at:

File -> Configure -> General -> Shared folder

If you select a folder on your filesystem, then this folder will appear as a
virtual memory card in the emulator. With this trick, you can put your Java
applications also in c:\temp\storage, create a startup *.lnk file, edit and
compile the java applications, etc. without needing to install these files
each time onto the emulator's own filesystem. Running the application is a
simple as clicking on the *.lnk file in the emulator.

Of course, you could also install a cab file like you would do with a real
device, but for development purposes I would propose the first approach.

Regards,
Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Davy Preuveneers

On Thursday 21 August 2008 14:40:35 phonemeadvanced@mobileandembedded.org
wrote:
> I have taken Davy's prebuilt Advanced WM5 from
>
> http://www.cs.kuleuven.be/~davy/phoneme/downloads.htm
> phoneME Advanced - CDC b84
>
> and I am trying to run it on the Windows Mobile 5 Pocket PC Emulator, using
> the "Storage Card" Link. I have everything from the zip available but I am
> getting a cvm.exe error...
>
> The file 'cvm' cannot be opened. Either it is not signed with a trusted
> cert, or one of its components cannot be found...
>
> Again, this is the emulator, my personal build does the same. Is it
> possible that the DLL's he says may be needed (see below) are missing in
> the emulator config ? Any other hints ?
>
>
> "These builds typically need at least AYGSHELL.DLL and GX.DLL. "
>
> TIA
> Vince L.
> [Message sent by forum member 'vlewis' (vlewis)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294604
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net

If you unzip everything in "Storage Card", you may need to change the *.lnk
files to make sure that the paths to cvm.exe and the class/jar files are
correct. For example, the demo.lnk file currently assumes that phoneME is
installed in the root folder:

254#"\phoneme\cdc\bin\cvm.exe" -cp "\phoneme\cdc\democlasses.jar" cdc.Hello

You will need to change the demo.lnk file to something like [all on one line]:

254#"\storage card\phoneme\cdc\bin\cvm.exe" -cp "\storage card
\phoneme\cdc\democlasses.jar" cdc.Hello

The Windows Mobile 5 emulator and all PDAs should have the aygshell.dll and
gx.dll libraries, while some custom built hardware with a plain WinCE OS may
not.

Davy

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net