[REQ] Get Notification when New Contact is added to Device on Windows Mobile - Windows Mobile Software Development

I need to set Callback function for New Contact added to Device on Windows Mobile.
I want to get notification when someone adds contacts to mobile device. I am using VS 2008 with C#.
The Microsoft.WindowsMobile.PocketOutlook.ContactCollection has a ListChanged event. But, that will be called only when Contact is added programatically. I want to get notification even if Contact is added directly in Outlook (from device) outside of my application. I have found one useful link (msdn.microsoft.com/en-us/library/ms862902.aspx) but that is in unmanaged code. I don't know how to use it in C#. Can you help me to call it from C#? Kind of creating wrapper?

Hi!
Doing that in C# is not that easy...
You need a c++ lib for the POOM notification and with help of it you can register to the events (outside your software)
Either you search the internet for PoomNotificationHelper by Chris Tacke and try to manage it on your own, or you drop me a PM with your private email address and I can support you...
Have a look at that software, it's my caledar app and uses the libs...
regards
Obelix

Related

New Mail Notification

Hello,
I'm using EVC++ to create an application and I would like to be informed when a new mail is arrived in the Message Store.
There are some MAPI function to do that (Advise, OnNotify, AdviseSink etc...) but I need some explanations. For example NEWMAIL_NOTIFICATION is not sent by CEMAPI, so how can I know when a new mail is arrived?!!!
Thank you for your help or even a sample code for my inspiration!!
Gizmo

Form size

Hi, i have a simple chat style sms application i am using on my T-Mobile SDA and i would like to port it to T-Mobile DASH. What should be the Form size so that it would fit the DASH screen?
The screen on a Dash is 320x240 pixels large, and after the browser steals viewing space the user gets about 300x220ish or so in usable space. If you need to do specific testing simply PM me and I would be more than willing to help out and give screen shots on how things look. If you wish to work independently you might want to look into the Microsoft emulators which have been made by Microsoft so people can emulate smart phone devices for testing programs and sites for this exact purpose.
thanks for the quick reply I will try to create blank form and PM you ASAP. I have just bought my excalibur online and havent received it yet so i cant test it on an actual unit.
Is this app a 'replacement' for the messaging account in outlook? Or will the messages continue to go to the existing inbox. Also, is MMS supported? I have waited so long for an app as good as the Palm Messaging beta, created specifically for a smartphone.
Orientation Aware Control
Hey oldsap,
I'm a mobile developer by trade and if you're looking for a flexible way to handle resolutions etc to make you're app a little more portable, take a look at the Orientation Aware Control that microsoft's patterns and practices group created:
http://msdn2.microsoft.com/en-us/library/aa480471.aspx
It can be downloaded from codeplex. Basically, you create a single form and it uses a resource file to store settings for various resolutions (control layout etc). No more need to make multiple copies of a form for each resolution you want to support. Good luck, hope that helps!
- Brian
curtislanham said:
Is this app a 'replacement' for the messaging account in outlook? Or will the messages continue to go to the existing inbox. Also, is MMS supported? I have waited so long for an app as good as the Palm Messaging beta, created specifically for a smartphone.
Click to expand...
Click to collapse
for the time being, ive created this to intercept all incoming sms so that they wont go to the inbox. But i can re-code it so that when a new sms arrives:
1. sms wont go to the existing inbox
2. sms will go to both the application AND inbox
it's not a perfect chat style application but it works well for me.
im still waiting for my DASH to arrive (ordered it from ebay) When i have ported it to DASH, ill post it here
windsorguy13 said:
Hey oldsap,
I'm a mobile developer by trade and if you're looking for a flexible way to handle resolutions etc to make you're app a little more portable, take a look at the Orientation Aware Control that microsoft's patterns and practices group created:
http://msdn2.microsoft.com/en-us/library/aa480471.aspx
It can be downloaded from codeplex. Basically, you create a single form and it uses a resource file to store settings for various resolutions (control layout etc). No more need to make multiple copies of a form for each resolution you want to support. Good luck, hope that helps!
- Brian
Click to expand...
Click to collapse
Thanks for the tip sir. I'll read about this. Im just a newbie programmer and can only create very very simple applications
I would have to say that a threaded SMS app is not simple!
curtislanham said:
I would have to say that a threaded SMS app is not simple!
Click to expand...
Click to collapse
i refer to my application as "simple" compared to PALM's threaded sms because it only uses Textbox instead of XML. It doesnt use colored fonts to distinguish sent and received sms. But it does have other features like save chat window, group sending, sms sent counter, sms filtering, etc

Facebook - web browser problems

i have an app that i want to post an item on a user facebook.
i have found a method to do this, which on paper works - but on windows mobile it doesnt!
i have code that generates a html document with the relevent java script in it to trigger the FB.UI. This Java code opens up a popup window to enable the post to happen, the problem is that if i open up the generated html document in internet explorer it wont work because it automatically blocks pop-ups. Alternativly if i had a web browser control to my app it works, however the page is zoomed in way too much and theres no scroll bars or anyway of navigating the page!
i appreciate any help or suggestions. Using managed .net code (vb)
well, I've been working oonon a Facebook app and well. . Honestly, the only way to do it is using raw http socket communication with custom UI. the webbrowser object is pathetic at best. if you find another solution i would be very interested in knowing what you did. if you want help with Facebook communication, pm me and ill see what i can do to help

Homebrew SMS sync desktop app ( help required)

I am looking to develop desktop sms sync app for wp7. My first question is this possible using the unlocked (homebrew) emulator. if yes what is the starting point i have development experice with wp7 but i dont know how to access wp7 task api in winodws desktop application ?
Bundle of thanks in advance for any help.
At the moment with the available API's from microsoft you can't access the sms history.
All you can do is bring up a compose sms ui with sections already filled in.
There may be someone with a hack to get around this but I haven't seen anything.
mupets_revenge said:
At the moment with the available API's from microsoft you can't access the sms history.
All you can do is bring up a compose sms ui with sections already filled in.
There may be someone with a hack to get around this but I haven't seen anything.
Click to expand...
Click to collapse
Thanks for the reply. Right now i am looking to develop silverlight web service for this purpose hope i will share the details if it become a success
I also I need it!
I hope that VERY soon are released these APIs.
Not only that:
I would very much like a software to see on the desktop of my pc the phone's screen, remotely. So I can work comfortably and with the keyboard (like SOTI) ......
Excuse my bad English!
Nevs about this software??

[Q] How to programatically create a Messaging Group in C# for Windows Mobile 6.5.3

As per the title, i'm trying to create contact, and create contact group (Messaging Group) via C# for Windows Mobile 6.5.3
I'd look around but so far not much found. There was some Contact classes in the POOM library but i'm not sure how it could help to create the group.
Any pointer or help are appreciated. Thank you.
ipohfly said:
As per the title, i'm trying to create contact, and create contact group (Messaging Group) via C# for Windows Mobile 6.5.3
I'd look around but so far not much found. There was some Contact classes in the POOM library but i'm not sure how it could help to create the group.
Any pointer or help are appreciated. Thank you.
Click to expand...
Click to collapse
Anyone has any idea?

Categories

Resources