Thanks For that man. So my question comes here. How do i make the program
to auto detect modems so that when that i can pass them as parameters to
the serial gateway constructor instead of me having to go to my computer
then  manage to get the port number.

Thanks.

On Fri, Feb 8, 2013 at 10:16 AM, SMSLib Discussion Group on behalf of
OneShot <[email protected]> wrote:

>
> How about tHis. dedicate a gui control to terminate tHe app (by calling
> stopService()) after you are done instead of waiting for an enter key event
> to terminate. THis way it will keep tHe app open to receiving and sending
> SMS until you click your GUI control (Quit Button). Also wHen sending
> subsequent messages don't start tHe service again(it will tHrow
> PortInUseException). THe  idea is to start tHe service only once during
> app startup. Just que tHe messages to your modem and tHey  will be sent.
> I Have done tHis a million tymez and it works fine.
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib Discussion Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to