简体   繁体   English

在应用中打开/显示默认拨号程序(实际上是使用拨号程序而不向其传递数据)?

[英]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). 1)用户打开应用程序,他们看到了默认的拨号程序,但标题不同(只是知道他们在我的应用程序内)。 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. 2)如果用户在应用程序外部按下其呼叫按钮,则他们将执行普通拨号程序而不使用我的应用程序。 So the user never uses my app in (2). 因此,用户永远不会在(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. 基本上,您不能将UI嵌入到另一个进程中。 This is not unique to the dialer, or to your app. 这对于拨号程序或您的应用程序不是唯一的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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