use GPRS connection on windows mobile 2003 / Magician - Windows Mobile Development and Hacking General

Hello,
at first sorry for my english, but i try to write understandable...
I'm trying to write an application for windows mobile 2003 SE on my magician. I want to send SMS vis a HTTP Gateway like SMSoIP does.
When I try to connect to the Gateway i get an error ("An error was encountered while running this programm."). The GPRS connection on the Magician is active and my code is:
WinSock1.RemoteHost = "gateway.sms77.de"
WinSock1.RemotePort = 80
WinSock1.Connect
After Winsock has the connection i send the HTTP /GET request.
I cant use the emulator with debuggig because i run eVB in an Virtal PC. An Emulator in an emulator is not alowed
In Visual Basic 6 everything works fine and i can connect to the server. Why not with embedded VB? Do I have to make the GPRS connection "usable" for my app or something? Thanks!

i would try to port the code to vb .net
it's a more stable and mature platform then
old vb

ok, and under .net i can acces the internet without any trouble?
is there no way of getting it working with eVB?
by the way, i could also use SMSoIP if i develop in .net because SMSoIP is written in .net i think. but it does not work on my Magician. Thats the reason qhy i try to make my own SMS Application.
Thanks!

i dont know but guess so
because the chances and examblems are better supported in .net
then embedded vb which is kinda a dead platform
Magician support .net i think maybe from birth only .net1.1 but one can upgrade the compact framework free from ms for version .net2
prob .net1.1 too

ok, then i try to do it in .net
and i'll try to get SMSoIP runing on my device.
Thanks for your fast answers!

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

O2 UK SSH access (port 22) over GPRS?!

