Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by KnightRiderGuy · Nov 28, 2014 at 10:47 AM · applicationphonedial

Can A Simple Phone Number Dialler Be Made In Unity

Just wondering if it's possible to make a simple interactive screen that can actually dial a phone number and then be able to answer a phone.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Nov 28, 2014 at 10:47 AM

Unity cannot do this, but you can write an app for the mobile in Unity which uses native mobile API calls.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image KnightRiderGuy · Nov 28, 2014 at 01:06 PM 0
Share

Well I'm using my unity to make my application for a stand alone player on $$anonymous$$ac but in the end it will be used on a LCD touch screen for a car monitor, So I was wondering if maybe a simple screen could be made with a phone buttons made as GUI texture buttons that could be made to dial a number to an outside device like a car phone.

$$anonymous$$aybe even through a USB controlled Relay series could be made to work even?

I'm not sure though, I'm not super great with Unity but I have seen it do some REALLY amazing things that it was never really designed for so I would not be surprised if it could somehow be done, maybe even using Internet phone or something??

avatar image
0

Answer by multimediamarkers · Jul 01, 2019 at 11:37 AM

You could use this code to set up a call from a mobile phone:

     /// <summary>
     /// Executes the button action call phone number
     /// </summary>
     private void ExecuteButtonAction_CallPhoneNumber()
     {
         Application.OpenURL("tel://" + phoneNumber);
         if (DebugManager.instance.isDebugAll && DebugLogging) { Debug.Log("[ButtonAR] Phone number " + phoneNumber + " is being called."); }
     }
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Optrix · Jul 01, 2019 at 11:39 AM

The question is more along the lines of "Can I do this in C#" rather than "Can I do this in Unity?" - take a look around at some other websites to see if you can use the Telephony API or SAPI from C# and you might find some techniques that work.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I set my android app to landscape mode entirely? 1 Answer

Use phone as a light gun? 0 Answers

How do I get started with Phone VR in 2021? 1 Answer

How do I get the Application Path? 8 Answers

onExit, onQuit, or anything like that? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges