WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 1st, 2004, 03:01 AM
rupak rupak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 rupak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wap push need help

Hello to all of you.
I am doing a project and i want to implement wap push technology. How can i achieve this so that a wap page is pushed from a wta/wap server to a mobile phone who has subscribed to the service.
Thanx.

Reply With Quote
  #2  
Old January 5th, 2005, 03:50 PM
theloveless theloveless is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 12 theloveless User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 3 sec
Reputation Power: 0
to do a wap push
u need an acount on the sms gateway known as sms proxy of the operator you will use..

http://domainnameoftheopreatorgateway?cmd=SENDBINARY&pUser=&pPwd=&pSessionId=200412141122324242&pRetCode=&pService_Code=2222&pMsisdn=5332222222&pContent=090601AE02056A0045C60D03617370736D732E636F6D2F696D672F6D6D732D73616D706C652E676966000103546 8697320697320616E206578616D706C65207469746C6520666F722061205741502D50757368206D6573736167652E2E2E000 101&pXser=01070605040B8423F00201F70D0100&pNreq=F

the format of the sms proxy can be changed from operator to operator this is the turkish operator Turkcell...

the importance here is :
pXser=01070605040B8423F00201F70D0100
and
pContent=090601AE02056A0045C60D03617370736D732E636F6D2F696D672F6D6D732D73616D706C652E676966000103546 8697320697320616E206578616D706C65207469746C6520666F722061205741502D50757368206D6573736167652E2E2E000 101

the standar pXser for the sms is above well when we come to the content part here is how it is handled...

lets asume that you have to push for www.google.com/hede/index.jsp?key=322

String content="http://www.google.com/hede/index.jsp?key=322";

if (content.substring(0,11).equals("http://www."))
{

String urlheader="090601AE02056A0045C60D03";
//the standart header that makes the http://www.

String url=content.substring(11);

String text=wap_text;

String ortaurl="000103";

String lasturlend="000101";
String sendtext=urlheader;

for (int i=0;i<url.length();++i)
sendtext=sendtext+new Integer(1).toHexString((int)(url.charAt(i)));

//turn into hexa string here

sendtext=sendtext+ortaurl;

//add the middle header

for (int i=0;i<text.length();++i)
sendtext=sendtext+new Integer(1).toHexString((int)(text.charAt(i)));
//turn intı hexa string here again the text u want to show as explanation

sendtext=sendtext+lasturlend;
//add the last header

sendtext=sendtext.replaceAll("a","A");
sendtext=sendtext.replaceAll("b","B");
sendtext=sendtext.replaceAll("c","C");
sendtext=sendtext.replaceAll("d","D");
sendtext=sendtext.replaceAll("e","E");
sendtext=sendtext.replaceAll("f","F");
//a bad way of make hexa codes upercase lol



content=sendtext;
//final content
}

Reply With Quote
  #3  
Old August 25th, 2005, 07:51 PM
visualtron visualtron is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 10 visualtron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 21 sec
Reputation Power: 0
You can send a WAP Push SMS (SI or SL) via SMS that triggers the application download via GPRS.

Last edited by jabba_29 : August 25th, 2005 at 08:25 PM.

Reply With Quote
  #4  
Old August 27th, 2005, 03:03 PM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
as the theloveless says that's for his operator and there's so many ways to skin a cat: 64 leased, smpp, smtp, xml, soap, http, push, pull.....
different gateways = different variables. like oadc, originator, sender or from?

anyway, my answer is wap push through a cron and http for the quickest easiest fix. get a gateway first tho - it'll help lol
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Wap push need help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway