I do not think that what you are trying to do is possible.
If you want to develop a game using J2ME (which I infer is what you want to
do as you've got the J2MEWTK) then you are restricted to using Java graphics
API's, as the J2MEWTK is centered around CLDC which does not allow native
methods to be called from Java.
I can see 2 ways around this:
1 - Don't use CLDC. If you want to use Java there are other Palm Java
technologies available, such as Personal java, and any of the CDC based J2ME
profiles. All of these allow Java to access native methods.
2 - Get the source code to MIDP4Palm (I think that it's available), and
modify it to allow native calls. This might not be as much work as it
sounds, apparently the J2MEWTK source has native method support in it, and
it's just a question of changing your build settings to activate it.
Can I ask why you want to do this? What will you gain by using J2ME at all?
Cheers,
Idries
> -----Original Message-----
> From: Manoj K S [mailto:[EMAIL PROTECTED]]
> Sent: 08 July 2002 06:44
> To: Palm Developer Forum
> Subject: Jave game on SONY CLIE NR-70
>
>
> Hi all,
> I am manoj.I am newbie to palm development.
>
> I have SONY CLIE NR-70 with PALM OS 4.1.
> I would like to develop a small video game in java,that used the
> palm OS grahics commands.(Not the jave graphics commands).
> I have downloaded the J2SE,JEMEWTK,Palm OS emulator.
>
> 1. Could any one pls suggest some ways to proceed.
> 2. Can any one tell some sites where i could get some sample
> codes?
>
> Thanks and regards,
> Manoj K.S
> _________________________________________________________
> There is always a better job for you at Monsterindia.com.
> Go now http://monsterindia.rediff.com/jobs
>
>
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/