Questions tagged [smslib]

SMSLib is a programmer's library for sending and receiving SMS messages via a GSM modem or mobile phone. SMSLib also supports a few bulk SMS operators.

SMSLib is a .net 3.5 (and above) library for sending and receiving messages via a modem or mobile phone. SMSLib also supports a few bulk SMS operators.

97 questions
8
votes
1 answer

How to read SMS from sim in dongle using JAVA

I am using following code to send sms from dongle. Its sending Sucessfullly. Now I want to read SIM sms or unread sms from dongle so plaese can any one tell me how to read that following is the code to send sms import…
pareshm
  • 4,874
  • 5
  • 35
  • 53
8
votes
2 answers

Is there a Snow Leopard compatible "sudden motion sensor" API available?

I have been using Unimotion in my application to read motion sensor values for Apple laptops, but have been unable to port the code to 10.6 64-bit. (I have also tried SMSLib and had the no luck either.) Is there any simple 10.6 compatible SMS…
Gavin Brock
  • 5,027
  • 1
  • 30
  • 33
8
votes
2 answers

How do I configure Log4j to read my properties file?

I am sending an SMS using SMSLib in Java. I have loaded the log4j jar file and placed the log4j.properties file in the right place, but it still can't read it and gets the below exception: Exception text: log4j:ERROR Could not read configuration…
Spartan
  • 1,167
  • 4
  • 20
  • 40
5
votes
0 answers

SMS-lib: How to find the right settings to connect to IP modem?

I am using the smslib library in java to connect a HSDPA dongle to my computer. I then use this dongle to send SMS messages. Previously I used a USB modem; that I then mapped as a Serial port. I could connect to it as such: gateway = new…
arnehehe
  • 1,386
  • 1
  • 17
  • 33
5
votes
1 answer

Automatically detect which Com Port is connected to a USB GSM Modem using Java

I wrote a Java application that reads and sends SMS messages from a USB GSM modem. I'm using SMSLib (which uses JavaCommAPI), and it runs on Windows. I need to pass in the COM PORT, that the modem appears to be connected to. So far, I've been…
tomato
  • 5,644
  • 13
  • 43
  • 48
4
votes
3 answers

smslib not sending sms why?

I am trying to send a sms with smslib but It did not send the message, can somebody guide me on this? this is my code: import org.smslib.AGateway; import org.smslib.IOutboundMessageNotification; import org.smslib.Library; import…
bentham
  • 1,701
  • 3
  • 20
  • 32
4
votes
2 answers

sending multiple sms using SMSLib within same process

I am using SMSLib to send sms using my samsung gsm modem. I created a seperate thread that gets the messages from server in every 20 seconds and if it gets the message it calls the SendMessage.. here is the code for SendMessage public class…
Adil Shaikh
  • 44,509
  • 17
  • 89
  • 111
4
votes
0 answers

Map bluetooth device to a serial port in Linux

I have connected my mobile phone to my laptop via bluetooth. Now I need to map that bluetooth connection to a virtual serial port. Purpose of doing that is to configure SMSLib Java library to send sms via my phone. Ubuntu 12.04 is the OS running in…
Lahiru Ruhunage
  • 351
  • 2
  • 10
  • 23
3
votes
0 answers

SMS Lib Call Notification Not working

I am using SMSLib 3.5.2 library to send/receive sms. I do not receive message when I try to do so by implementing call back methods. Moreover, even the function of incoming call notification is never being called. Any help would be highly…
Zohaib
  • 7,026
  • 3
  • 26
  • 35
3
votes
3 answers

SMSLib doesn't receive sms [java edition]

i am trying to use my mobile phone as GSM modem.i use SMSLib for sending and receiving SMS with this modem. the problem is that when my phone(GSM modem) receive a sms i don't notify with SMSLib.but the code overall is good for example that notifies…
CoderInNetwork
  • 2,923
  • 4
  • 22
  • 39
2
votes
3 answers

Getting the text and sender of an sms using smslib

I want to get the text and sender of the SMS read from the modem so that I can manipulate it as appropriate and then delete the read and used messages.this is the part of the code: msgList = new…
zoomrock
  • 61
  • 5
2
votes
1 answer

Sending SMS to mobile through SMSLib API but COM ports not found

I want to send am SMS to my mobile phone that I have connected to my PC through a USB port. I am using SMSLib for this purpose. I am trying to run this code example but I am getting the following error. The output of the program including the error…
CN1002
  • 1,115
  • 3
  • 20
  • 40
2
votes
1 answer

Offline/Desktop Application that supports Send & Receive SMS using AT Commands in C#

I would like to build an offline desktop application that could carry out the basic sms functions with the usage of a GSM modem. I currently have a HUAWEI modem which was given to me by the telco company to perform wireless surfing and sms messaging…
2
votes
1 answer

SMSlib with webservice

I'm using SMSlib for sending messages using serial gsm modem.I need to send SMSs multiple times using the same application. I ran the SMSlib example without issues and it worked fine.But when I tried to use the same code under a webservice it can…
Kaveen
  • 129
  • 1
  • 2
  • 11
2
votes
0 answers

How to send SMS using SMSLib

I'm trying to send SMS using SMSLib and USB GSM modem. I'm doing this in Maven project and I have following dependencies in pom.xml: org.smslib smslib
Sujal
  • 671
  • 1
  • 16
  • 34
1
2 3 4 5 6 7