access contacts on Pocket PC 2002

  • Thread starter Thread starter jayderk
  • Start date Start date
J

jayderk

Hello all,

The boss just sent down some requirements ( features he thinks we can
have... hehehe )...

One he liked was Samsungs i700 phone allows you to open the contacts, select
one of the customers... that brings it to the information for that customer
with the phone numbers (that are hyperlinked).. all you have to do is click
on one of the numbers and it starts dialing...

anyway he wants ours to be able to have an option on the phone number page
.... user clicks and our software know which contact the user clicked........

so... Open contacts... click a contact...... on that page we have 555-1212 :
home 555-1313 : fax... "PLACE ORDER" ...yada yada these are all
hyperlinked... and they can click on "PLACE ORDER" and it goes to our
application with that customer...

I went to look at the samples at inthehand.com and
http://www.gotdotnet.com/team/netcf/Samples.aspx that does not seem to work
anymore.. it just goes to msdn...

what do you think...

help... regards
Jay
 
The contacts data on the device is accessible via the Pocket Outlook Object
Model (POOM) API. However because this is COM based and .NETCF doesn't have
COM interop you need to use a wrapper to access this (a native dll which
converts the com calls to flat C functions). That is one aspect of your
solution.

With regards a Place Order function - there is no way to add custom fields
or buttons to a Contacts form, however you can by registering a menu
extension (again this requires a native dll) which will be appended to the
tap and hold menu in contacts, then when this is tapped you can signal to
your .NETCF application with the identifier (Oid) of the contact selected.
Using POOM you can retrieve the details of the specified contact and feed
this information into your system as a new order.

You can do both of the above with our wrapper, or you can use the partial
implementation from GotDotNet (You'll find it here -
http://www.opennetcf.org/samples.asp - since it seems to have disappeared
from GotDotNet), and extend to include the rest of the functionality. There
is some information in implementing a custom menu plugin (e.g. registry
settings etc) on our forums
(http://www.inthehand.com/forums/viewforum.php?f=20)

HTH

Peter
 
Back
Top