Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th October 2009, 05:32 PM
danielherrero's Avatar
danielherrero danielherrero is online now
Senior Member
 
Join Date: Oct 2006
Location: Madrid
Posts: 2,593
Default [APP] Connection State Checker

HISTORY

V1.1 [2009-10-05]
1) Options dialog to change timeout to run the program automatically (10 by default) and web server to reach (www.google.com by default)
2) Option to reset statistics.
3) When the gui is opened its auto-refreshed automatically each 2 seconds
3) Minor fixes

V1.0[2009-10-04]
1) Initial release.

History
Hi
I ve developed a little program to solve a problem I ve many years ago. I use direct push so I need a permanent connection. This is achieved using activesync (direct push) or setting a connection as always on.
PROBLEM TO SOLVE:
Many times a connecion is stablished minutes or hours ago. But it doesnt work correctly. I dont know if the problem is in phone operator system, or in the device or some roms. Simply the connection is corrupted. If you try to suf a web it doesnt work. Clicking "sync" in activesync keeps rolling for ever. So I ve to close the connection manually (hang button long press) and stablishing a connection again. And then all works again
WHAT I SEARCHED AND DIDNT FIND:
1)A program that tries to reach a server (www.google.es) each x minutes. If there is an active connection but cant reach it then kill the connection and stablish it again. The program doesnt download the page content. Simply reach the server so very little data usage (a few bytes each time)
2) very little, no cpu consuming and no resident. Windows should run it each x minutes. Do its job in a few milliseconds and exit.
3) perform its job even if the device is suspended..
4) So I wrote my little program. It works correctly.
5) If the phone is in fly mode then it skip its job
USAGE:
Just install. No need to run it manually. It installs too a little GUI program (ConnectionStateCheckerGUI) to see some statistics (stored in the registry) like number of checks, corrupt connections, last check, etc. You can set the timeout (10 minutes) and server (http://www.google.com) in the registry.

My job needs a 100% safe real time mailing working. This little program guarantees it and maybe there are other people in my situation.
Greetings
Dani

pd: The black background is because of omnia2 skin. In other devices is a tipical white dialog.
Attached Images
File Type: jpg conn1.jpg (54.0 KB, 198 views)
File Type: jpg conn2.jpg (29.0 KB, 87 views)
Attached Files
File Type: cab ConnectionStateChecker_1.1.CAB (32.5 KB, 312 views)
__________________
www.commmgrpro.com

Last edited by danielherrero; 5th October 2009 at 03:19 PM..
Reply With Quote
Sponsored Links

  #2  
Old 4th October 2009, 05:38 PM
miguelonvidock miguelonvidock is offline
Junior Member
 
Join Date: Aug 2009
Posts: 7
Default

OK. gracias nene.
Reply With Quote

  #3  
Old 4th October 2009, 06:26 PM
d0ugie d0ugie is offline
Senior Member
 
Join Date: Jan 2007
Location: New York
Posts: 347
Default all right!

Nice work buddy, a common problem that bugs a lot of people including you but you decided to do something about it and now we can all be happy.

May I redistribute this on my website?
__________________
pimp your fuze on blownfuze.org
or migrate to tilt2.blownfuze.org
Reply With Quote

  #4  
Old 4th October 2009, 06:54 PM
core7x core7x is offline
Member
 
Join Date: Apr 2009
Posts: 94
Default

thanks for that...
__________________
HD T8282 [security unlocked]
Radio : 1.17.25.09
HSPL : 1.56.OliNex

Haret ROM Chainloader Emulator
// Linux on Blackstone
/* latest zImage builds
Waiting Stable Android !!
Reply With Quote

  #5  
Old 4th October 2009, 11:19 PM
danielherrero's Avatar
danielherrero danielherrero is online now
Senior Member
 
Join Date: Oct 2006
Location: Madrid
Posts: 2,593
Default

Thanks
Sure, you can use, upload, distribute or what you want with it
...and if someone has any suggestion....
First I was going to do icmp ping instead of http get but my phone company (and probably other) has blocked pings....
Greetings
Dani
__________________
www.commmgrpro.com
Reply With Quote

  #6  
Old 5th October 2009, 12:51 PM
danielherrero's Avatar
danielherrero danielherrero is online now
Senior Member
 
Join Date: Oct 2006
Location: Madrid
Posts: 2,593
Default

Hi¡
New version on first post
greetings
Dani
__________________
www.commmgrpro.com
Reply With Quote

  #7  
Old 6th October 2009, 10:10 AM
UncleBeer UncleBeer is offline
Senior Member
 
Join Date: Jul 2008
Posts: 110
Default

Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
Reply With Quote

  #8  
Old 6th October 2009, 10:31 AM
danielherrero's Avatar
danielherrero danielherrero is online now
Senior Member
 
Join Date: Oct 2006
Location: Madrid
Posts: 2,593
Default

Quote:
Originally Posted by UncleBeer View Post
Any chance of a Today screen icon? That would be more helpful than having to call the program in order to see connection status.
Good idea but MS says not to use Today plugins because arent used in WM6.5.....
The GUI only reads the statistics stored in the registry and refresh them each 2 seconds...
Dani
__________________
www.commmgrpro.com
Reply With Quote

  #9  
Old 6th October 2009, 11:01 AM
cumisquid cumisquid is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Default

Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.

(Dopod 818Pro aka HTC Prophet/WM6.1/My Buble Blue ROM by varanusvincent)

Andi

Last edited by cumisquid; 6th October 2009 at 11:06 AM..
Reply With Quote

  #10  
Old 6th October 2009, 11:04 AM
danielherrero's Avatar
danielherrero danielherrero is online now
Senior Member
 
Join Date: Oct 2006
Location: Madrid
Posts: 2,593
Default

Quote:
Originally Posted by cumisquid View Post
Thank you for this nice piece of software.
However I have few questions, right after installing and soft-resetting, then changed web reference to www.google.com and interval to 1 minute, it keeps saying that the Last Result is KO, and only Connection Fixed has the increment.
What makes it odd, is that the connection is actually OK, I can connect to www.google.com via UCWeb and Slick is running too.
This is quite bugging me, however since I only installed it for less than an hour, I'll report again whether my connection would be kept alive permanently or not by this program.

Andi
Hi
Please dont remove "http://" because this is used by WinInet to choose the correct destination. Leave http://www.google.com (or any other site but using http://) and it will work again....
Dani
__________________
www.commmgrpro.com
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off

Forum Jump


All times are GMT +1. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.