Sending & Receiving SMS in Netbeans SMSLIB - netbeans

I am working on a project in which im sending sms and receiving them in computer through SMSLIB where a mobile is connected to my computer via Bluetooth. I have to get the mobile number of that mobile which is connected to my computer but i am unable to find a function for it. Kindly help me.
Thanks!

this is a late response, and you might already have the answer, but the fact is that you can't. you have to know the number of the SIM card that your modem (or phone) is using.
I usually set the gateway ID to be the phone number. that helps with debugging and whatnot, especially if you have multiple modems.

Related

Is there a way to connect my android phone over wifi to asterisk pbx so can I make make and receive calls via the mobile from my pbx?

I have set up my raspberry pi with Asterisk and FreePBX. I am now trying to get this to be able to use my android mobile phone to make outgoing calls while the phone is in the range of my wifi.
So a good start would be if the pbx could pick up an incoming call and send it to the voice mail. I.e. record what the caller had to say.
I have read that you can do something similar with chan_dongle but looks like its over bluetooth. Can we not just do this over wifi?
Fairly new to all this so will have undoubtedly missed out vital info so please just ask and I will try and keep an eye on the forum and respond.
You can't do termination on android softphone.
When call come you have no access to it, android core developers work hard to limit such access.
Phone call done in hardware, hardware gsm core have closed firmware/drivers and thoose interfaces specialy designed to not allow access.
That was done to prevent spy-like apps/viruses and termination too ;)

iOS Bluetooth printer?

Does anybody suggest a mobile printer able to print receipt with a good SDK to interface wireless an iOS application adhoc developed ? The printer should be small and should use rechargeable batteries for field use.
I cannot use wifi because not always a trusted access point (customer premises) is available, so I think to use Bluetooth, but of course any suggestion is welcome !
FYI I already checked Zebra printers SDK for iOS but it seems able to print only using a TCP/IP address, it means (for as I know) I should use wifi. In my case the application should be used in the field from an iPad connected with cellular network. In iPad there is no hot-spot and not always there is an available wifi access point tho connect the iPad and the printer the the same network to use TCP/IP addresses. That is the reason I'm guessing the last chance should be bluetooth.
Unfortunately iOS5 does not support Bluetooth printing.
http://support.apple.com/kb/ht3647
Have you considered VPN via WEP to a network printer?
Alternatively some printers can be set up with their own email address. PDF attachments can be sent via this address to be printed. These emails can be sent encrypted.
I know that this isn't the IDEAL answer, but it is likely to work for the time being until iOS is properly updated.
Yes, I have Bluetooth printer for IOS device, it is Apple MFI approved
see details from this URL http://www.bluebamboo.com/other_file/P25i%20Datasheet%20%28EN%29%20v1.0%2009-Oct-2011.pdf
I know you already accepted an answer, but here's another one: have the technician bring their own wireless base station (AirPort Express perhaps) and create his own wireless network (that won't have internet access, but that's not needed) with appropriate security. Then you can use any HP wireless capable printer and have the iOS device and the printer connect to the wifi network created by the wireless access point (which should be set with DHCP to vend IP addresses in a non-routable range like 192.168.x.x, obviously).
We also have a Bluetooth printer that is MFI certified along with an easy to understand iOS SDK. Please take a look at the EZPay App on the Appstore. The app's currently in Japanese (fir one of our clients) but the description explain a little about the printer. I'm currently traveling at the moment, but if you shoot me an email from the contact info on the App Store. I can get a few other things out to you. Cheers... B
No need to develop a full blown SDK, check out Mobi Print. it has the Zebra sdk already implemented and connects to any webservice or ODBC database. It also has stored label/receipt formats in there app so just upload your format and should be good to go.
here is link for Mobi Print

communication between smartphone

how can I communicate with another smartphone per example in a game?
I'm developing in objective-c, I need to pass/receive informations about positions of some elements on the screen, but I've not ideas of how i can do this, can you give me some tips? Do i need a physical server with a socket open? and how can i manage the connection?
Thanks for any help.
Jonathan.
Look into the peer-to-peer methods of GameKit. It's designed for multiple devices to communicate with each other. iOS only.
One phone can't readily programmatically talk directly to another phone. Well, you might be able to get phone A to send an email or SMS to phone B, but then phone B's app won't be able to act on the notification. (Since you mention obj-C I assume you're using iOS)
So you'll likely have to have a central server help out. Assuming apps running on both phones. Phone A can make an http request to the server; while phone B polls for a possible response. It can use a comet-like technique to reduce polling overhead.

How to send data from iphone to MAC/PC via serial port?

I'm new to these things, and have no idea how to achieve this thing.
I want to send some data from iphone to MAC/PC and also want to receive data sent from MAC to iphone.
Please help me out or give me some clue, where I can start from.
Most apps solve this issue by including a small http server in the app and providing a web interface to upload/download data to the app.

Question about using Bonjour or other methods to secure a connection with a non computer device

So I have a project I am working on, and I would basically like to send a basic yes/no command from the iPhone to a wifi enabled device that is also connectedto the network on the same router. This other device is not a computer, so I am wondering if I can still use Bonjour? In order to use Bonjour, do both of the communicating devices need to have some sort of a script installed and running that is allowing them to communicate? What would be the best way to connect to this device that is connected to the router, and then to send information/commands to it? I could really use some help finding a direction, because once I identify which tools I need to use, I can research them out and get it done (maybe). If anyone could offer any insight/suggestions whatsoever, it would be greatly appreciated!! Thanks in advance
Bonjour is a local service discovery protocol based on multicast DNS. Even if your device supports it you still need some piece of software on the device to listen to your commands.