is sending bulk messages through a Powerbuilder app using comm ports possible? I want my Powerbuilder app to instruct a mobile phone connected though a comm port via bluetooth to send bulk messages to other phones or if possible by using the free text messaging sites on the web. And if it is, could you please lead me to an article or site on how how to do it? Thanks in advance. :)
You can use FileOpen, FileWrite, FileClose with the com port. For FileOpen, pass "\.\COM##" for the filename where ## is the com port number.
Related
I am creating a small VB project and I want to send some information through SMS. I tried to find solutions in here many threads but can get one.
I am using Huawei E1731 3G USB modem, which is capable of sending and receiving sms through its official software. How can i use the modem to send a fixed message to particular number by getting the number from text box in a form?
Hopefully you are using VB.NET and not VB6.
Here is a solution in C#.NET which you should easily be able to convert to VB.NET :
http://sharp-coders.blogspot.in/2011/12/send-sms-using-at-commands-via-gms.html
I'm in the process of porting an application to the Windows Phone platform. I spent quite a while reading MSDN documentation and I can'd find nothing on the subject.
Is it possible to create server sockets on Windows Phone? All I've found is related with client side, like creating connections to remote machines. I can't find nothing the other way: The phone acting as the server.
Some essential methods like Bind and Listen are not exposed by the Socket class included in the Windows Phone 7.1 SDK.
This was kind of a surprise to me.
Any help or confirmation on this will be truly appreciated!
Thanks in advance!
You cannot open a socket for listening from a Windows Phone 7 application. This is due primarily to the complexities of the cellular data networks, such as the use of transparent proxies, shared IP addresses, and frequent connection disruptions.
Until windows phone 8 you will not be able to listen on sockets, you have to use an intermediary service to listen/send between two or more phones.
Check this link, on windows phone 8, there is new API introduced for streamlistner
We are also trying at our end, should be possible
Class is StreamSocketListener
http://msdn.microsoft.com/en-us/library/windowsphone/develop/windows.networking.sockets.streamsocketlistener.aspx
I dont know about a "server" but it has UDP functionality and can send data through it and send/receive with TCP.
also, i have found the SDK to lack some APIs to interface with the phone. ex no Bluetooth or not being able to switch between internal and headphones for sound through developer programming.
I am stuck in the midst of a project. The project requires that a desktop pc must receive an sms sent from a mobile phone. How can I accomplish this? Please help.
You can connect a GSM Modem like this one to the serial port. It acts like a mobile phone with its own SIM card. I'm sure there are other products for USB.
On the software side, you can check for SMS messages by talking with AT commands to the device. I've done that in Perl and in .NET "manually", but maybe there are some out-of-the-box solutions.
i know (and have used) 2 ways to do this.
The quick, dirty and hacky way is to buy a mobile phone and connect it to your PC with a serial cable, then use old fashioned AT commands to control the phone (including listening for new SMS messages).
Many older Nokias support this, though it's not hugely well documented - this is about the best resource I found: http://wiki.forum.nokia.com/index.php/AT_Commands.
There are many exciting ways this can fail - you have to keep the phone charged, and in a data centre, reception is often pretty poor.
The alternative is to talk to a mobile aggregator (Google for likely candidates in your area). These are companies that can set up SMS short codes, and have APIs for forwarding the messages to you; APIs vary between the providers. This is usually fairly expensive - shortcodes cost money, sending and receiving SMS messages costs money, and the aggregator may not have deals with countries you care about. Caveat emptor, and all that.
You would also need a library to send/receive the AT commands to and from the modem.
See http://www.codeproject.com/KB/vb/phonesmsrecv.aspx
This software can help you. It uses a GSM/3G modem attached to a PC. It can store incoming SMS messages in a database, save to files, forward them to a webserver, in real-time.
(A 3g/gsm modem has a SIM card and therefore has its own phone number to which sms messages can be sent)
I've been tasked with a project where the customer would like to send SMS, MMS messages from a mobile device. They would like to have a dedicated phone number to send these messages to. We would like these messages get routed through a gateway so it can be processed in a Java Application Server and have the server generate a response that will make its way back to the users mobile device. The server side of this will be done in Java.
I'm new to this and trying to understand the best approach. Please let me know what services and APIs are available that will allow me to do this. It seems like there are plenty of services available to get the message from the server to the phone, but I'm not clear on the mechanism for getting the message from the device routed to the Java application server.
Any suggestions are greatly appreciated.
Thanks in advance.
Seth
You could get yourself an old Nokia 3210 or something with a data cable and connect it to a server.
There are a bunch of companies that can provide a phone number to receive incoming sms messages as well as send them (not sure about MMS; that is a different story). One of them is Clickatell. They have a variety of API's you can use from Java.
http://www.clickatell.com/products/gateway.php
There are some services which allow you to define a callback URL, so when their server receives an SMS, they forward the data to you via HTTP POST. Of course, there are several proprietary protocols, and SMPP (e.g. http://opensmpp.logica.com/), but that's a lot more complicated.
An example of such a service is http://www.textmagic.com/app/pages/en/products/bulk-sms-gateway-api
I've absolutely no idea if this is possible and how it would work.
is it possible to give users a phonenumber where they should send an sms to.
e.g. the sms contains
name
some code
i want to track how many sms are sent to this number.
i want to read the sms text and use both nodes
they weird way i imagine this: i buy a prepaid simcard from any phone provider, i plug the simcard into any device (sim-reader :) ) connected to my computer. my computer is ONLINE. so my computer is kind of transformed to a mobile phone. some software is able to retrieve those sms and i can use the data in it.
is that even possible, if yes HOW?
You can use e.g. gammu to send and receive SMS from a cellphone connected to your computer - essentially creating a SMS gateway. I've succesfully used it in the past in this setup (newer phones have serial port emulation through USB, for older ones you need a model-specific serial-to-phone cable):
my program <-> database/textfiles <-> gammu <-> serial port <-> cellphone
The operation was as follows:
gammu ran in the command line/daemon mode, with a watchdog script restarting it (and the cellphone) if the cellphone became unresponsive (this was a really old phone; a watchdog is probably not necessary with anything > 2006)
gammu polled the cellphone for new messages, those were store into a "received" table in the database.
gammu also polled an "outgoing" table in the database for messages I wanted to send, and sent them through the cellphone.
my program was a web frontend for reading the incoming messages or inserting the outgoing ones.
(Gammu has an API to interface with the cellphone directly, without the database; I decided to keep the backend and frontend parts separate, and since the frontend was using the database for other things anyway, it was easiest to go that way; also, I was using an old phone for this, and needed the frontend to run even if the cellphone wasn't responding)
There are several possibilities listed here. But it depends on the phone you are using. Symbian, iOS, Android, Windows Mobile. But basically it is possible using a GSM Modem.