Screen scraping? - Windows Mobile Development and Hacking General

I want to do the same as the person who started this thread, which may require developing a number of things. I've programmed in Java and Perl before but have no experience of writing software for mobile devices.
The information required is on a web page, so I need a program to retrieve the page text, parse it for the relevent data, and store that data somewhere (e.g. a file or registry key). It needs to do this either on a schedule, or after every call. There are actually two pages used by the provider, one is accessed by regular http and the other by https, so support for retrieving secure pages would be a bonus. After this, I need to display that data on the Today screen, so I'll need a Today plugin that displays text from a file or registry entry.
Obviously I don't want to reinvent the wheel, so need to know if any of these already exist:
- A screen scraping program/tool/library for PocketPCs. I know SPB weather does this, but I'm guessing they don't give away their code!
- A way to schedule programs, without them having to run all the time in memory.
- A Today screen plugin to display text from a file and/or registry entry.
Thanks!

Related

Call History

Does anyone know if it's possible to look at the call history file so that it could be printed out from the host PC ?
Would be useful when filling out expenses claims to list all calls which were business related.
Thanks
Call history
Im looking for the same thing. A way to printout the call history, does anyone know a way or prehaps the Call history file name?
The file name is clog.db in the databases folder. Unfortunately it doesn't appear that the databases on the XDA can be opened.
here are some options as to which programs on pc may be able to open the file with the db extention
http://filext.com/detaillist.php?extdetail=db&goButton=Go
Thnx al lot crippsa and Rudegar, found the clog.db file and am able to open it with DBView.
Hi boeloe44,
I'm interested to know how you accessed the clog.db file with DBView. Is this the ARANAY DBView program ? (DBView V2) or another PPC application of the same name ?
I've tried the Aranay DBView which runs on the host PC and cannot seem to get it to connect to my XDA to read the DB files.
Any assistance you may be able to give would be appreciated.
Thanks
Alan
why not just copy the file to the pc that should make access a bit easier
crippsa said:
I'm interested to know how you accessed the clog.db file
Click to expand...
Click to collapse
Actualy dbview didn't help as i thought it would. I could only view the clog file with it and nothing else.
I found another program and this one did help me, its dbexlporer.
http://www.phatware.com/hpcdbex.html
Here you can download a trail version
With dbexplorer you can export a database to a comma separated file. This file is accessable and you can copy the file from your ppc to a desktop pc and open it with Microsoft Excel.
This is my way for printing out the call history, hoop it helps you crippsa.
To Rudegar: I was unable to find a way to copy the database to my desktop pc. I think the databases are lock or something.
I use Phone Dashboard for this purpose. It also tracks usage overall with some powerful filters such as free mobile-to-mobile plans, night/weekend, etc.
Thanks boeloe44 - DBExplorer is just the job, exports all the fields including the contact name - just what I'm looking for.
Phone Dashboard is good, but you still cant print the call log on the host PC and also it does not show the contact name. It only shows date, time, number and length. Unless of course the trial edition I'm using has less features that the full copy.
I've noticed that the clog.db only holds 50 entries, does anybody know if this can be expanded ?
Thanks,
Alan
The clog.db file certainly will hold thousands of entries. You can change the deletion settings by going to the phone, then call history, click on the tools menu, call timers...
Thanks Carlos - I've since found that Phone Dashboard can export the log file but it still doesn't contain the contact name, which is a pity as having it saves time by not having to look up the number to see if it was a personal or business call.
Thanks for advising how to adjust the deletion time on the clog database.
Alan
I've passed a comment to Hudson Mobile Technolgies (makers of Phone Dashboard) to include the name field in future releases of Dashboard
That would be a good idea. Another idea I sent him was to include the contact's CATEGORY. Then I'd have "client" in the field and would know to bill it. Right now I simply sort in Excel and search on the known billable numbers. Not as accurate or quick.
Overall though, that product is a very nice one to have on my phone. It has saved me money when I've been close to going over my plan. I don't know how it is in Europe, but US carriers screw you on overage (35-40 cents per minute).

New calendar entry by simply starting to type.

In a now ancient pda I could, provided the calendar app itself had focus, create new calendar entries simply by starting to type [on the hardware keyboard].
A new entry would be created on whatever day had focus, and simply pressing Enter after entering the text would close the "new entry" dialog box, accepting default values for the other fields.
This way I could, during a briefing or similar, rapidly create skeleton entries on at least the correct days and jot down a word or two on each. I could usually, later during the meeting fill in the details from memory.
Is there any calendar application that would allow me to do the same on a current pda with hardware keyboard, such as the Hermes? Currently, in lack of options, I've downgraded to a paper almanac, but that well... sucks... for a number of reasons.
I admit having been away from the WM scene for a while, so I apologize in advance if I'm asking about something annoyingly obvious.
Naturally I could record the meeting, but fiddling with extracting info from the recordings during the meeting itself isn't an option, and doing it "later" usually becomes "never", and people are sometimes uneasy about beeing recorded.

