11-05-2011 01:46 AM
Hi all, i wanna ask, i have created a button that i named it call button. That button contain a phone number, my purpose is when user press that button, thats gonna make blackberry device call the phone number, how i can apply this call function using webwork?
So much thanks, i really need you all help :-)
Solved! Go to Solution.
11-05-2011 02:44 AM - edited 11-05-2011 02:51 AM
very easy:
for sample:
<a href="#" onclick="blackberry.launch.newPhoneCall({'dialStri ng':'5198887465','smartDialing':false })">Call RIM</a>
or:
<input type="button" value="Call RIM" onclick="blackberry.launch.newPhoneCall({'dialStri ng':'5198887465','smartDialing':false })" />
11-05-2011 02:56 AM
@agungeddy : so much thanks, should i include phone are like +6221..... for the number, or just ordinary phone number? btw are you indonesian? :-) thanks
11-05-2011 02:58 AM - edited 11-05-2011 03:01 AM
iya benar, saya orang indonesia, lokasi Jakarta.
Penulisan nomer telepon bebas, bisa pakai kode wilayah ataupun tidak, tapi disarankan lebih baik pakai kode wilayah.
==================================================
Yes you're right, i'm an indonesian, at Jakarta. The phone number format can use area code or not, it's up to you, but it is prefer to use the area code.
11-05-2011 03:22 AM
Salam kenal mas agung :-)