Showing posts with label connection. Show all posts
Showing posts with label connection. Show all posts

Monday, October 05, 2009

Connection State Checker


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. - danielherrero

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

Connection State Checker

Saturday, February 28, 2009

Signal and Connecting Monitor

a small aplication to run on background and monitor the signal strength and if the mobile get´s connected or disconnected.

The application work as following:

- It has signal and lost it at all, play a sound and vibrate
- It has no signal at all and got some signal, play a sound and vibrate
- It got connected via gprs,edge,3d,etc, play a sound and vibrate
- It lost the active connecting play a sound and vibrate

All this actions can be disabled or enabled changing the "settings.ini", where settings that indicates to do something or not, 1=Enable or 0=Disable.

Limitation:
- it plays only WAV files, on next release it will support MP3.
- Read the settings.ini only when is starting the application

This application is still an alpha release, I give no garantees that it willl work on your device (I have tested only on my HTC Touch), but it should work ´cause of it´s simplicity.

Signal and Connecting Monitor

Friday, August 08, 2008

NetInfoBox


A tool to check your all current settings about the enabled network adapters.

This means, that when you establish some connection like ActiveSync/WiFi/3G/GPRS/CSD and run NetInfoBox (or by hitting Refresh button if the tool is already is up), you will be able to see everything about this connection like:
- Status and type of selected adapter
- MAC address
- IP address
- Network mask
- Primary DNS
- Primary WINS
- Speed limit
- ID of the adapter

aDEO of XDA-Developers