SMS and Contacts in C# - Windows Mobile Software Development

Hi !
Where can i find information/a tutorial on how to send and receive SMS in C# (for .NET Compact Framework) and how to get Contacts (Name and mobilenumber) ???
Any ideas?
Thanks... Jabba

You will have to resort to P/Invoking the Phone APIs from your C# application.
You can check out a couple of great articles on MSDN that will help you:
http://smartdevices.microsoftdev.com/Learn/Articles/622.aspx
http://smartdevices.microsoftdev.com/Learn/Articles/622.aspx

Related

SMS Inbox...

Hi,
using PPC2003, I am having trouble connecting to the inbox using .net compact framework. I need to monitor incoming sms messages from within my code. MS have 'retired' the old api's and implemented some new cemapi stuff which I am yet to see work in .net. can anyone shed some light on this ??
TIA
Paul.

Today plugins

Recently i was thinking about creating an app which would show me my remaining calltime with one of polish prepaid services. I imagine it would work like that:
1. receiving a specific text message with my account balance from my operator the app would capture it and store the value
2. after each call being made operator sends sms with call cost. this should be deducted from previously stored value. etc etc.
3. value should be displayed somewhere, like on today plugin...
seems simple, but theres a catch;] i can't code for WM5. i just got myself delphi 2006 today and i see it has limited CF support so i can create applicatons... but am i able to create Dlls? also i don't have clue about creating dll's at all, especialy those for WM5. is it even possible with .net? is there any chance for me?
i know, i know, i shoud start to use c++ long time ago, but i'm affraid it' might be a bit to late for me;]
ps. is there anything like WM5 sdk, any guide kit for programmers, specs of any kind? where to look for it? thanks for any help. please note, i'd like to become one of you guys, i could even be of some value;]
heard somewhere that today plugins
cant be written in .net
here is a link to the subject of today plugins
http://forum.xda-developers.com:80/showthread.php?t=234162&highlight=codeguru
thanks, gonna try it in a minute.
(today unbelievable happened - my wizards battery got empty )
interesting. i'll consider switching to c++. as far as i understand it's not normal C, its some kind of mobile oriented c? but no connection with .net? how does it work?
Ok.
C++ is an extension of C to include object oriented programming. The language is not specific for mobile devices, so any book / article on the subject will do for starters.
I taught my self C++ after learning Pascal (Delphi is for Pascal right?) in school and it was quite easy because the languages have similar structure.
Your second stop is to learn WIN32 programming. I don't know how Delphi deals with APIs and function exports (that's what you need for DLLs).
Basically WM programming is very similar to desktop windows programming, except for a few miner difference (like all APIs using only Unicode).
You can download a free development tool called eVC 4 from MS. It looks exactly like Visual Studio 6 if you have any experience with that.
Unfortunately system DLLs like plugins can not be written using .NET but if you search MSDN (I really don't remember the link), there is an article on how to use a basic C++ DLL for the plugin and delegate all the real functionality to a .NET DLL.
Good luck.
yes, delphi is much like pascal
i know it's not that hard if you mean the structure. i just don't know how to start. in fact i got myself evc yesterday, after what you say i'll take good lok at it as soon as i prepare some room on my HD.
Delphi does well with windows api - as far as i can tell, i played with theese a bit so it shouldn't be hard to catch up when starting with c++. other thing is i never did dll, although i know how it works in general, i also used other peoples dll's in my programs. will do i hope. also, Rudegar provided us with good tutorial/example on today dlls, so i hope i'll be able to expand it. the only thing, i'm a bit anxious. you say evc is good for starters? ok, going to give it a try.
what a week, four days, four new RAD environments already
delphi is object pascal which is an extention of pascal like c++ is of c
c programs should compile without any problems in c++
Hi,
I saw a way to develop today plugins in .net : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/TodayScrn.asp?_r=1
I did not try and I guess it will slow down the device as .net is not very fast, but you can try...
Good luck

Read out SMS from my Smartphone

Hi there, how can i develop an application that can read out sms messages from my touch hd (WM 6.5) ?
i want develop on my desktop pc an application that can read out all sms messages from my phone (tools are vista,visual studio 2008)
greetings
SMS
Should be able to using the Microsoft SAPI (speech) library. Would need to add a reference to it first in your desktop app. Look under the COM tab when adding a reference.
I've done it on Delphi / C++ but I believe it should be the same on C#.
andreask1 said:
Hi there, how can i develop an application that can read out sms messages from my touch hd (WM 6.5) ?
i want develop on my desktop pc an application that can read out all sms messages from my phone (tools are vista,visual studio 2008)
greetings
Click to expand...
Click to collapse
that would be a great application. i seen an app for android that does what your looking for i hope you are abel to achive the application
I forget who's Rom I was using. Probably juicy for touch pro1. there was one person that every time she sent a text to me it was marked urgent and my phone would read it out loud to me as it came in. and I mean every time.
What setting in the phone did that?

[C#] Own mail client possible?

Hi all, I've been programming in C# for a while now <Pc mainly> and Wanted to know if it is possible to create my own Mail client, On Windows its simple you just make an instance of the mail class but I cannot find anything similar in the windows mobile side of things, any pointers would be appreciated.
Hi,
Add a reference to
Microsoft.WindowsMobile.PocketOutlook
and start from there
Hope this helps

Contacts in WP7 Emulator

Hi
I developed an app in WinMo 6 and i want to port to WP7. it is easySMS (you can see that in codeplex).
I want to know how i work with contacts in WP7 emulator, how can i get contacts and how can i send SMS and....
please guide me. thanks
mSafdel
Why would you want to write a SMS application for WP7?
But there's no API for it, so you can't do it anyway

Categories

Resources