WM6 Programatically show edit contact window - Windows Mobile Development and Hacking General

Hi All,
I have an app that based on certain conditions will add a new contact to the Contact db (Pocket Outlook). I can programatically add a new user without a problem however i'd like to use pocket outlooks Add/Edit contact dialog to do it so i don't have to duplicate that functionality.
I'm developing in C/C++.
Thanks for any help.

garthus said:
Hi All,
I have an app that based on certain conditions will add a new contact to the Contact db (Pocket Outlook). I can programatically add a new user without a problem however i'd like to use pocket outlooks Add/Edit contact dialog to do it so i don't have to duplicate that functionality.
I'm developing in C/C++.
Thanks for any help.
Click to expand...
Click to collapse
the easiest way I can think of would be to use POOM (google 'POOM API'). add a contact would be something like this:
Code:
if ( SUCCEEDED(m_pPOOMApp->CreateItem(olContactItem,
(IDispatch**)&pContact)) )
{
hr = pContact->Display();
if ( S_OK == hr )
pContact->Save();
}
More info here:
http://www.developer.com/ws/pc/article.php/10947_3519721_1
Hope this helps

It worked
Thanks that did it with some tweaking. If you want the user to give the option to edit you can't add any values to the pContact until after the call to pContact->Display

Related

[ ----- smsOrganizer ----- ]

Hello,
A brand new program available at http://www.zedsoft.net : smsOrganizer!
You can use all functions of smsBackup, smsHide, Allexport and much more:
· Message Blacklist and/or Whitelist
· Message Backup/Restore manually or automatic by rules/profiles
· Message Encrypt
· Export Messages
· Forward Messages automatic by rules/profiles
· Hide/Unhide Messages manually or automatic by rules/profiles
· Reply Messages automatic by rules/profiles
· Store Messages in custom folders manually or automatic by rules profiles
· Message Tone for Contacts/Category/Phone Number by profiles
You can use the smsOrganizer trial version for free.
This program is full compatible with the following programs:
smsBackup
smsHide
Allexport (messages function only)
When you use the smsBackup and the smsHide functions then the trial version of smsOrganizer allows you free to use maximal 3 functions (rules) – perhaps one for the backup and one for the hide function. And of course you will be able to export and restore your messages too.
So please download the smsOrganizer trial version for FREE!
If you like it, you can buy the program and use all of the functions.
:wink:
Screenshots:
Screenshots:
Screenshots:
if it would also hide contacts, that would be really wicked
you know, for those girls in your contacts you dont want your girlfriend to see
Hide is also included
This program can Hide Messages by PhoneNumber, Contact or Category!
:wink:
I dont want to hide messages only, I also want to hide contacts
Re: Hide is also included
anevemkovacs said:
This program can Hide Messages by PhoneNumber, Contact or Category!
:wink:
Click to expand...
Click to collapse
Dear Sir
To use free trial version, we must have to come to web and get startup code
But what if we buy registered version, and where to buy
Thank
Tuan
How to buy smsOrganizer
You can buy smsOrganizer within a few days at http://www.pocketgear.com.
Re: How to buy smsOrganizer
anevemkovacs said:
You can buy smsOrganizer within a few days at http://www.pocketgear.com.
Click to expand...
Click to collapse
Dear Sir
thank you for your reply
Does it means that with the introduction of SmsOrgarnzer, the program SMSHide v1.2 will stop working from now on?
Few of my friends prefer SMSHide v1.2 as it did hiding the SMS simply and they only want this function
Re: How to buy smsOrganizer
anevemkovacs said:
You can buy smsOrganizer within a few days at http://www.pocketgear.com.
Click to expand...
Click to collapse
Hi
Sorry for disturbing you but i have more questions
- Does rules and profiles working seperately or for each profile we can set diffirent rules?
- Do you have any details manual for smsOrganizer?
- Can you make the smsOrganizer automatically running in the background with no icon on the tray (just like SMSHide v1.2)?
- Does rules and profiles working seperately or for each profile we can set diffirent rules?
- No. You can define Rules, and after that you can set which Rule to be
executed at which Profile.
- Do you have any details manual for smsOrganizer?
- It will be avaiable within a few hours at http://www.zedsoft.net
- Can you make the smsOrganizer automatically running in the background with no icon on the tray (just like SMSHide v1.2)?
- smsOrganizer can run automatically at background. When you exit the application it will execute all the rule which should be run on incoming SMS-es.
Documentation
There are a full detailed documentation available at http://www.zedsoft.net !
:lol:
Re: Documentation
anevemkovacs said:
There are a full detailed documentation available at http://www.zedsoft.net !
:lol:
Click to expand...
Click to collapse
Dear Sir
It happen to my device that if a contact has been assigned to Rule "Tone" then when SMS from that contact comes, the viabrate function doesn't work any more
I think it would be best if you can intergrate tone & viabrate into one Action (ex Action "Tone & Viabrate")
Regards
Tuan
Please tell your experiences
Please write your experiences... 8)
dmmh said:
I dont want to hide messages only, I also want to hide contacts
Click to expand...
Click to collapse
What do you mean by that?
dmmh said:
dmmh said:
I dont want to hide messages only, I also want to hide contacts
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Hello
To hide contacts, you should better use Pocket Piracy - this soft aim to hide contacts.
The smsOrgarnizer aim to manage your SMS.
Only using the trial, but i feel this program is really the No.1 among SMS management softwares now
anevemkovacs said:
What do you mean by that?
Click to expand...
Click to collapse
its not that hard, I want hide people from my contacts database as long as I choose to, perhaps even depending on profile
handy for people with a double life (multiple girlfriend etc), not that I have that, but I just dont want some people to find out certain phonenumbers
intergrate tone & viabrate
I'm working on it!
It would be very helpful, if you write me all the bugs and advises about the program...
nmt1978 said:
anevemkovacs said:
There are a full detailed documentation available at http://www.zedsoft.net !
:lol:
Click to expand...
Click to collapse
Dear Sir
It happen to my device that if a contact has been assigned to Rule "Tone" then when SMS from that contact comes, the viabrate function doesn't work any more
I think it would be best if you can intergrate tone & viabrate into one Action (ex Action "Tone & Viabrate")
Regards
Tuan
Click to expand...
Click to collapse

multiple SMS/MMS recipients

Does anyone know of a quick way to select multiple SMS/MMS recipients (instead of having to insert each contact individually) under Windows Mobile 2003 for Smartphones (2nd edition)? I’m fairly certain this can’t be done through the OS itself and so I’m assuming some third-party software will be required (this is fine).
Symbian Series 60 implements this perfectly. When composing an SMS/MMS it presents your contact list and allows you to check off those whom you want to receive the message. Then, after you’ve chosen those recipients, it walks you through all of them and if a contact has more than one number it presents you with those numbers and lets you choose which to use. The entire process is very fluid and you get the sense that there isn’t a more efficient way to go about it. Indeed, I couldn’t come up with a faster method (though the ability to specify a “default” message number would obviate the need to choose which number to use).
Quote: http://justinblanton.com/2005/01/send-multiple-smsmms-on-windows-mobile
Hi!
I've made a small application that sends SMS messages to the Outlook groups. I can make a new version where you can choose what ever contacts you want...I'll keep you posted....
http://www.shubaroo.com/index.php?module=group_sms
Best regards
Øystein
Can you please test this and give me some feedback on how it works.........? I've only tested it on a HTC Artemis.
http://www.shubaroo.com/GroupSMS_v1.3.CAB
Øystein
t0flus said:
Can you please test this and give me some feedback on how it works.........? I've only tested it on a HTC Artemis.
http://www.shubaroo.com/GroupSMS_v1.3.CAB
Øystein
Click to expand...
Click to collapse
How do you add a group?
Google for mcc Mass message
I'm using the build in "Categories" in Outlook.
Open a Contact and edit it.
Browse down to the "Categories"
Create a new Category.
Øystein
Works great! I've tested it on a HTC Artemis.
Works great on Qtek S200. Thanks.
t0flus said:
Can you please test this and give me some feedback on how it works.........? I've only tested it on a HTC Artemis.
http://www.shubaroo.com/GroupSMS_v1.3.CAB
Øystein
Click to expand...
Click to collapse
Works very well on Universal (o2 exec). Will it be possible to have a scroll bar in the contact list. Presently it scrolls only with the down key not a major issue though.
On my Artemis I've got a horisontal scrollbar at the bottom. On WM 5.0 Pocket PC's you can also use the left\right arrow keys. You can also browse the contacts with the keyboard keys...
Try downloading the nevest version, I believe I fixed the scrollbar issue in v1.3.
Øystein
t0flus said:
On my Artemis I've got a horisontal scrollbar at the bottom. On WM 5.0 Pocket PC's you can also use the left\right arrow keys. You can also browse the contacts with the keyboard keys...
Try downloading the nevest version, I believe I fixed the scrollbar issue in v1.3.
Øystein
Click to expand...
Click to collapse
Thanks a lot. Please keep up the good work!
Great little app! Now I can notify my complete mailing list with text messages as well
I have threaded SMS application. Would there be a conflict if I installed this program??
Thanks
Ammar
Never tried the "threaded SMS" application so I don't know the answer to your question...
All GroupSMS does is to start the buildt in messaging application and set multiple receivers in the "To" field.
Øystein
Just installed and looks good. One question.... Any way you can add a counter on the number of recipients selected?
Thanks for a great util!

app for WM6.1 sending sms

Hi
some one can help me make one program for send predefined sms quickly
I lake some like that:
when I press a button, program send one sms for one number with button text...
I make this with Basic4ppc but I dont know how I make the functions for send sms...
some one can help me make one program for make some like that?
if I need used other program no problem...
best regards
Never used basic4ppc, but I'd guess it would be possible to open a shortcut/program... That would allow you to use something like VJPhoneTools to send the message rather than interfacing with TMail.
E.G.
Code:
"\Program Files\vijay555\VJSMS.exe" "number" -body "text"
Might be faster that way...
Alternatively, if basic4ppc can inteface with the .NET CF, you can use Microsoft.WindowsMobile.Telephony to send an SMS.
EDIT: looking at the documentation, this may be more helpful!
Code:
Sms.New1("987-654321","This is the message body.")
Hi
I try make other program how I copy from other forum but it give me an error...
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
End Sub
Sub Button1_KeyPress (key)
sms.new1 ("965542750","teste")
End Sub
I dont understand anythink of basic I only use C but basic4ppc only use basic
I dont need declair "sms.new1 "? if yes where?
regards
I have no idea with this... But, I thin maybe this:
Code:
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
Sms.new1
End Sub
Sub Button1_KeyPress (key)
Sms.new1 ("965542750","teste")
End Sub
now I have an error on "sms.new1" :s
Ah!
I think I have it!
You'll need to add the libraries...
Tools->Components->Add Dll, and then click on the "outlook.dll"
Then, Tools->Add object, and select "SMSMessage", enter a name (E.G. Sms) and then use the code as per earlier (Sms.new1 ("965542750","teste")
)
Hi
problem solved... I need put this DLL to work
thanks
filjoa said:
Hi
problem solved... I need put this DLL to work
thanks
Click to expand...
Click to collapse
No problem... And, now I know some basic4ppc!
Now that SMS while driving is finally illegal here, I made a bunch of these .LNKs
Paste this into a *.TXT file, update the TO and BODY and rename to *.LNK.
20#"\Windows\tmail.exe" -service "SMS" -to "021xxxxxxx" -body "Can I call now?"
Click to expand...
Click to collapse
No Vijay or programing skills needed
I link them to WM5NewMenu so I can easily choose the one I want.
You may want to have custom icons. Not sure how to do this, maybe do like supbro and make .EXEs then use Resource Hacker to change the icon...
evojulz said:
Now that SMS while driving is finally illegal here, I made a bunch of these .LNKs
Paste this into a *.TXT file, update the TO and BODY and rename to *.LNK.
No Vijay or programing skills needed
I link them to WM5NewMenu so I can easily choose the one I want.
You may want to have custom icons. Not sure how to do this, maybe do like supbro and make .EXEs then use Resource Hacker to change the icon...
Click to expand...
Click to collapse
I think that requires you to confirm/send the message?
It's not that difficult in basic4ppc, or in C#/VB .NET CF
If you set tmail with -sync it will automatically send the message for you without needing confirmation to send.
h4waii said:
If you set tmail with -sync it will automatically send the message for you without needing confirmation to send.
Click to expand...
Click to collapse
Does that work with SMS as well as email?

Is there any Applcation for building groups for sms?

... or any possibilty to build groups or mailing lists for sms
within WM 6.1 itself ?
I found nothing
Thanks in advance
you can use mortbuttons to build your own lists. its a bit hidden but possible
Well...sort of
You can send SMS to groups using GroupSMS (found here).
You will have to add CATEGORIES to all contacts you want to be able to select. This way you can choose the group(s) you want to send to and GroupSMS will basically do the work (using WM MESSAGING) to go and add all the folks to the To: field for you.
Hopes this helps.
T
E
C
group sms cab
here you go.
Thanks for all your answers, this makes life a little bit easier

[APP] [2009-02-13] DarkGPS : Send GPS coordinates by mail...

Hello,
Here is my first application made for my HTC a while ago...I decided to publish this after a friend asks me if this kind of application exists for WinMo...
Developed in c# (.net CF 3.5) it allows to send GPS Coordinates by mail, like the "Here I am" application from the iPhone.
For accessing the GPS on Windows Mobile, I used the SDK from Microsoft (Samples.GPS)... Thanx Kevin for testing and comparison with its iPhone ^^
It should work on any Windows Mobile having a GPS. But I never test this app on other devices!! (mine is HTC Diamond Touch)
CAB File : Download
Source Code available on demand!
For AutoUpdate of this application just go to Config then Check the box "AutoUpdate" and restart the application (not sure of the "first run" but should be "Off" by default).
The "Send Account" is the account to use for sending mails, the "Mail Account" is the account to use for getting contacts (I'm using "Send by Hotmail" and "Contacts are ActiveSync"...)
Do not hesitate if you have any bugs, problems, ideas, ...... I'm really "open" to critics
Regards,
DarkAngel
!!Warning : this is beta release!!
Release 0.3 : add of English language
Release 0.6 : added AutoUpdate support and small things (More info on my blog : HERE and HERE)
Any testers for a beta version ?
Oh yeah
Can you give me a package in french please
i prefer
The application should be in french if your ROM is french...
I tested using a winmo simulator for english and my HTC for french (using Aztor ROM in FR)
Are you using an english language ROM ?
I may add in the next release an option to change the language (have to test this )
Tested
Here is my feedback even when I was not able yet to get my GPS coordinates
on a Touch HD, but I am in a hotelroom right now keeping the phone before the window.
- User should be able to modify the mail before it is send out.
- I don't like the contacts list that pops up in big fonts, I think it is smarter
when the mail is generated in the background and than opened in the default mail application, most of the time outlook.
Than a user can select the mail adress for the TO field like he does normally when sending emails and he is able to edit the mail also.
It should not be difficult for you to generate the mail and than show the mail in the mail application...
Nice to have : Expanding the application to be able to send an email or SMS.
Tomorrow I will try more...for now it looks great !
Brownbear
DarkAngelFR said:
Hello,
Here is my first application made for my HTC a while ago...I decided to publish this after a friend asks me if this kind of application exists for WinMo...
Developed in c# (.net CF 3.5) it allows to send GPS Coordinates by mail, like the "Here I am" application from the iPhone.
For accessing the GPS on Windows Mobile, I used the SDK from Microsoft (Samples.GPS)... Thanx Kevin for testing and comparison with its iPhone ^^
It should work on any Windows Mobile having a GPS. But I never test this app on other devices!! (mine is HTC Diamond Touch)
CAB File : Download
Source Code available on demand!
For AutoUpdate of this application just go to Config then Check the box "AutoUpdate" and restart the application (not sure of the "first run" but should be "Off" by default).
The "Send Account" is the account to use for sending mails, the "Mail Account" is the account to use for getting contacts (I'm using "Send by Hotmail" and "Contacts are ActiveSync"...)
Do not hesitate if you have any bugs, problems, ideas, ...... I'm really "open" to critics
Regards,
DarkAngel
!!Warning : this is beta release!!
Release 0.3 : add of English language
Release 0.6 : added AutoUpdate support and small things (More info on my blog : HERE and HERE)
Click to expand...
Click to collapse
Feedback #2
Yez, i got the coordinates and succesfully send the email to my gmail adress and opened it in gmail.
Clicked on the links and you see where I am great.
Application works, but need some modification to give it a boost amongst users :
- Generate the mail in background and than open outlook so that user can edit mail and select recipients.
- Add nice GUI
- Add option to select whether to send by SMS or Mail.
That's it.
Keep us informed about updates.
Brownbear
brownbear said:
Here is my feedback even when I was not able yet to get my GPS coordinates
on a Touch HD, but I am in a hotelroom right now keeping the phone before the window.
- User should be able to modify the mail before it is send out.
- I don't like the contacts list that pops up in big fonts, I think it is smarter
when the mail is generated in the background and than opened in the default mail application, most of the time outlook.
Than a user can select the mail adress for the TO field like he does normally when sending emails and he is able to edit the mail also.
It should not be difficult for you to generate the mail and than show the mail in the mail application...
Nice to have : Expanding the application to be able to send an email or SMS.
Tomorrow I will try more...for now it looks great !
Brownbear
Click to expand...
Click to collapse
brownbear said:
Yez, i got the coordinates and succesfully send the email to my gmail adress and opened it in gmail.
Clicked on the links and you see where I am great.
Application works, but need some modification to give it a boost amongst users :
- Generate the mail in background and than open outlook so that user can edit mail and select recipients.
- Add nice GUI
- Add option to select whether to send by SMS or Mail.
That's it.
Keep us informed about updates.
Brownbear
Click to expand...
Click to collapse
Hello there
As a developer I make things in 2 steps : first technical demo, then a nice GUI (have a look at the step from v0 to v0.4 of my other app DarkRuler).
I'll add an option for mails : "direct send" (able to edit default message) or "open in outlook". No problem and nice idea
"Add a nice GUI" : any proposition is welcomed, I'll try to improve this a little for other resolution than mine (HTC Touch Diam). I've seen things on the web that could be fun (having city from gps coordinates) but well, this would need internet connection so not sure.
SMS/Mail choice : I was thinking of it already!
I'll publish the application on CodePlex for next release. Should be in 2 weeks (more or less) because many works here...
Thanks for the feedback, appreciate it and was waiting for this kind of feedback to continue development
Looks good - I'll keep an eye on this.
Seems like a useful application, I hope the development goes well.
Really nice app. Works like a charm in my Blackstone. I'll be looking forward that new enhancements that are in the queue
Would you like a spanish translation? I can translate the program, or at least the default email text, if you feel like it.
hey TS, can i know how u get the latitude and longitude? mind to share the code? i'm doing the application that return me back the latitude and longitude... quite blur as this is my 1st time using c# .net and with mobile environment...
really looking forward to hear from u soon..
u can email me at [email protected]
and MMS ?
how about to add MMS as well, so you can send picture of place you like with GPS coordinats together?

Categories

Resources