This shows you the differences between two versions of the page.
smd:laboratoare:02 [2021/03/25 20:22] adriana.draghici [Example implicit intent] |
smd:laboratoare:02 [2021/03/25 20:41] (current) adriana.draghici [Task 3 - Make a call (1p)] |
||
---|---|---|---|
Line 203: | Line 203: | ||
<code> | <code> | ||
Intent intent = new Intent(Intent.ACTION_DIAL); | Intent intent = new Intent(Intent.ACTION_DIAL); | ||
- | intent.setData(Uri.parse("tel:"+"enter the phonenumber"); | + | intent.setData(Uri.parse("tel:"+"enter the phonenumber")); |
startActivity(intent); | startActivity(intent); | ||
</code> | </code> |