Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


kiwicas

4 posts

Wannabe Geek


#7740 6-May-2006 09:33
Send private message

Hello there,

I'm here because I'm a newbie with SMS technology and I've been told that these forums are the best to goto.

I'm using jSMSEngine's SendMessage.java, a sample program.

I believe I've installed the jar file correctly as I no longer have any errors when I compile this java file (SendMessage.java).

However, when I run said file I get the following:

SendMessage(): Sample Application
Using jSMSEngine API 1.2.6 (B1)
Mobile Device Information:
Manufacturer - Nokia
Model - 6020 (I also tried it with a 3220)
Serial Num - "won't post it but its correct"
IMSI - ""
S/W - ""
Battery: 78%
Signal: 317%

Message Failed!

---

In the file its line:

if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
else System.out.println("Message Failed!");

---

I've been checking the other files but can't understand whats wrong with it (CService perhaps!?!)

The fact that no exception is shown tells me that its something very simple and could be fixed easily (line of code) or not at all (phone not compatible).

Any help would be brilliant!!

I've already compiled and ran the ReadMessages sample file and it works great!!

---

Thank You in advance.

Create new topic
tonyhughes
Hawkes Bay
8476 posts

Uber Geek
+1 received by user: 6

Retired Mod
Trusted
Lifetime subscriber

  #35134 7-May-2006 01:30
Send private message

bump







Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.