Vijay Dogra wrote:Have you mentioned the permissions required in your file?
This is my manifest.mf file inside my jar file that i try to install in my nokia phone which is on a US carrier .
Manifest-Version: 1.0
Ant-Version: Apache
Ant 1.8.1
Created-By: 1.6.0_23-b04 (Sun Microsystems Inc.)
MIDlet-1: How To SendTextSMSMidlet, , HowToSendTextSMSMidlet
MIDlet-Permissions: javax.wireless.messaging.sms.send, javax.wireless.
messaging.sms.receive
MIDlet-Vendor: Vendor
MIDlet-Name: How To SendTextSMSMidlet
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
I have just added the extra receive permission although it is not needed in this case . when i test the code in an nokia s40 emulator, i get result = true (Please interpret this meaning from the code ) . I then install the jar in my phone(E71) and it shows the form . I enter the phone number and a message and press send and the result is false which means the message is not getting sent !!! it seems to me an issue of app-signing or a case of handsets here in US which are locked or deny me access to basic sms sending features of j2me apps.