I have converted the C# code into a dll...
Now I want to access the dll from a java application(which is done using IBM weme j9 ).
I need help on 'how to call a C# smart device dll from java'....
Anyone having done this please help asap..
There's a button on the message editor that you can use to make code easier to read. I've used it on your sample.
Normally you'd want to use a Java API to send SMS, but if you're running J9, I suspect that the phone is running Windows Mobile, and J9 doesn't include hardware-specific features.
Suspect? no, what other OS would have DLLs.
You need to look at the JNI docs for JME and make some glue code - a JNI class that invokes the functions in the DLL.
An IDE is no substitute for an Intelligent Developer.
Joined: Aug 03, 2010
Yes,the pda is using Windows Mobile OS.
Will somebody help me in writing the jni class for invoking the method 'SendSMS(string recipient, string sContent)' in the above code?
Its very urgent...
Thanks in advance..