简体   繁体   中英

Opening/Displaying the default dialer in app (actually using the dialer not passing data to it)?

I've looked at a few posts here like this but this doesn't seem to do what I intend (unless I'm just doing it wrong.) The other posts I see are either about replacing the dialer with a custom dialer or passing an input to the dialer.

I don't want to replace the dialer and I don't want to pass the data where the user inputs a number and then sends it to the dialer.

I would just like to bring in the default dialer inside the app. Example:

1) The user opens the app, they see their default dialer but with a different heading (just so they know they're inside my app). They enter the number, press call it calls the number.

2) If the user presses their call button outside of the app, they just do the normal dialer without my app. So the user never uses my app in (2).

I think that's pretty clear but if not just let me know. Since I can't seem to find any tutorials or posts about doing this online, it leads me to wonder if this is against a policy? Or perhaps a concern the users will be confused as to what they're doing? I think with a different heading they can know if they are using my app or not.

I would just like to bring in the default dialer inside the app

Sorry, but that is not possible.

it leads me to wonder if this is against a policy?

If by "against policy" you mean "not possible from a technical standpoint", then yes, it is against policy. You cannot embed the UI from another process in yours, by and large. This is not unique to the dialer, or to your app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM