|
softwarejaeger wrote: How can i dial a number from my Application and Send a SMS?
for dial a number use following code
Dim s As New Microsoft.WindowsMobile.Telephony.Phone<br />
s.Talk("+919413684086\0")
and for send a sms using following code
Dim messageBody As String<br />
<br />
messageBody = Me.MessageText<br />
Dim SMSMessage1 As SmsMessage = New SmsMessage("+919413684086", messageBody)<br />
SMSMessage1.Send()
hope this helps
|
|
|
|
|
Hi all!
It's possible to use this code also for Windows mobile 2003 SE (not Phone Edition) applications?
If not, are there other alternatives to do the same work (send SMS)using a cell phone connected by bluetooth to the above device?
Thanks
Ignazio
|
|
|
|
|
Helllo,
How can i get the device id of a windows mobile 5
Best regards
Elie
dghdfghdfghdfghdgh
|
|
|
|
|
//import InteropServices namespace
using System.Runtime.InteropServices;
//Import DLL
[DllImport("coredll.dll")]
private extern static int GetDeviceUniqueID([In, Out] byte[] appdata,
int cbApplictionData,
int dwDeviceIDVersion,
[In, Out] byte[] deviceIDOuput,
out uint pcbDeviceIDOutput);
public string getDeviceUniqueID()
{
byte[] buffer = GetDeviceID("MyAppString");
StringBuilder sb = new StringBuilder();
for (int x = 0; x < buffer.Length; x++)
{
sb.Append(string.Format("{0:x2}", buffer[x]));
}
string strUniqueID = sb.ToString();
return strUniqueID;
}
ssss
|
|
|
|
|
|
|
|
HIi THOBANI,
CHECK THIS CODE
private string FindContacts()
{
OutlookSession osSession = new OutlookSession();
int iCnt = 0;
string strName = null;
if (osSession.Contacts.Items.Count > 0)
{
while (iCnt < osSession.Contacts.Items.Count)
{
if (strName == null)
{
strName = osSession.Contacts.Items[iCnt].FirstName.ToString();
}
else
{
strName += "," + osSession.Contacts.Items[iCnt].FirstName.ToString();
}
iCnt++;
}
}
return strName;
}
Hope that this may be help.
Pavan Pareta
|
|
|
|
|
How can I export SMS of SmartPhone into my PC Desktop using C# code?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Hi Blue Boy,
You need to use Messaging API (CE MAPI) which is COM-based to access the Inbox. That means you need some knowledge on COM Interop in order to use it in the .NET Compact Framework (or in C#).
Messaging API (CE MAPI)
see[^]
Pavan Pareta
|
|
|
|
|
Thanks PavanPareta I will check it now
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Does somebody know how to show/hide the 'wait cursor' for WM 5.0 or above?
I'm writing in VS 2005 C++ 'native code', but code should be enough.
|
|
|
|
|
In C# it is like this
you need to import System.Windows.Forms namespace
Cursor.Current = Cursors.WaitCursor;
ssss
|
|
|
|
|
Hi,
private DoProcess()
{
Cursor.Current = Cursors.WaitCursor;
Cursor.Current = Cursors.Default;
}
Hope that this may be help
Pavan Pareta
|
|
|
|
|
Than you very much - it worked fine.
Because I'm writing in C++ native, here is how to do it trough Win API:
SetCursor((HCURSOR)IDC_WAIT);
...
SetCursor(0);
|
|
|
|
|
Hi All,
I am using a panel.
In this panel's top part i had pain some text data on the panel and after finishing paint text data, i have added two control with a panel(i.e textbox and button).
if the text data is more then the screen that time scrollbar is come and and when i press key down that time text is not scroll and focus is directly jump to the next control.
I want to scroll first text data, then show all the control on the screen.
i want to catch first keyDown event then, next control's event.
Please help me.
Pavan Pareta
|
|
|
|
|
I just bought a Windows Mobile phone,and I want to add a application to my phone to do such a small thing: When the others phone in, my phone would play a MP3 in my phone to the caller automaticly until i answer it.
Now my trouble is: how to play the mp3 to the caller not to the Loudspeakers of my phone.
thanks a lot.
|
|
|
|
|
I'm quite sure, that playing anything to the caller before you receive the call is a service of your mobile operator and you can't handle it from your phone.
Pavel
|
|
|
|
|
sorry,i clear my point again ,before i came to the phone,it had answered the calling automaticly .That is to say my trouble is how to change the output channel of my music.
|
|
|
|
|
ok, that clears it. Can't help. The operator will like you, the callers less.
Pavel
|
|
|
|
|
Hi, i need help with programming a program that detects a specified incoming sms and then replies back automatically with a message, carrying information which can be set by the user.
I'm not sure where to start at and i cant seem to find anymore help regarding on the creation of this mini project.
Hopefully someone gives me a tip / guide me on writing the source code.
|
|
|
|
|
what language/tools are you willing to use, native C++ or Managed code C#?
in both cases all you need to do is download and install the Windows Mobile 6 SDK.
Once you've install it you'll find a specific sample that demostrates how to intercept sms and send sms:
For Managed C#:
<wm6 install="" dir="">\Windows Mobile 6 SDK\Samples\Smartphone\CS\SmsIM
For native C++:
<wm6 install="" dir="">\Windows Mobile 6 SDK\Samples\Smartphone\cpp\Win32\SIMMgr
Good luck !
Ciao
Marco
|
|
|
|
|
f1 on MessageInterceptor
using Microsoft.WindowsMobile.PocketOutlook.MessageInterception;
and all will be revealed
MrPlankton
|
|
|
|
|
I have written a mobile 6 application that encrypts SMS traffic it sends and
decrypts traffic it receives. I need to test the application but the
cellular emulator is letting me down. It will not accept strings that I
past into the (send) text box with out changing them when I send the
encrypted string. There is also no provision with the cellular emulator to
open a file and send the contents (which would be real nice).
I am wondering how I can test application since cellular emulator is not up
to the job?
I have also tried setting up the cellular emulator to send messages back to the device emulator according to the article[^] but this does not seem to work in mobile 6 (artlcle was for mobile 2003)
Thanks,
MrPlankton
MrPlankton
|
|
|
|
|
I make a PocketPC application in VS2008(VB.NET).It's running fine.How do I make an installer for this PocketPC program.By which I want to copy three dll files into client PocketPC,which helps to run this application.
|
|
|
|