Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sms.dll & java

 
El Khenati Faycal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

i have to develop a j2me app that sends sms. i got the sms api but they are written in C++. does anyone knows how i can call the function i have in the .cpp file using JNI?

thanks in advance
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this question to the J2ME forum... Please continue the discussion over there. Thanks.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Michael is correct, the MIDP specification does not support JNI so you should probably look into your particular vendor's APIs and documentation for assistance.
 
El Khenati Faycal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes you are right but i want to use personal profile which does support JNI
 
arnel nicolas
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by El Khenati Faycal:
yes you are right but i want to use personal profile which does support JNI


... and that will depend if your vendor has implementation of personal profile for their devices.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic