App to set date automaticaly - Windows Mobile Development and Hacking General

Hi,
I have a problem with some doctors in my network that forget their ppc for a while, lose power, and then have to use their ppc to input patient data. They usually plug it in, turn it on, and magically see (thanks WM5) their app still there. Problem is that they forget to set back the date and still connect to the main database. And when they try to find the patient data, we have to search painfully to get the data back, as it is usually saved on tape when date is too old, so the data disapear after the next nightly backup.
I'm completly overhelmed. I'm sure it could be easy to program something that get the system date, and save it in on file. That program could be run everyday at 1:00 AM for example.
Then I could run the set program at any time (for example before connecting to the database) and set the date at the latest value.
I tried to check mortrunner, but there is no set time function. Anybody know how this can be done automaticaly? Is it hard to program?
Thanks

Related

Call History

Does anybody know what file in the XDA II stores the phone call history of numbers called and recieved. And can this file be backed up before installing upgrade software
someone must know what file the call information is strored in
It's in a db called clog.db, though you'll need a PocketPC database program like dbExplorer to view the information within it. You can't access it through Explorer or Windows.
You can use a program like dbExplorer and others to backup that table or the whole set of databases, though some tables will not be the same across all devices. The clog one, however, does remain the same. Word of caution, if you do restore it after say a hard reset, be sure to have already changed the call timers setting to show however many days / weeks you want to keep in memory. If you don't and you have it set to only a week or so, the phone will wipe the data in the recently - restored clog and you'll need to restore it a second time. I have mine set to never expire, and on more than one occasion I've forgotten to set it past 1 week after the "rebuild" - meaning I had to change it then restore the table again.
Cheers
Anthony

Outgoing Call Timer

