KZero Active Member Licensed User Longtime User Aug 25, 2011 #1 Hello, I want to open the dialer preloaded with the phone number is it possible to write like this code Code: startActivity(new Intent(ACTION_DIAL, Uri.parse("tel:012345678"))); i didn't find ACTION_DIAL in the Intent properties and i don't wanna use ACTION_CALL because of the permission Code: Dim i As Intent i.Initialize(i.[COLOR="Red"]ACTION_DIAL[/COLOR] , "tel:012345678" ) StartActivity(i) if its possible , there is anyway to open the SMS application preloaded with number and message ? thanks in advance
Hello, I want to open the dialer preloaded with the phone number is it possible to write like this code Code: startActivity(new Intent(ACTION_DIAL, Uri.parse("tel:012345678"))); i didn't find ACTION_DIAL in the Intent properties and i don't wanna use ACTION_CALL because of the permission Code: Dim i As Intent i.Initialize(i.[COLOR="Red"]ACTION_DIAL[/COLOR] , "tel:012345678" ) StartActivity(i) if its possible , there is anyway to open the SMS application preloaded with number and message ? thanks in advance
KZero Active Member Licensed User Longtime User Aug 25, 2011 #2 i found this code sms Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "sms:0123456789") in.PutExtra("sms_body", "this is the body") StartActivity(in) dial Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "tell:0123456789") StartActivity(in) Last edited: Aug 25, 2011 Upvote 0
i found this code sms Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "sms:0123456789") in.PutExtra("sms_body", "this is the body") StartActivity(in) dial Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "tell:0123456789") StartActivity(in)
ZenWhisk Member Licensed User Longtime User Mar 19, 2016 #3 Small typo it should read tel with one 'l' Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "tel:0123456789") StartActivity(in) Upvote 0
Small typo it should read tel with one 'l' Code: Dim in As Intent in.Initialize(in.ACTION_VIEW, "tel:0123456789") StartActivity(in)
Hakanunver Member Licensed User Longtime User Jun 1, 2018 #4 You can try: Code: Dim Intent AS Intent Intent.Initialize("android.intent.action.DIAL", "tel:123456789") StartActivity(Intent) Upvote 0
You can try: Code: Dim Intent AS Intent Intent.Initialize("android.intent.action.DIAL", "tel:123456789") StartActivity(Intent)
DonManfred Expert Licensed User Longtime User Jun 1, 2018 #5 Hakanunver said: You can try: Click to expand... what is the reason to post to an 7 year old thread? Upvote 0
Hakanunver Member Licensed User Longtime User Jun 1, 2018 #6 I had working on this subject today and I want others to reach it immediately. Upvote 0