Where's the source for midpapi.zip?  
Author Message
Tim Tyler





PostPosted: 2003-8-5 4:46:00 Top

java-programmer, Where's the source for midpapi.zip? OK - I give up - what has Sun done with the source to "midpapi.zip"?

I'm usting the WTK, 2.0.

Thanks in advance for any assistance.
--
__________
|im |yler http://timtyler.org/ email***@***.com
 
Tim Tyler





PostPosted: 2003-8-5 20:53:00 Top

java-programmer >> Where's the source for midpapi.zip? Tim Tyler <email***@***.com> wrote:

: OK - I give up - what has Sun done with the source to "midpapi.zip"?

: I'm usting the WTK, 2.0.

: Thanks in advance for any assistance.

The binary midpapi.zip in the WTK has been through some sort of a mangler.

For example, while the Javadoc has:

public void drawRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
boolean processAlpha)

The binary distribution in the WTK has:

public void drawRGB(int[] arg0,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6,
boolean arg7)

Obviously this isn't very self-documenting - and it forces you to
constantly refer back to the manual to find out what arguments do :-(

Is there a version that hasn't been mangled in this way?
--
__________
|im |yler http://timtyler.org/ email***@***.com
 
Darryl L. Pierce





PostPosted: 2003-8-6 9:20:00 Top

java-programmer >> Where's the source for midpapi.zip? Tim Tyler wrote:

> OK - I give up - what has Sun done with the source to "midpapi.zip"?
>
> I'm usting the WTK, 2.0.
>
> Thanks in advance for any assistance.

It's not included with the Wireless Toolkit. The full source code is
available with the MIDP 2.0 reference implementation.
<http://wwws.sun.com/software/communitysource/j2me/midp/download20.html>

--
Darryl L. Pierce <email***@***.com>
Visit the Infobahn Offramp - <http://bellsouthpwp.net/m/c/mcpierce>
"What do you care what other people think, Mr. Feynman?"