Hi everyone - been doing a search for a small app that records the outgoing call duration and is resettable but can't find one anywhere. Does anyone know of such an app that will run under WM5?
It's just to make life that bit easier as O2 expect you to call (& pay) their Customer Services to get an update on how many of your free minutes you've used at any point in the month. A bit Dark Ages if you ask me!!!
Any help much appreciated. :lol:
the answer seems to lie in the registry....
HKLM/Software/Microsoft/shell/cumulativecalltimers/line_0/
AllCurrent
AllCurrentNumCalls
AllPhoneLifeTime
AllPhoneLineTimeNumCalls
IncomingVoiceCurrent
IncomingVoiceCurrentNumCalls
IncomingVoicePhoneLifeTime
OutgoingDataCurrent
OutgoingDataCurrentNumCalls
Now all we need is some smart person to write us an app that shows us how many minutes of calls we've made (with an option to reset) and how many bytes of GPRS data we've bought....
OffBeatMammal said:
the answer seems to lie in the registry....
Now all we need is some smart person to write us an app that shows us how many minutes of calls we've made (with an option to reset) and how many bytes of GPRS data we've bought....
Click to expand...
Click to collapse
start -> settings -> system -> device information -> Call duration
Will give you outgoing and incoming call duration.
Have a look at MortScript if you want to make a "tool" to display/reset all the values from the registry.
I thing what you need is Phone Dashboard. Google it, download it and see what info it can give, its great
Regards
This (free) script displays the values from the registry and asks if you want to reset "current" counters.
I can't find the "OutgoingData" counters in my registry. So I can't help you with GPRS counters.
I haven't tested it much, but it seems to work on my K-jam, ROM version 2.16.9.1.
It does mess with the registry so I suggest making a backup first if you want to try it. You also need to install MortScript:
http://www.sto-helit.de/modules/edito/content.php?id=38
search for DKToday. It counts your outgoing minutes and sms and can be set to reset on a specific date. For me, my free minutes are calculated per the 11th of each month, so each 11th of the month my timer will be set to 0. The prog can be found in the forum, just do a search on it.
Show call and data timers (from registry)
a small mod from the great script above...
this one doesn't do a reset (as I didn't want to loose data) but does display the data counts from the registry as well.
don't know if it's specific to the i-mate K-JAM AKU2 ROM and only tested on my unit, but have fun!
Re: Show call and data timers (from registry)
OffBeatMammal said:
a small mod from the great script above...
this one doesn't do a reset (as I didn't want to loose data) but does display the data counts from the registry as well.
don't know if it's specific to the i-mate K-JAM AKU2 ROM and only tested on my unit, but have fun!
Click to expand...
Click to collapse
I want data counters too!
Are you using the same rom as me (I-Mate 2.16.9.1)? I still can't see the data counters in my registry. And I DO use gprs every day.
Have you installed something else that counts gprs trafffic and updates these registry values??
I would like an SMS counter too. I tried searching for it in the registry but couldnt find any.
Maybe I have to change to something else, like DKtoday or something, but i really do not like today plugins or programs that need to run continously.
very strange.
I've not installed any other third party apps to count GPRS data (was looking for a freebie!) or done anything out of the ordinary that I can remember since upgrading.
Do you have your machine set for ActiveSync / Direct Push? I use that as well as browsing the web. On the subject of trawling the web it appears that the CumulativeCallTimers is one of the reigstry keys which can be controlled by OEMs but as the phones are the same I'm surprised if there is any difference
ROM is 2.16.9.1 WWE (ExtROM 2.16.9.101)
What happens if you add the registry entries (BTW - what happens if you run my version of the script that looks up the entries - I've never used MortScript before so wasn't sure... I love Terry Pratchet as well!)
OffBeatMammal said:
very strange.
Do you have your machine set for ActiveSync / Direct Push?
[...]
(BTW - what happens if you run my version of the script that looks up the entries - I've never used MortScript before so wasn't sure... I love Terry Pratchet as well!)
Click to expand...
Click to collapse
I tried creating the registry keys, setting the values to 0. Browsed a bit via gprs but the values don't change...
Maybe its the push mail (that i don't use) that creates these values. Can you check if the values increase if you use internet explorer, or if it's only measuring the push-mail-data?
Your code looks good to me, I've just started using MortScript too, because i wanted an easy way to keep track of what i call "real" uptime, average uptime and total number of reboots.
Where does Terry Pratchet fit in?
the values increase with web browsing as well as the DirectPush mail (did a quick Google search and the numbers went up), only on GPRS not on WiFi (so although it says Data it's not getting confused)
The Terry Pratchet reference... Mort was a character (and the title) of one of his Discworld books. Sto-Helit is the name of a city on Discworld (where Mort, who becomes Deaths apprentice ends up as Duke). They are very funny books
I see. Thanks for testing it.
I dont have an exchange server that supports direct push, so i don't know how to get the counters "started" on my device.
Maybe I should read some of his books then - an ebook perhaps
I found a free pushmail exchange thing (mail2web.com) and set up an account, so now I have my push email set up on the phone too. But still no data counters. I've given up
how have you set this up? read the page, but it is not clear to me how it enables push email...
I didn't think the maIl2web solution was the new DirecgtPush email (as supported by the AKU2 ROM upgrade), more the 'old-school' SMS notification service.
The best (ie has a free 14 day trial and is good value) one I've found for small users without their own Exchange solution is 4SmartPhones (which is who I'm using - I push my normal mail to their hosted Exchange and it appears in my PC Outlook and on my phone by magic THey also have step-by-step instructions to make setup really easy
OffBeatMammal said:
The best (ie has a free 14 day trial and is good value) one I've found for small users without their own Exchange solution is 4SmartPhones (which is who I'm using - I push my normal mail to their hosted Exchange and it appears in my PC Outlook and on my phone by magic THey also have step-by-step instructions to make setup really easy
Click to expand...
Click to collapse
You are probably right, I will try 4smartphones as soon as their webpages start working...
"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
weird, they've been pretty well behaved in IE.
Try this link or just type in www-dot-4smartphones-dot-net and see if that behaves!
OffBeatMammal said:
weird, they've been pretty well behaved in IE.
Try this link or just type in www-dot-4smartphones-dot-net and see if that behaves!
Click to expand...
Click to collapse
Don't work. Not in IE, not in PIE, not in Firefox...
it's weird... it seems on the first visit to the link it writes a cookie and then redirects to the wrong place, second visit works (at least that's what seemed to happen when I just tried in PIE)
the raw link (to the homepage) should work fine as that's not doing any redirects that I can see
I found something called http://www.4smartphone.no and set up a test account there. Could this be the norwegianified version of "your" 4smartphone service?
They say its "Direct Push", and i can start/stop it using the "direct push" button in the comm manager. Does this mean it's "real" direct push?
This did not do anthing to my data counters though. still at 0...
So there must be something else that starts these counters...
Have you set up the gprs connection by using the imate "select your provider" thing, or have you set it up manually?

Setting up Gmail

Well, I've got Gmail set up with the messaging application on my Wizard running WM5. But this does not offer any option to setup peaktimes and offpeak times for the "Send and Receive" function. Only option is to set the interval in minutes.
Any solution.
I basically do not want to "Send/Receive" at nights and on Sunday....
Thanks in advance.
Atul
I know I have seen programs that do this, but for the life of me, I cannot find them. I wonder if they have all gone away, for some reason...
AHA!
Persistence pays off, at last. I have found this: http://www.freewarepocketpc.net/ppc-download-bandswitch-v1-2-3.html
It functions like MoDaCo's (may require free registration to download files) NoData application (which I was prepared to offer you as a stop-gap measure) except for one HUGE difference, it has a sleep timer like you wanted...
You'll have to guinea pig yourself, I don't have time to put the app through its paces.
Sorry, link was dead, but I tracked down the cab file.
D/L directly: www.commmgrpro.com
Use at your own risk. I just discovered it has a 15 day trial period, and the guy wants 10 Euro for the license. Seems kind of steep to me.
As a last resort, use NoData to disable everything before bedtime, and just switch everything back on when you get up. If I find something else, I'll post it here.
After some quick fooling around with my 8125 during lunch, I discovered that I can disable all network access (not just the phone) simply by putting my phone in airplane mode. Seems to block programs that automatically log on when functioning, too.
Give it a try.
Myrddin Wyllt said:
After some quick fooling around with my 8125 during lunch, I discovered that I can disable all network access (not just the phone) simply by putting my phone in airplane mode. Seems to block programs that automatically log on when functioning, too.
Give it a try.
Click to expand...
Click to collapse
Thanks for your replies... disabling network access is not really the solution I'm looking for. What I'm trying to do is reduce data traffic on the network (very expensive in India). Currently I've set up Gmail to be synched every hour instead of 15 minutes that I'd like to do. I hardly receive important email on Saturdays and Sundays. So I basically wanted to skip that.
Anyways, now I'm just switching off Auto synching on fridays and bringing it back on on Mondays... ;-)

Why won't ActiveSync go away!?!

So before you say it, I've Google'd the entire site, and several other sites trying to find a cure for activesync. I use Quick Menu to auto close activesync. I've set up a dummy server, changed everything to manual. I turned off any serial port other than usb. But it still comes on every time I connect to the internet and wants to sync remotely. I even thought it would be better after I flashed OT4.0, but it actually got worse... Are there any other suggestions, or is anyone else having this problem?
I just use quickmenu to Not Show and Not Close. You can use your taskmanager to kill the process but it will restart randomly anyway it is a persistant process.
yep that's why i gave up trying to mess with activsync.
There has to be something that triggers it, nothing is random. Maybe when it goes online to update weather or email? Someone has to know something. I can't believe that everyone has this problem. It's like my phone runs just the way I like, except it "randomly" gives me the finger.
This problem has driven me nuts and I figured out how to fix it. You need a program like Total Commander, I use Task Manager (not the default one on the phone). Go to where the Notifications are listed, look for one called "repllog.exe" you should have 3 of them. Look for the one that says AppRunAfterTimeChange and disable it. Do a soft reset and you should be set let me know if this works for you.
activesync fix
start/settings/personal/phone/timezones, and uncheck "automatic change time zone and clock" button
thats all you have to do
Thanks Digit! But doesn't this mean that my system time won't automatically update? I can live with that, just curious...

turn data off

Is there any way to turn data off so that no program can turn it on unless you turn it on? reason is due to money problems atm i want to take off my data package and i dont want the phone to use data
Delete HTC_CM_Guardian in start up will allow you to delete the #777 verizon number permanently. If you want it back run the HTC_CM_Guardian.exe under windows.
This is one example. I think there is another thread on XDA somewhere but I forget where.
http://www.howardforums.com/showthread.php?p=10377230#post10377230
I cant seem to find HTC_CM_GUARDIAN anywhere in the phone
I just looked on my phone and the file is there in the windows dir.
It is also runnung under processes.
Now I know what it does!!

Categories

Resources