Dear all,
Could you give a sample program to show how to register a new program to read SMS?
Thanks
which platform do u want to develop for? WM5 or WM6 and what programming language?
english wm6 rom
need to read txt in chinese
any solutions for this
thanks for the help
well for writing an application that listens for an incoming SMS check out Microsoft.WindowsMobile.PocketOutlook.MessageInterception Namespace
http://msdn2.microsoft.com/en-us/li...mobile.pocketoutlook.messageinterception.aspx
that's for C#/VB.Net netcf V2.0/3.5 WM5/WM6, there's a sample application with WM6 SDK you can check it out.
For reading chinese text, i have no idea never tried writing application to handle any language other than english... sorry. But you can post a question on microsoft compact framework news group they can help you better there
hope that helps
how about getting wisbar to recognize voicemails?
mrabie said:
well for writing an application that listens for an incoming SMS check out Microsoft.WindowsMobile.PocketOutlook.MessageInterception Namespace
http://msdn2.microsoft.com/en-us/li...mobile.pocketoutlook.messageinterception.aspx
that's for C#/VB.Net netcf V2.0/3.5 WM5/WM6, there's a sample application with WM6 SDK you can check it out.
For reading chinese text, i have no idea never tried writing application to handle any language other than english... sorry. But you can post a question on microsoft compact framework news group they can help you better there
hope that helps
Click to expand...
Click to collapse
thanks a lot !
Related
We have an application that was written for the ipaq 3970 with a PCMCIA jacket and a GSM card,(normally nokia cardphone). We sent and received SMS messages via standard AT commands. Our code was initially VB but we had to rewrite it using c# for performance reasons.
Has anybody managed to write an app for the XDA ii to send and receive SMS messages? If so how did you manage it, ie via AT commands or some other integrated API that is available on the XDA.
Does any of the XDA embedded software interfere or prevent a custom written app from intercepting SMS messages?
Any tips or pointers would be very much appreciated before we commit to buying a XDA only to find that it will not work as we intend.
Did you look at OpenNetCF? They have some .NET classes for sending/receiving SMS messages and interacting with the SIM.
Let me know if that does it for you.
Cube
thanks, at first glance it looks to be a top link for exactly what we want to do. I'll let you know how we get on,
Have you used theses classes yourself for sending/receiving SMSs?
cheers,
L
Cube
thanks, at first glance it looks to be a top link for exactly what we want to do. I'll let you know how we get on,
Have you used theses classes yourself for sending/receiving SMSs?
cheers,
L
port gnokii to wince.
there is a opensource project that's name is gnokii, that's work in most unix system and win32,
can send or read sms with serial base GSM modem, it writen in c.
http://www.gnokii.org/
Hope can help.
gnokki
Thanks for the gnokki link although I think porting it to CE would be a headache and it doesnt seem to support the XDA.
It might come in usefull elsewhere though.
Has anyone used software from a company called Derdack to manage the sending and receiving of SMS messages on windows platform?
Hi, I'm Carlos from Spain. At first time, sorry for my english. :?
I need to make a VB6 Application to send SMS messages, but i not have the AT COMMANDS LIST for the XDA. Anyone know where can i find it?
Hi Folks,
This is my first post, although I've owned my XDAIIs for several weeks and I've ROM'd it to the iMATE 1.4 ROM. So I've had a good play.
I was looking at smsOrganizer (from Jeyo) which is badly supported (and it ain't free) and I wondered why I (we) couldn't write something to do the same thing, for free.
Is there a forum for this kind of activity, or could someone point me in the direction of some exmples of how to pass data between the PC and phone?
Best regards
AndrwB
Andrew, look into RAPI: eg here
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarppc2k/html/ppc_teapppi.asp
Development and Hacking is the right place for this kind of query...what do you want the app to do?
V
Hi V,
Basically I want to control the SMS message transfer on my XDA from Outlook, just like smsOrganizer.
Re. your link, I think we've got those? but I generally write embedded C, non of this fancy C++ stuff :-((
AndrewB
Hi V,
I just tried this :
http://support.microsoft.com/default.aspx?scid=kb;en-us;307256
And I can now copy files to and from my device
Not bad for 1 hours playing, specially as I've fixed 2 work related bugs too )
Andrew B
Good stuff.
I'm just learning C++ actually, I never learnt C, coming from self-taught VB on the PC.
RAPI is the way to do most PC<>PDA communications, although right now I'm only just getting into sms stuff. It'd be easy enough (I think) to write an interface to create an SMS on the PC in text, transmit that to the PDA and then SMS it off, but the backend of it would require some implementation.
Keep us posted though!
V
99% of c programs should compile and work just fine on
c++ compilers and you can write c++ programs without using
oop in which case they are pretty much c programs
From what I've read it looks as if you need to write an app to sit on the device and another app on the main PC. The app on the phone just acts as an agent passing data between the sms services and the PC.
Anybody got any ideas?
AndrewB
Yipeeeee
I can now write a DLL that sits on the device and I can write a C++ application on my PC to communicate with it
Now to start reading some text messages from the device to the PC......
Does anybody know agood way to send and recieve SMS ?? I would also like to edit the text and pass it to an Edit Box.
I am not too sure about the available API's that will let me do this.
Please HELP :shock:
Hey , i would like to send and recieve SMS on my xda2. Also pass the recieved message into an Edit Control. Does anybody know a good way to do this ??
I know about the SMS API but i am unaware of others. Pleas Help !! thnkx
SMS Auto sending
Hi everybody,
Is there a way to auto send all sms in draft? Basically, every sms in draft folder needs to be send one by one by ticking send button.
OK,
I can now send a text message from my PC to a DLL on my phone using RAPI, then send a SMS using MAPI.
The trouble is I can't get the subject and body fields to display correctly on my XDAIIs. Also I can't get the Name to appear instead of the number.
I'll try to post the code later on the understanding that it is FREE and we pool our experiences/knowledge.
Here is the code for the DLL and the PC program. Just press one of the keys on the tol bar to send the message. The number and message are hard coded.
There are ABSOLUTELY NO guarentees with this code, use it at you own risk.
can it recieve SMS as well ?? Has any body thought about other API's to use for sending and recieving SMS's maybe ?
Well.... Not yet.
This is my first ever .net VC++ program !!!!
There are lots of code snipets around but no full source code.
This is a work in progress project hence it is in the "Development and Hacking" fourm.
If you'd like to add some functionality to it......
I am asking because there seems to be a problem when trying to recieve SMS with SMS api as the HANDLE is already attributed to the messaging application (inbox/draft/outbox).
I believe you are using RAPI ? However i do not understand this API that well could u specify a bit more ?
Thanks for your help.
Hi nutitija,
I'm only using the RAPI function to pass parameters from my PC to the XDA. The actual sending of messages is done using the MAPI in the XDA.
My biggest problem is getting the subject/body and from fields to display correctly in the different XDA mail views.
Hello to the developers,
I've just started to write some today screens for my own enjoyment but am stuck on how to launch lets say the phone application or perhaps the SMS folder, i have some notification graphics which say for example i have some unread SMS's i want to click on the SMS notification and load up SMS folder.
I hope i have made sence.
Look forward to a response.
David
Anyone?
I've tried google but i guess i'm not typing the right stuff in.
Ooce last chance anyone any pointers?
not sure if it's still the case but not long agoe
today items was one of the things you could not program
in .net you had to use pure win32 and or microMFC
not sure about the older and more evil vb flavours
if you do a search in the development and hacking forum
for something like
today item
you are sure to get tons of stuff about it
Thanx for your reply but its not a real today plugin but more of a complete shell i guess, the problem i have is i want to be able to open up default containers when i click on my buttons, i.e.
If i select my missed calls button i want to go to phone log missed calls.
If i select my unread SMS button then it opens up the SMS container
etc..
I cant find any documentation on how to open up the standard containers.
Please if someone knows then help a poor learning developer know the answer!!
fergie_uk said:
Please if someone knows then help a poor learning developer know the answer!!
Click to expand...
Click to collapse
there ought to be a "shell" command in. Net CF, to basically launch outside apps. You will find most of the apps like ie, SMS etc in windows folder or in program files folder
Thanx ill check out the Shell Thing
Still strugling here, is there any developers out there wishing to share some knowhow.
Ive tried using the Shell command but i keep getting errors
i want to open up default containers
Phon app, contacts, emails, sms etc...
Any help please please please
Examples if you have some
Kind regards
David
fergie_uk said:
Still strugling here, is there any developers out there wishing to share some knowhow.
Ive tried using the Shell command but i keep getting errors
i want to open up default containers
Phon app, contacts, emails, sms etc...
Any help please please please
Examples if you have some
Kind regards
David
Click to expand...
Click to collapse
I think u can P/Invoke ShellExecuteEx().
check out MSDN docs for P/Invoke or google.
ok i'm oficially stuck!!
my code
Phone
Shell("cprog.exe", AppWinStyle.NormalFocus, False)
SMS
Shell("tmail.exe -Text", AppWinStyle.NormalFocus, False)
Please help me, i totally stuck!!
Final plea for help!! any developers know how and have any examples they wish to share!!
Hi there
I've spent a fruitless 6 hours searching the net trying to find any code examples to simply read messages from the Inbox for SMS/MMS inside managed code, i.e. a VB.NET application. (CF2) I want to:
- enumerate messages from the outlook (SMS) inbox
- read the message body and sender's number
So far... ...aside from "Mobile InTheHand" (which I cannot afford), I have found no other code examples of how to do this. I have found some cemapi.dll code, a mapirule.dll example, both of which were built for earlier versions of WM5 - I am using WM6 professional so they won't compile in Vis Studio 2005.
please please please PLEEEEEESE could somebody provide me with a code example. Has anybody built a free mapirule wrapper? I notice that the namespace is there inside the microsoft.windowsmobile.pocketoutlook model, yet the functionality is not included in Compact Framework 2.0. Honestly, anyone would think Microsoft were stalling to avoid doing inTheHand out of their money! Ha! It's not like InTheHand was written by anyone at Microsoft or something... ....oh, wait, hang on, it is.
Carlos
PS: Some extra notes:
1. NO, you cannot do this with OpenCFNet. It lets you intercept messages, but this is not what I want to do.
2. NO, this is not included in the InTheHand community (free) edition.
short answer: you can't.
longer answer: interrop with cemapi. It was so easy and working so well that I rewrote the app in C++.
carlosp_uk said:
Hi there
I've spent a fruitless 6 hours searching the net trying to find any code examples to simply read messages from the Inbox for SMS/MMS inside managed code, i.e. a VB.NET application. (CF2) I want to:
- enumerate messages from the outlook (SMS) inbox
- read the message body and sender's number
So far... ...aside from "Mobile InTheHand" (which I cannot afford), I have found no other code examples of how to do this. I have found some cemapi.dll code, a mapirule.dll example, both of which were built for earlier versions of WM5 - I am using WM6 professional so they won't compile in Vis Studio 2005.
please please please PLEEEEEESE could somebody provide me with a code example. Has anybody built a free mapirule wrapper? I notice that the namespace is there inside the microsoft.windowsmobile.pocketoutlook model, yet the functionality is not included in Compact Framework 2.0. Honestly, anyone would think Microsoft were stalling to avoid doing inTheHand out of their money! Ha! It's not like InTheHand was written by anyone at Microsoft or something... ....oh, wait, hang on, it is.
Carlos
PS: Some extra notes:
1. NO, you cannot do this with OpenCFNet. It lets you intercept messages, but this is not what I want to do.
2. NO, this is not included in the InTheHand community (free) edition.
Click to expand...
Click to collapse
I was looking for the same thing and wanted to write my own MAPI wrapper, but after searching and asking on lots of forums i didn't find a solution, but i found this @ every developers' best friend CodeProject...
http://www.codeproject.com/KB/cs/PocketPCandSmartphone.aspx?msg=2337210
this articles shows you how to read all the message stores, populate their folders, read messages and the developer is improving it...
hope that helps you...
oh btw the sample (and the dll) are written in C#, but the sample is straight forward so u can easily change it to VB.Net