Re: windows app development
- From: "Valter Minute [eMVP]" <valter.minute@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Oct 2009 12:56:51 +0100
iurii RE wrote:
Hello every body i have a question and it may be silly sorry for that because im just a beginner
what i want to do is to write a soft for windows mobile *and the main thing what the soft is sopposed to do is to go on web and download data from the web page and display it (very small just few strings) up to now
i want to use for that gprs because the aplication is supposed to work everywhere so the wifi is not a good idea anyway
my phone model is T32 is a clone of i-phone.
btw i successfully established a connection between host and linux with ppp and it works fine,
in linux in my program i'm just calling the ppp protocol (it connects) and after almost with 1 command i am downloading strings from the host and work with them inside my program.
the question is :
can i do smth similar on windows to what i've done with linux kernel i meen to make a ppp connection? if i will establish this connection using ppp protocol will i be able to download some data from the code program?(i mean thera some commands for that?) how can i access the driver for GPRS module
am i able to do that? maybe there are other ways?
Ciao iurii,
you can activate dial-up connections using RasDial and manage them using other Ras* prefixed APIs.
On Windows Mobile (and on Windows CE since version 6.0) you can also use the connection manager to activate different kinds of network connections (not only GPRS dial-up):
http://msdn.microsoft.com/en-us/library/bb840031.aspx
To download the data you can use windows sockets (the implementation is based on berkeley sockets, so porting should not be a big issue) or use WinInet API
http://msdn.microsoft.com/en-us/library/aa919330.aspx
to use high-level functions to handle protocols like HTTP or FTP.
You don't need to access the GPRS driver to manage this kind of features.
--
Valter Minute (eMVP)
Training, support and development for Windows CE:
www.fortechembeddedlabs.it
My embedded programming and cooking blog:
www.geekswithblogs.net/WindowsEmbeddedCookbook
Windows Embedded support forums in Italian:
http://social.msdn.microsoft.com/Forums/it-IT/windowsembeddedit/threads
(the reply address of this message is invalid)
.
- References:
- windows app development
- From: iurii RE
- windows app development
- Prev by Date: windows app development
- Next by Date: Registry merge Windows CE 5.0
- Previous by thread: windows app development
- Next by thread: Registry merge Windows CE 5.0
- Index(es):
Relevant Pages
|