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
0
votes
1 answer

Java for smslib: building error for sending message using smslib

i installed lib smslib for my project for sending message example in the lib smslib-v3.5.3. i followed all the instructions at the website smslib.org for lib setup. But i found the error. public class SendMessage{ public void doIt() throws…
0
votes
1 answer

Unable to send message using smslib

I am using a Simado GDT11 modem and Prolific USB to Serial port driver. The new connection appears in my Device Manager > Ports list. However, I am unable to send messages using smslib. I am using the basic class as specified in the smslib…
Neel Borooah
  • 91
  • 1
  • 1
  • 11
0
votes
1 answer

Send SMS using HSPA modem while it is connected to internet

I am developing a Java application to send SMS using a USB modem (mine is Huawei E173). I tried SMSLib and its example code succeeded in sending sms. But when it is connected to internet, it gives exception org.smslib.GatewayException: Comm…
Peter1
  • 157
  • 1
  • 2
  • 13
0
votes
2 answers

where I should place log4j.properties file to enable debug logging in smslib,when it is added through maven dependencies?

I'm doing some java maven project based on thucydides-jbehave-archetype. Smslib dependency is added through maven: org.smslib smslib
Eljah
  • 4,188
  • 4
  • 41
  • 85
0
votes
2 answers

How to assign a sender name in SMSLib?

I'm using SMSLib in my java application to send messages, I make that using a usb modem as a gateway and send the messages to any phone throw it, the point here that when i receive the message it displays the sender as the sim number(the sim that…
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
0
votes
1 answer

How to create modem gateway by SMSLib using USB?

I want to create a modem gateway by SMSLib using a USB connection, i know that there is no a direct way to do that as SMSLib supports only the ip and serial connections : SerialModemGateway gateway = new SerialModemGateway(id, comPort, baudRate,…
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
0
votes
1 answer

How to use iphone as a gateway in SMSLib?

I want to use SMSLib in a Java application in order to send an SMS to my iPhone without using an external gateway, So, i want to deal with the phone as the gateway and make it receive the message, node that I'm considering the GSM of the mobile as…
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
0
votes
2 answers

How to find apache-jakarta?

I want to include SMSLib in java and there are certain requirements to accomplish that. i followed the instructions but i found that i must include apache-jakarta as one of the steps, but i can't find apache-jakarta anywhere to download, and in the…
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
0
votes
1 answer

Send SMS in java using site2SMS/way2sms

The following code is to send sms in JAVA language, import java.net.*; import java.io.*; import java.util.Scanner; public class site2sms { //Replace your site2sms username and password below static final String _userName = "username"; …
user27
  • 146
  • 1
  • 1
  • 8
0
votes
2 answers

Sending data between 2 Android devices

I have an App which records gps location details of the User. Now when the user clicks "Send" the data needs to be sent to the Another Android phone(Second user) and received by this same app installed in that phone. One way that I feel it can be…
user1559950
0
votes
2 answers

accessing and changing user data header in java smslib

I have used java smslib api to send an sms from pc to mobile using a gsm modem. I wanted to know if it is possible to send images and short audio clips through sms using this. I have heard that by changing the user data header of the message, this…
newbee
  • 409
  • 2
  • 12
  • 34
0
votes
3 answers

How I send multiple SMS' in one program?

I want to send multiple SMS' via using smslib. I make a Java class to send SMS in a loop. But it works only one time. then it returns the following exception: org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException:…
Kalana Sarange
  • 77
  • 1
  • 13
0
votes
1 answer

SMSLib. Service.getInstance().stopService() doesn't work

Im using SMSlib library to send sms from USB 3G Modem ZTE MF180. I tried to use SendMessage.java class to test my modem, so I duplicated sms sending code - so in theory I was expecting to get 2 sms. OutboundNotification outboundNotification = new…
0
votes
1 answer

How to create a sms server using smslib

Guys I am currently looking at the SMSlib to send and receive SMS via a GSM modem. I was able to successfully receive and send the SMS through it. But what I need to do is to continually listen to SMS and respond to them accordingly. So i guess i…
haedes
  • 612
  • 2
  • 10
  • 23
0
votes
1 answer

Unable to update value of gobal variable in threads

I am not able to update the value of a global variable in a function which is called continuously by a thread The function code is: public void readMessages() { if (srv.getServiceStatus() == Service.ServiceStatus.STARTED) { try { …
user1318860
  • 67
  • 1
  • 4
  • 10