• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

native methods call in j2me !!

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic