Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

How to read a wap page ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2008, 03:30 AM
Newbie
 
Join Date: Sep 2008
Posts: 3
Default How to read a wap page ?

First ,i'm sorry for my bad English !
I can use "http.dll" to read a "www "type page ,e.g."www.yahoo .com".But I cannot read a"wap" type page(wml),e.g."wap.yahoo.com".Why ?
How can I do it in Basic4PPC?
Reply With Quote
  #2 (permalink)  
Old 11-02-2008, 04:50 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The following code works fine:
Code:
Sub Globals
    
'Declare the global variables here.

End Sub

Sub App_Start
    req.New1(
"http://wap.yahoo.com"'req is a WebRequest object
    res.New1 'res is a WebResponse object
    res.Value = req.GetResponse
    
Msgbox(res.GetString)
End Sub
Reply With Quote
  #3 (permalink)  
Old 11-02-2008, 09:05 PM
Senior Member
 
Join Date: Sep 2008
Posts: 161
Default

My guess is that you pointed your app to "www.wap.yahoo.com" instead "wap.yahoo.com". It won't work on your computer neither.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Tab page visibility True/False selectively Wietze Questions (Windows Mobile) 2 10-01-2008 02:46 AM
Coverting text files with binary file page code functionality kolbe Code Samples & Tips 1 06-21-2008 05:06 PM
How to make Loading page superbabicka Questions (Windows Mobile) 3 03-31-2008 02:41 PM
interacting with a web page..... Cableguy Questions (Windows Mobile) 0 03-17-2008 08:00 PM
Read a row (SQL) Nkieto Questions (Windows Mobile) 2 05-03-2007 04:29 PM


All times are GMT. The time now is 03:03 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0