Hi everyone,
I was going to buy the XDA II, but ended up with the Siemens M65 (sorry!)... I was too worried I'd break the XDA as I use my phone quite heavily under rough conditions.
Anyway, I figured this would be a good place to ask... is it possible to connect to port 22 (SSH) over the O2 UK GPRS network? Do they support TCP/IP networking? I have two Java SSH clients for my M65 (mobiSh and FloydSSH) and they just return an error saying 'no route to host'.
I've got my GPRS setup as I can access HTML web pages and download emails from POP accounts, but I have a feeling port 22 is blocked..?
Many thanks!
Matt
Maybe your JAVA VM can't connect to Internet? Try PocketPuTTY! This is working for me in Hungary/Vodafone. It is a simple applicatio.n, doesn't need Java.
My question; there is any SIP that can send function keys? For example, I like to quit from MidnightCommander, but the internal keyboard doesn't have an F10 key.
Maybe your JAVA VM can't connect to Internet? Try PocketPuTTY! This is working for me in Hungary/Vodafone. It is a simple applicatio.n, doesn't need Java.
My question; there is any SIP that can send function keys? For example, I like to quit from MidnightCommander, but the internal keyboard doesn't have an F10 key.
It *has* to be Java for it to work on my Siemens phone.
I was just hoping there would be some O2 GPRS users here Anyway, I solved it... I changed the port on my SSH server to a more O2-friendly port (it seems they didn't like me using port 22). It works fine now.
Thanks!
Matt

Access Your Home Computer From Your PDA.

hi there......
was just surfing the net and found out this software www.logmein.com all you need to do is register over here and download a software on the pc you wanna access and just install it.....after the installation is complete u can either access your computer from a pda from ne where or you can access it from ne other computer......
Conditions Apply :
the computer you wanna access shud be turned on and logmein software shud be running.
the computer you wanna access shud be connected to the internet.
this is how you can connect to your computer from your pda.
is this safe?
I used to use https://www.gotomypc.com/ a couple of years ago with my original XDA when I was away from the office. It did the job, but it's a bit tedius on a small screen. If you logged in from another PC it was great and I used it daily.
safe as eva it can get becaz u cannot do ne **** if u dun haf the admin username and password for tht windows machine(homepc)
You just have to trust the software.
I don't know these companies, and I'm sure they are all legit. But a bad one could simply send the ip-address, userid and password to a logging machine.
I wonder how do these programs compare to the latest version of PC Anywhere? I think PCAnywhere has a client for the Pocket PC and the plus is that you don't need to pay monthly subscription and that your data is totally safe as it's being tunneled directly to you bypassing any server. Plus Norton seem to have more resources than small companies. I also wonder how does this compare to Terminal Server Client.. Anyone?
yeah i did hear bout pcanywhere neva used it......but i heard tht its good n very stable software.....dunno whether its for free or u need to purchase it n stuff....n as far as pcanywhere hafin a client for ppc tht must be something good n worth looookin at !!
Remote Control
pcAnywhere is not free, but it does work well. You should look at VNC or RealVNC. It's free, and there is a client included in the SE ROM. There is some tweaking necessary for your firewall (if you're running one). I think the ports are tcp/udp on 5800 and 5900, but you should check the included documentation. Both client and server software can be found here: http://realvnc.com/
Terminal services is probably the best over narrow bandwidths like GPRS since it only sends the windows drawing commands to redraw the screen but you need either XP Pro or Windows server to run the server version of the program. I use VNC because I only have Win2k on my laptop - it's slow with screen updates.
VNC for 2003SE/Intel PXA: WHERE to download it??
Regarding VNC client for Qtek 9090, I miss something
(maybe because it is friday and I am getting tired) :? .
Where is it possible to find a VNC client for Qtek 9090?
If I understand well, to run it on a Qtek it has to be:
- either a Win Mobile 2003SE for Intel PXA program, or
- a Java program
Is that true?
And if it is, where can I find one, I don't find anything similar
on the http://www.realvnc.com/download.html .
Thanks,
Anton
any windows CE program will run
on xda's
there are many versions well 3 that i've seen of vnc clients for
windows ce / pda's with pocketpc now windows mobile on them
I did a google search, here's a link:
http://www.pocketpccity.com/software/pocketpc/VNC-Viewer-for-PocketPC-2001-1-2-ce-pocketpc.html
If you are running a v4 VNC server make sure it's in v3 compatibility mode since there is only a v3 PPC client available
Mark, thanks for pointing me to a link with a VNC client!
>any windows CE program will run
>on XDA's
Rudegar, regarding the HW platform, I still think that you have to
have a version compiled for your HW.
:!: However, in the meantime I found the answer at Intel's page
ftp://download.intel.com/design/pca/prodbref/251671-002.pdf
-->
Qtek 9090s (XDAs, and similar) have the PXA263 processor that is based
on Intel XScale technology, and these have the ARM* v.5TE ISA
compliant instruction set.
So a program for ARM will be the right one.
Anton

Serial relay over GPRS?

Hi,
I was wondering if it was feesible to write a program that could transmit serial data over a TCP connection over GPRS? I was planning on connecting COM1 of my XDA II to a microcontroller.
If its all possible, is there any way I can use Visual Studio 2005 Express? I dont have a great deal of money at the moment being a student :/
You cannot use VS 2005 express. It does not support PocketPC platform. But you can download a free Embedded Visual C++ 4.0 compiler from Microsoft and write such a program. Or you can use eDonkey and download a beta version of VisualStudio 2005.
cool cheers

RAS connection - how do I do it?

I want to make a connection to a server either via GPRS or via Activesync when cradled.
I used to use the API call RasDial on an old Windows CE 3.0 programme but this does not appear to make a connection under WM5 and fails to dial up a GPRS connection. It opens the port, etc but fails to dial.
Is there a simpler way to make a connection? Do I simply try to open a TCP/IP connection and the OS does it for me?
Any and all ideas appreciated!!
Dave...
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Houser said:
Use Pocket PC connection manager API to make
a GPRS connection. That is the PPC way. RAS API
can be used but connection manager is better for
some things.
Houser
Click to expand...
Click to collapse
Thanks. I found a sample of how to do this in the SDK so I will modify my code to use this instead and see if it all works.
Dave...

Categories

Resources