Well, It was a problem with my code. I fixed it.

How i can autostart the browser from wap push message. Currently I have to
open the message and then select Download to open the url in browser.

Thanks,
Alam Sher

On Sat, Feb 14, 2009 at 1:18 AM, Thanasis <[email protected]> wrote:

>
> Can you printout the message object (i.e. use System.out.println
> (message)) immediately after the sendMessage() call and post the
> result?
>
> P.S.
> By the way, there is something wrong with your application... Why do I
> see everything twice?
>
> On Feb 13, 10:12 pm, Alam Sher <[email protected]> wrote:
> > Its my own account. I can send wap push messsages if i try to setup the
> url
> > and write directly in the browser
> > but not from the clickatell.com
> >
> >
> >
>  > On Sat, Feb 14, 2009 at 1:07 AM, Thanasis <[email protected]>
> wrote:
> >
> > > Hi,
> >
> > > Just tried a wap message with your parameters and it arrived on my
> > > mobile without problems.
> > > Are you running on the demo Clickatell account or with your own normal
> > > account?
> >
> > > On Feb 13, 9:37 pm, Alam Sher <[email protected]> wrote:
> > > > I get a "Error delivering message" status code in ClickATell.com log
> > > > when trying to send a Wap Push message.
> >
> > > > Here is the code i am using to send the wap push message:
> >
> > > >  org.smslib.OutboundWapSIMessage message = new OutboundWapSIMessage
> > > > ("+92323...", new URL("http://mail.yahoo.com";), "Bomb Alert");
> > > > message.setIndicationText("Hello World");
> > > > message.setSignal(OutboundWapSIMessage.WapSISignals.HIGH);
> >
> > > > And below is the smslog (seems no error):
> >
> > > > Web Site:http://smslib.org
> > > > This software is distributed under the terms of the Apache v2.0
> > > > License.
> > > > 15 [main] INFO org.smslib  - Version: 3.3.0-b2
> > > > 15 [main] INFO org.smslib  - JRE Version: 1.6.0_07
> > > > 15 [main] INFO org.smslib  - JRE Impl Version: 10.0-b23
> > > > 15 [main] INFO org.smslib  - O/S: Windows XP / x86 / 5.1
> > > > Version: 3.3.0-b2
> > > > 15 [Thread-0] INFO org.smslib  - SMSLib: A Java API library for
> > > > sending and receiving SMS via a GSM modem
> > > > or other supported gateways.
> > > > Web Site:http://smslib.org
> > > > This software is distributed under the terms of the Apache v2.0
> > > > License.
> > > > 15 [Thread-0] INFO org.smslib  - SMSLib: A Java API library for
> > > > sending and receiving SMS via a GSM modem
> > > > or other supported gateways.
> > > > Web Site:http://smslib.org
> > > > This software is distributed under the terms of the Apache v2.0
> > > > License.
> > > > 15 [Thread-0] INFO org.smslib  - Version: 3.3.0-b2
> > > > 15 [Thread-0] INFO org.smslib  - Version: 3.3.0-b2
> > > > 15 [Thread-0] INFO org.smslib  - JRE Version: 1.6.0_07
> > > > 15 [Thread-0] INFO org.smslib  - JRE Version: 1.6.0_07
> > > > 15 [Thread-0] INFO org.smslib  - JRE Impl Version: 10.0-b23
> > > > 15 [Thread-0] INFO org.smslib  - JRE Impl Version: 10.0-b23
> > > > 15 [Thread-0] INFO org.smslib  - O/S: Windows XP / x86 / 5.1
> > > > 15 [Thread-0] INFO org.smslib  - O/S: Windows XP / x86 / 5.1
> > > > Starting Communication.. Please wait
> > > > 31 [Thread-2] DEBUG org.smslib  - WatchDog started.
> > > > 31 [Thread-2] DEBUG org.smslib  - WatchDog started.
> > > > 31 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 31 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 47 [Thread-3] INFO org.smslib  - GTW: clickatell.http.1: Starting
> > > > gateway.
> > > > 47 [Thread-3] INFO org.smslib  - GTW: clickatell.http.1: Starting
> > > > gateway.
> > > > 47 [Thread-3] DEBUG org.smslib  - GTW: clickatell.http.1:
> Authenticate
> > > > ().
> > > > 47 [Thread-3] DEBUG org.smslib  - GTW: clickatell.http.1:
> Authenticate
> > > > ().
> > > > 47 [Thread-3] INFO org.smslib  - GTW: clickatell.http.1: HTTP POST:
> > >https://api.clickatell.com/http/auth
> > > > 47 [Thread-3] INFO org.smslib  - GTW: clickatell.http.1: HTTP POST:
> > >https://api.clickatell.com/http/auth
> > > > 2594 [Thread-5] DEBUG org.smslib  - GTW: clickatell.http.1: KeepAlive
> > > > thread started.
> > > > 2594 [Thread-5] DEBUG org.smslib  - GTW: clickatell.http.1: KeepAlive
> > > > thread started.
> > > > 2594 [Thread-6] INFO org.smslib  - GTW: clickatell.http.1: Starting
> > > > Queue Manager.
> > > > 2594 [Thread-6] INFO org.smslib  - GTW: clickatell.http.1: Starting
> > > > Queue Manager.
> > > > Service started...
> > > > Server Running - Hit <enter> to terminate.
> > > > Communication Established..
> > > > .
> > > > SMS News : BOMB ALERT
> > > > -
> > > > +923215330994 - 12984 [Thread-1] DEBUG org.smslib  - GTW:
> > > > clickatell.http.1: sendMessage()
> > > > 12984 [Thread-1] DEBUG org.smslib  - GTW: clickatell.http.1:
> > > > sendMessage()
> > > > 12984 [Thread-1] INFO org.smslib  - GTW: clickatell.http.1: HTTP
> POST:
> > >https://api.clickatell.com/mms/si_push
> > > > 12984 [Thread-1] INFO org.smslib  - GTW: clickatell.http.1: HTTP
> POST:
> > >https://api.clickatell.com/mms/si_push
> > > > Sleeping at [2009-02-14 00:29:11] for 1152000...
> > > > 15031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 15031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 30031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 30031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 45031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 45031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 60031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 60031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 75031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 75031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 90031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 90031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 105031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 105031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 120031 [Thread-2] INFO org.smslib  - WatchDog running...
> > > > 120031 [Thread-2] INFO org.smslib  - WatchDog running...
> >
> > > > Please let me know how i can successfully send the wap push si
> > > > message.
> >
> > > > Thanks,
> > > > Alam Sher
> >
> > --
> > __________________________________
> > Alam Sher Khan
> >
> > Software Engineer,
> > Mobilink Pakistan.
> >
> > [email protected]
> > +92 302 856 5059
>  >
>


-- 
__________________________________
Alam Sher Khan

Software Engineer,
Mobilink Pakistan.

[email protected]
+92 302 856 5059

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to