Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

native methods call in j2me !!

 
guru Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ...
I am trying to execute midlet which has been given in "wireless development tutorial: part II". When i try to build this midlet with j2me-WTK, it gives error:
ALERT: native method not supported.
I don't know why it is saying so. It is a midlet developed by sun itself, then how can it contain native methods. Plz anyone help me.
Raheel.
 
Fred Grott
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by guru Khan:
hi ...
I am trying to execute midlet which has been given in "wireless development tutorial: part II". When i try to build this midlet with j2me-WTK, it gives error:
ALERT: native method not supported.
I don't know why it is saying so. It is a midlet developed by sun itself, then how can it contain native methods. Plz anyone help me.
Raheel.

which midp version and which wtk version are you using?
 
guru Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply.
I am using J2ME wireless toolkit version: 1.0.4_01 and
MIDP version: 1.0
But have some doubts about the version of MIDP. I have traced ver. 1.0 from the html documentation inside my WTK folder. A link in it says "MIDP 1.0 APIs". If it has something to do with midp version, then plz tell me how can i configure it with some different version. plz help!!!
Raheel.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is the article you're referring to, then you should download Wireless Toolkit 2.0 (for MIDP 2.0) because the article uses that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic