• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Joe Augustine
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • 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
  • 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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic