Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2003, 12:31 PM
Pontificator
Join Date: Jul 2003
Posts: 1,051
Send a message via AIM to ricksfiona
Default Synchronizing data from a website.

I belong to a gym and would like to my Pocket PC to synchronize to the following information on their website:

Hours, phone numbers and what classes are held on what days and times.

All of this information is located on the gym location's home page, which is directly accessible without doing a search or navigating through a menu system. Copying the URL once you get to the location page will get you there everytime.

I think this would be a good beginner project that could lead to other things... I know I could parse the information from the website. That's the easy part.

I would like to create a program with a nice interface on the Pocket PC, have ActiveSync synchronize with the website and possibly do some simple look-ups from the data. Possibly synchronize with a couple of other gym locations as well. I also want stability and a small footprint. Visual tools are cool, but they tend to be bloggy and tempermental.

What would be the better way to approach this... I've done some Pascal and DOS C programming in the past. To be honest, I pick up programming quite quickly, so I'm not really intimidated by it and working on something like this shouldn't be major I would think.

Visual CE looks cool. Share your thoughts?
__________________
Rick Gomez - Owner/Consultant
fiona Systems Integration
www.fionasystems.com
 
Reply With Quote
  #2 (permalink)  
Old 07-04-2003, 03:20 PM
Theorist
Join Date: Mar 2004
Posts: 264

Would Avantgo mobile custom channels give you what you need ?

https://my.avantgo.com/home/index.ht...r%2Findex.html
 
Reply With Quote
  #3 (permalink)  
Old 07-05-2003, 12:17 AM
Pontificator
Join Date: Jul 2003
Posts: 1,051
Send a message via AIM to ricksfiona

Quote:
Originally Posted by Shaun Stuart
Would Avantgo mobile custom channels give you what you need ?

https://my.avantgo.com/home/index.ht...r%2Findex.html
Good idea and I tried it. Unfortunately the formatting of the website didn't come out very well and it's not very usable. Doh! Any other ideas out there?
__________________
Rick Gomez - Owner/Consultant
fiona Systems Integration
www.fionasystems.com
 
Reply With Quote
  #4 (permalink)  
Old 07-08-2003, 06:49 PM
Pupil
Join Date: Oct 2003
Posts: 19
Send a message via ICQ to JordanMills Send a message via AIM to JordanMills Send a message via MSN to JordanMills Send a message via Yahoo to JordanMills

Clip what you need and keep it in a custom data structure, or export it to scaled down HTML. You'll want to do something like bind (if you'll pardon my vbscript, it should give you an idea of how the object works):
Code:
objIE = CreateObject("InternetExplorer.Application")
strHtml = objIE.Document.Body.InnerHTML
strText = objIE.Document.Body.OuterHTML
intLenHours = 50 ' number of characters to copy in the hours section
strHours = Mid(strText, InStr(strText,"Hours"), intLenHours)
Set objIE = Nothing
Or something like that. objIE.Document.Body.InnerHTML gives you the HTML source of the page, objIE.Document.Body.OuterHTML gives you the rendered text display of the page. I'm working on this for my (GPL, darnit) weather bar.
 
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:28 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7