• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Including External files......?????

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
How do i include C++ header files in J2ME application and there by to reuse the code.If so how can i pass pointer type parameters to the functions in the external files.Does the javah tool work for J2ME also.I tried but didn't compiled properly.
Hope to hear a suggestion soon.
Thanks
Joe
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ha ha! That's a good one.
First, J2ME != MIDP, although the widespread belief is otherwise. This is important, because technicaly, the answer is, it depends.
In MIDP, and probably in most CLDC profiles, JNI calls is not/will not be supported.
I think Personal Java does support JNI calls. PersonalProfile, which will replace Personal Java will probably have the same support as before.
--Mark
hershey@vaultus.com
 
Joe Augustine
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So u mean to say that in J2ME applications we cann't incorporate C++ header files ? Ummmm....who told MicroJava is great!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic