wood burning stoves*
The moose likes Java Micro Edition and the fly likes SMS Sending Issue 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 Sending Issue" Watch "SMS Sending Issue" New topic
Author

SMS Sending Issue

Ali Hassaan
Ranch Hand

Joined: May 16, 2001
Posts: 103
Hi Ranchers,
This is Hassaan from Standard Chartered Bank. I have developed SMS Mobile Banking solution for my bank. Now I am transfering this solution to J2ME base application which can later on be installed on Java enabled mobiles.
Now, application contains few Listbox and Textboxes which are working very fine on Nokia 6600. But on other phone sets its not working and gives invalid file format error.
Secondly, Issue with Nokia 6600 is that its unable to send SMS. Although when i trigger send SMS event it ask for sending SMS but its still unable to commit the task of sending SMS.
I dont know the way to debug the issue as there is no java console in Nokia 6600...
Kindly, give me some advice to resolve my issue.
Thanks,
Johann Evans
Ranch Hand

Joined: Nov 18, 2002
Posts: 47
You can use the Series60 Concept SDK from Nokia to test and debug your application. As for the SMS sending not working - I suppose you use the platformRequest() API? If so, just read the SDK documentation on Series60 regarding this API.

HTH
Johann Evans
Ranch Hand

Joined: Nov 18, 2002
Posts: 47
Sorry, forgot to add...

It could possible be that your MIDlet is not trusted, therefore it does not allow you request the specific service...
Ali Hassaan
Ranch Hand

Joined: May 16, 2001
Posts: 103
Hi Johann,
Thanks alot for your assistance. Atlast I am able to send SMS.
Now, only problem I am having is as follows.

When I am sending SMS to a number sms://+03332302566. Its working very fine and sending SMS easily. But when I am sending SMS to sms://+722 it is unable to send SMS without giving me any error.

Actually, 722 is special number we have purchased from our Telco. I think issue is might be because of less number of digits in mobile number.

Kindly, give me any idea. I am really stuck into it..
Thanks
Johann Evans
Ranch Hand

Joined: Nov 18, 2002
Posts: 47
I'm not so sure bout this one, but would suggest you try to pad your no with leading zeroes as a solution, alternatively, you might need to prefix your country code to your special no - I think you should try to determine where the problem lies -> does the platform refuse to open the no for processing or does the network fail the no...

Check this maybe using the sdk configured to an SMS gateway and see if the message gets beyond the platform - if so, check with your telco, if not, maybe check nokia TI on the specific phone regarding sms transmission.

HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SMS Sending Issue