Morse Code Input/Program

I tried a search on the forums here and didn't find anything. Also an extensive Google search with no results, so I don't have that great of an outlook here.
Does anyone know of a program to either:
Add a Morse code input to the Windows Mobile OS (preferred)
Something to let me write SMS messages using Morse code (ala http://laivakoira.typepad.com/blog/2005/05/morse_texter.html)
The idea would be to allow me to send SMS messages (and possibly do other text-related tasks) on my Wizard using one hand and one or more of the buttons on the front. The other program linked above is basically exactly what I would want, but it's for Symbian phones.
From what I know of the .NET compact framework, it shouldn't be too hard to hack up a similar program for Wizards. So I can always give it a go if no one knows of an existing one.
I've looked for such a program extensively myself and haven't found anything so far.

Challenge: link to specific contact

I would like to create a shortcut to a specific contact so that clicking on it takes you to the details page of that particular contact from where you can then choose how to contact that person (email, text, mobile phone, home phone, work phone).
So I've been messing with an lnk file:
1000#\Windows\poutlook.exe contacts ...
I tried -new as a command line parameter, and that works. I cannot figure out how to go to a specific contact. Then I found this discouraging thread:
http://msdn2.microsoft.com/en-us/library/aa454208.aspx
There must be some way to do this. HTC Home has a similar function in their contacts tab. When you tap and hold a contact it takes you to that contact's detail page.
My end goal is to incorporate this into Mortbuttons ... I want a menu of favorite contacts, so when I click on any one, it takes me to the page where I can choose how to contact them. I'm surprised this doesn't exist, because that is the most intuitive way to do things. First you think of whom you want to contact, and only THEN do you think of how to contact them.
The challenge is up!
here's how its done
20#"\Windows\cprog.exe"-url tel: 0000000
that doesn't work. that calls the given phone number. I am looking for a link to a person's contact entry in Contacts. Please read my post above carefully.
I'd be interested in that as well. Anyone?
Wrote it already in my forum, but just in case...
I don't know of any way to do this from command line.
There is a way to show the contact page with COM/POOM (interface for programmers), which will be implemented in the upcoming MortButtons beta (probably tonight - CET).
It wasn't available so far because I still use eVC4 (because it's free and allows more easy support of systems up to including WM2003SE), which doesn't support new features of WM5 (like contact info page, contact image, contact ringtone, etc.) without some workarounds...

[Updated - Solution Now Available] Need to dial numbers direct from Notes or Calendar

Blackberrys hotlink phone numbers, email addresses, and url's automatically out of the box. MarkNDial and TreoSelectText do this on POS but you need to select the text first. I can't find anything to do this on WM. Does it exist?
For those of you not familiar with MarkNDial for the Palm OS, it allows you to highlight a phone number (in a task for a calendar appointment) and dial it directly.
Does anyone know of a similar app for WM (expecially one that works in Notes)? Any help would be appreciated.
What is needed needs to be as simple as a click or 2. Selecting items is too much against my Treocentric ease of use. On Blackberrys it auto recognizes phone numbers, email, and url's in its notepad and other apps out of the box. Scroll to an item, click it, and it asks if you want to do the selected thing. One more click executes the instruction. Beautiful it its simplicity.
I have hundreds of numbers in notes I started in my Blackberry days for contacts I use infrequently so as to not clutter up my Outlook contacts, then I carried them over to my 700wx and found out that this functionality was sorely missing (not a big surprise for WM, but where are the third parties here). I am now a WM/Treo convert and am longing for the 800w.
The pending arrival of the 800w has renewed my interest in perfecting my Treo device and I would love to see this super efficient function added to WM to make the 800w even more useable then it will already be. Of course your device may vary but this would be a boon to all WM devices.
So is there anything out there like this or anyone to write it? I would gladly pay for a program or a script to fix this WM annoyance.
Great Solution
Hannip over at treocentral.com wrote and/or modified a MortScript to perfrom this function from a mapped button. In totally works, and does even more!!!
In summary:
MultiSwitch6 checks what app is running in the foreground and does the following.
1) If mail app - open the folders (fix for a major non-one handed annoyance).
2) If calendar - find phone numbers and prompt to call.
3) If notes - prompt to call the phone number where the cursor is.
4) Else run Pocket Internet Explorer or modify for app of choice.
Follow the thread and get the MortScript here (note: latest script is around post #11):
http://discussion.treocentral.com/showthread.php?t=143164&posted=1#post1455542

Categories

Resources