Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java Micro Edition and the fly likes sms.dll & java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "sms.dll & java" Watch "sms.dll & java" New topic
Author

sms.dll & java

El Khenati Faycal
Greenhorn

Joined: Jul 11, 2004
Posts: 4
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


faycal
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I'm moving this question to the J2ME forum... Please continue the discussion over there. Thanks.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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

Joined: Jul 11, 2004
Posts: 4
yes you are right but i want to use personal profile which does support JNI
arnel nicolas
Ranch Hand

Joined: Dec 16, 2003
Posts: 149
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sms.dll & java