Skip to main content

Some Questions concerning phoneME Advanced on WindowsMobile

3 replies [Last post]
michaelkroll
Offline
Joined: 2006-05-23
Points: 0

Hello all,
after some time searching through this forum I was able to find a suitable VM for a HP iPaq and also able to install and run custom MIDlets.

Now my questions are if there is JSR75 (FileConnection) support. Secondly I have installed the WindowsMobilePowerToys to get a command line, but I can see exceptions thrown by the cvm only for some seconde before the window closes. Is there a chance to write the console output to a file, of even to prevent the vm to close the commandline?

I just followed the instructions at http://www.cs.kuleuven.be/~davy/phoneme/advanced.htm where I read about enabling consule output. May I change the registry key somehow to print the output into a file?

Thank you in advance,
Michael.

Reply viewing options

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

Hi Michael,

On Tuesday 29 July 2008 18:27:44 phonemeadvanced@mobileandembedded.org wrote:
> Hello all,
> after some time searching through this forum I was able to find a suitable
> VM for a HP iPaq and also able to install and run custom MIDlets.
>
> Now my questions are if there is JSR75 (FileConnection) support.

I have not been able to integrate this JSR in a dual stack pMEA build, but I
did manage to get an old implementation of this JSR to work with phoneME
Feature. There were some issues though with pathnames (backward and forward
slashes), and I am not sure if the implementation was complete.

> Secondly I have installed the WindowsMobilePowerToys to get a command line,
> but I can see exceptions thrown by the cvm only for some seconde before the
> window closes. Is there a chance to write the console output to a file, of
> even to prevent the vm to close the commandline?
> I just followed the instructions at
> http://www.cs.kuleuven.be/~davy/phoneme/advanced.htm where I read about
> enabling consule output. May I change the registry key somehow to print the
> output into a file?

There is indeed an annoying issue with the console application of Windows
Mobile Power Toys. It starts a new window if your application writes to
stdout, and closes it when the application terminates.

There used to be a free alternative called PocketConsole from SymbolicTools
that showed everything within the same window. You could launch PocketConsole
and start the application at the command line to see the exceptions. However,
it is no longer available at http://www.symbolictools.de/public/pocketconsole/

I do not know it if is possible to change the registry to redirect output to a
file, or override System.err with System.setErr, but perhaps you could try
this console application instead:
http://www.rainer-keuchel.de/wince/console.html

Davy

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

michaelkroll
Offline
Joined: 2006-05-23
Points: 0

Hi Davy,
so please let me know, how are you managing to debug on the device?
Using remote debugging features of the cvm?

I will take a look into the pME Feature implementation in order to see that the FC implementation will work for me. Maybe I can contribute to your implementation somehow.

Best,
Michael.

Davy Preuveneers

Hi Michael,

On Wednesday 30 July 2008 10:35:54 phonemeadvanced@mobileandembedded.org
wrote:
> Hi Davy,
> so please let me know, how are you managing to debug on the device?
> Using remote debugging features of the cvm?

I have never tried remote debugging on a PDA. I first test a new build on the
Windows Mobile device emulator with some basic midlets, and if that works I
install it on a real device. Sometimes I write a JSR-specific test midlet and
see if it is behaving as expected.

Davy

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