Prev: vb.net bill application for windows mobile
Next: WinCE or Windows Mobile - Virtual Printer support
From: Peter Mairhofer on 29 Mar 2010 10:38 Hi, I want to start a call to a specific number when pressing a specific button on a Windows Mobile 2003 device. What is the quickest way to achieve this? Best regards, Peter
From: Peter Foot [MVP] on 29 Mar 2010 14:12 For Windows Mobile 2003 you can call the PhoneMakeCall function. For C++ you need to use phone.h and link to phone.lib. For .NETCF you need to P/Invoke this function (On Windows Mobile 5.0 and above there is a managed library around this function - Microsoft.WindowsMobile.Telephony). Alternatively we have a product which includes this function already wrapped and other Mobile specific APIs - http://inthehand.com/content/Mobile.aspx Peter -- Peter Foot Microsoft Device Application Development MVP peterfoot.net | appamundi.com | inthehand.com APPA Mundi Ltd - software solutions for a mobile world In The Hand Ltd - .NET Components for Mobility "Peter Mairhofer" <63832452(a)gmx.net> wrote in message news:hoqe1f$5qp$1(a)news.albasani.net... > Hi, > > I want to start a call to a specific number when pressing a specific > button on a Windows Mobile 2003 device. > > What is the quickest way to achieve this? > > Best regards, > Peter >
From: Peter Foot [MVP] on 30 Mar 2010 03:08 Another option (since you mention calling from the command line) is to use ShellExecuteEx or Process.Start with a tel: url e.g. System.Diagnostics.Process.Start("tel:123456789", null); The string following tel: must be a valid phone number, the user will be prompted first before dialling starts. Peter "Peter Foot [MVP]" <feedback(a)inthehand.com> wrote in message news:7C02E010-9608-4518-80E4-B2E2FBEE267C(a)microsoft.com... > For Windows Mobile 2003 you can call the PhoneMakeCall function. For C++ > you need to use phone.h and link to phone.lib. For .NETCF you need to > P/Invoke this function (On Windows Mobile 5.0 and above there is a managed > library around this function - Microsoft.WindowsMobile.Telephony). > Alternatively we have a product which includes this function already > wrapped and other Mobile specific APIs - > http://inthehand.com/content/Mobile.aspx > > Peter > > -- > Peter Foot > Microsoft Device Application Development MVP > peterfoot.net | appamundi.com | inthehand.com > APPA Mundi Ltd - software solutions for a mobile world > In The Hand Ltd - .NET Components for Mobility > > "Peter Mairhofer" <63832452(a)gmx.net> wrote in message > news:hoqe1f$5qp$1(a)news.albasani.net... >> Hi, >> >> I want to start a call to a specific number when pressing a specific >> button on a Windows Mobile 2003 device. >> >> What is the quickest way to achieve this? >> >> Best regards, >> Peter >>
From: Peter Mairhofer on 30 Mar 2010 12:50 Hi, Wow, this looks nice! Because I can just create a link file, place in the start menue and assign a button to it -exactly what I want the one problem: the prompt. Is there a way to avoid this? Because it must place the call automatically as the display is not working... Best would be without programming. I can C, C++ but I want to avoid to install big software. on my PC. But I have installed Visual Studio. NET 2003 on Windows XP Peter Am 30.03.2010 09:08, schrieb Peter Foot [MVP]: > Another option (since you mention calling from the command line) is to > use ShellExecuteEx or Process.Start with a tel: url e.g. > > System.Diagnostics.Process.Start("tel:123456789", null); > > The string following tel: must be a valid phone number, the user will be > prompted first before dialling starts. > > Peter > > "Peter Foot [MVP]" <feedback(a)inthehand.com> wrote in message > news:7C02E010-9608-4518-80E4-B2E2FBEE267C(a)microsoft.com... >> For Windows Mobile 2003 you can call the PhoneMakeCall function. For >> C++ you need to use phone.h and link to phone.lib. For .NETCF you need >> to P/Invoke this function (On Windows Mobile 5.0 and above there is a >> managed library around this function - >> Microsoft.WindowsMobile.Telephony). Alternatively we have a product >> which includes this function already wrapped and other Mobile specific >> APIs - http://inthehand.com/content/Mobile.aspx >> >> Peter >> >> -- >> Peter Foot >> Microsoft Device Application Development MVP >> peterfoot.net | appamundi.com | inthehand.com >> APPA Mundi Ltd - software solutions for a mobile world >> In The Hand Ltd - .NET Components for Mobility >> >> "Peter Mairhofer" <63832452(a)gmx.net> wrote in message >> news:hoqe1f$5qp$1(a)news.albasani.net... >>> Hi, >>> >>> I want to start a call to a specific number when pressing a specific >>> button on a Windows Mobile 2003 device. >>> >>> What is the quickest way to achieve this? >>> >>> Best regards, >>> Peter >>>
From: Peter Foot [MVP] on 30 Mar 2010 14:52 The only way to call without the prompt is through the PhoneMakeCall function, the URL method will always prompt. Peter "Peter Mairhofer" <63832452(a)gmx.net> wrote in message news:hota58$2h7$1(a)news.albasani.net... > Hi, > > Wow, this looks nice! Because I can just create a link file, place in the > start menue and assign a button to it -exactly what I want > > the one problem: the prompt. Is there a way to avoid this? Because it > must place the call automatically as the display is not working... > > Best would be without programming. I can C, C++ but I want to avoid to > install big software. on my PC. But I have installed Visual Studio. NET > 2003 on Windows XP > > Peter > > Am 30.03.2010 09:08, schrieb Peter Foot [MVP]: >> Another option (since you mention calling from the command line) is to >> use ShellExecuteEx or Process.Start with a tel: url e.g. >> >> System.Diagnostics.Process.Start("tel:123456789", null); >> >> The string following tel: must be a valid phone number, the user will be >> prompted first before dialling starts. >> >> Peter >> >> "Peter Foot [MVP]" <feedback(a)inthehand.com> wrote in message >> news:7C02E010-9608-4518-80E4-B2E2FBEE267C(a)microsoft.com... >>> For Windows Mobile 2003 you can call the PhoneMakeCall function. For >>> C++ you need to use phone.h and link to phone.lib. For .NETCF you need >>> to P/Invoke this function (On Windows Mobile 5.0 and above there is a >>> managed library around this function - >>> Microsoft.WindowsMobile.Telephony). Alternatively we have a product >>> which includes this function already wrapped and other Mobile specific >>> APIs - http://inthehand.com/content/Mobile.aspx >>> >>> Peter >>> >>> -- >>> Peter Foot >>> Microsoft Device Application Development MVP >>> peterfoot.net | appamundi.com | inthehand.com >>> APPA Mundi Ltd - software solutions for a mobile world >>> In The Hand Ltd - .NET Components for Mobility >>> >>> "Peter Mairhofer" <63832452(a)gmx.net> wrote in message >>> news:hoqe1f$5qp$1(a)news.albasani.net... >>>> Hi, >>>> >>>> I want to start a call to a specific number when pressing a specific >>>> button on a Windows Mobile 2003 device. >>>> >>>> What is the quickest way to achieve this? >>>> >>>> Best regards, >>>> Peter >>>> >
|
Next
|
Last
Pages: 1 2 Prev: vb.net bill application for windows mobile Next: WinCE or Windows Mobile - Virtual Printer support |