I would appretiate if any one has any input on this subject.
I'm developing an application that will run on an Orange M1000 runnign Windows Mobile 2003, i'm using EVC++ 4.0 as my development environment.
The application needs to upload GPS data via the GPRS connection to a webserver. I'm under the impression the best approach to accomplishing this is by use of the Connection Api. However whenever i try compiling examples that use the connection api functions i.e.
ConnMgrEstablishConnection or ConnMgrEstablishConnectionSync I am always met with a linker error which states it is an unresolved external.
I've taken the code directly from the MSDN example with the inclusion of all the header files they suggest, but i still get these errors during linking, does anyone have any idea what-so-ever what may be causing this?
Thank you in advance
Resolved: I had to link cellcore.lib to the project
Hi all,
I've written a proxy server in C# for my HTC Wizard running WM6 with the .NET Compact Framework. Its configured to route My Work Network through a proxy address 127.0.0.1 on port 8888. My proxy program runs a TcpListener on this port and IEMobile browser requests are sent to my proxy which goes to the web, gets each required file and returns them to the browser.
It works fine for files of the type htm, html, gif, png, jpg - but whenever a page uses css or js, it will not load the pages. Any clues as to why??
The program is simply an intermediate agent that reads and writes bytes from the browser and the remote point. Does anybody know why these different types of files never load correctly??
Please, any help or debug ideas is appreciated.
Thanks,
Nick
etnaelk said:
Hi all,
I've written a proxy server in C# for my HTC Wizard running WM6 with the .NET Compact Framework. Its configured to route My Work Network through a proxy address 127.0.0.1 on port 8888. My proxy program runs a TcpListener on this port and IEMobile browser requests are sent to my proxy which goes to the web, gets each required file and returns them to the browser.
It works fine for files of the type htm, html, gif, png, jpg - but whenever a page uses css or js, it will not load the pages. Any clues as to why??
The program is simply an intermediate agent that reads and writes bytes from the browser and the remote point. Does anybody know why these different types of files never load correctly??
Please, any help or debug ideas is appreciated.
Thanks,
Nick
Click to expand...
Click to collapse
wow, nice.
i could really really use your source code for something im working on.
care to share?
don't worry, it's not anything im planning to publish soon, just a personal project.
and if i ever will, it will be with your full concent and you will be credited.
[email protected]
thank you!
Everybody who want to share their internet connection on the phone via wifi to their local network via a proxy on the phone raise their hands.
woohoo! me me me! xD
actually, it is the proxy itself that i need for other functionality. thats why i need the source code...
me too, the proxy not the source code
etnaelk said:
Hi all,
I've written a proxy server in C# for my HTC Wizard running WM6 with the .NET Compact Framework. Its configured to route My Work Network through a proxy address 127.0.0.1 on port 8888. My proxy program runs a TcpListener on this port and IEMobile browser requests are sent to my proxy which goes to the web, gets each required file and returns them to the browser.
It works fine for files of the type htm, html, gif, png, jpg - but whenever a page uses css or js, it will not load the pages. Any clues as to why??
The program is simply an intermediate agent that reads and writes bytes from the browser and the remote point. Does anybody know why these different types of files never load correctly??
Please, any help or debug ideas is appreciated.
Thanks,
Nick
Click to expand...
Click to collapse
You alos need to do some header parsing. If you don't want to do much work, your best bet is just converting my Java language HTTP proxy to C# - it has no problems with any special files (and also supports HTTP Post). See http://www.pocketpcmag.com/blogs/index.php?blog=3&p=453&more=1&c=1&tb=1&pb=1 for the source & more info.
Thanks, Menneisyys.
I'll give it a look and hope it solves my problems. I definitely haven't done any header parsing so lets hope...
On an aside, I was wondering if anybody has any resources on the Connection Manager API for mobile device networking? I am looking for some sample code in C++ which it is native or better yet if anybody has ever ported it to C#. Or if anybody knows how to port a .h file to C#.
Any help is appreciated.
Thanks,
Nick
Hopefully this is in the correct forum... if not please accept my appologies.
I've tried searching for this but could not find anything. Has anyone come accross any apps that allows you to query an Oracle db from windows mobile? Sort of like a TOAD or SQLPlus tool that runs on WM6.
hell peeps..i wonder if anyone can help with the following prob..
i have an xda mantle running wm6.1 on a t-mobile sim card.
for work out in the field i use internet explorer set up to use gprs to contact my works servers via exchange.
the pda then connects with software called tesseract and i fill out info on pages then submit the filled in pages.
the whole thing works great but on ONE page only i get the error "the page you are looking for cannot be found due to error 0x80072f78"
i then have to refresh the page and try again,,sometimes it takes up to 10 goes before it will progress onto next page of tesseract software.
it only happens on this one page..no others.
have deeply researched this prob here and on google...it always refers to an activesync problem...I DO NOT HAVE THIS PROB....just the prob described above.
i find it hugely irritating and am willing to have babies to whom can help me
Hello everyone !
I want to create an android app, that should take input username and password and then login to a website. Basically any website. Well, I am trying to create an app for a website with login page in .aspx form.
I googled regarding this but was unable to find some effective solution. Almost all websites I searched contained only login page design and a simple java code which equals username and password and then makes a toast text. I need some info regarding how to login into that particular page with active session.
Let login page be: 127.0.0.1/login.aspx
I am not a beginner and have developed few apps. This project is very important for me. So please help me regarding this.
Anykind of help is highly appreciated. Please do help.
Thanks
Come On Guys , Show some effort
Making apps "for website" in my opinion could be easily sorted turning the app "server side"... read my comment at this post.
By following my advice you have several advantages:
Users don't need to update their app when new version comes out
Harder to crack (unless they hack your server...)
Compatibility with different platforms/os
No disk-space needed on user device
If you really really need java code for that (as it's a school project requiring java or something ...) have you considered using raw sockets (probably not the best idea, but you asked for "Any kind of help" so... ) ? You said you have experience (I don't with java so can't help with the code, but I used similar technique in python, php, etc, ...) so it shouldn't be hard to find a simple code snippet for handling raw packet sending... Use your PC and fire up Wireshark or any other sniffer and debug the communication between client-server. Look at the header informations and data sent, and it will be easy to replicate those request-response via raw socket.