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
1
Question by Lexustio · Jul 30, 2013 at 09:34 AM · windows phonewindows 8touch screen

Touch screen keyboard and Windows Store Apps

I'm most likely just missing something very obvious but I'm gonna ask this anyway. What am I supposed to do to get the built-in touch touch screen keyboard to work with the newly released Windows Store Apps. I wasn't in the beta (tried joining a few weeks back but the beta ended) so I don't have any idea about what was discussed in the beta forums.

I want the keyboard to pop up when I tap (focus) on a text field. I tried this with the built in GUI.TextField/TextArea and the NGUI text inputs. Both of those work when I build for Windows Phone, but not with Windows Store apps. The architecture I'm using is x86 and not ARM (RT).

Comment
Add comment · Show 1
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 MicahLC · Sep 13, 2013 at 11:56 PM 0
Share

I'm looking for an answer to this, as well, and it makes me very sad that this has gone unanswered for over a month.

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Lexustio · Jun 02, 2014 at 06:03 AM

Support added as of Unity 4.5. Release notes:

"Support for programmatically opening touch screen keyboard."

Comment
Add comment · Show 2 · 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 _methotec_ · Jun 02, 2014 at 01:41 PM 0
Share

I've read that, too. But it doesn't seem to work - TouchScreen$$anonymous$$eyboard.Open still isn't working. Did anyone figure out what type off support the release notes are referring to?

avatar image CanisLupus · Jun 20, 2014 at 08:44 AM 0
Share

On Windows $$anonymous$$etro you have to do keyboard.active = true; after opening the keyboard. This doesn't seem to be required on other platforms. Furthermore, keyboard.text is useless in $$anonymous$$etro. You must rely on Input.inputString to get every character written this frame.

I've written a question & answer regarding the use of the touch keyboard in Windows Store Apps, for anyone else looking for this.

avatar image
1

Answer by Ben-Stoneman · Sep 30, 2013 at 05:46 PM

When the user selects the text field, the keyboard will automatically be presented. If you wish to call the keyboard manually you can use the following code reference:

http://docs.unity3d.com/Documentation/ScriptReference/TouchScreenKeyboard.html

I used the following code within a OnMouseDown Function:

 TouchScreenKeyboard.Open("Key");
Comment
Add comment · Show 7 · 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 Ejlersen · Oct 16, 2013 at 09:33 AM 0
Share

This is not available on Windows Store and will therefore not work.

avatar image roberto_sc · Nov 19, 2013 at 03:14 AM 0
Share

It is available, it's just the documentation that is old.

avatar image StupidCodeGenerator · Nov 29, 2013 at 03:14 AM 0
Share

If it's avaliable, can you give me a sample?

avatar image baptisteLar · Dec 18, 2013 at 04:23 PM 0
Share

It's not available, microsoft did not expose any function to pop the keyboard, the only way to pop the keyboard is to draw invisible input text over your textfield using xaml

avatar image Kiloblargh · Jan 05, 2014 at 06:05 PM 0
Share

draw invisible input text over your textfield using xaml

Have you got a link that explains ( to someone who has never heard of xaml ) exactly how to do that?

I am using an offscreen GUI textfield whose content is mirrored to an onscreen Text$$anonymous$$esh one; and it doesn't automatically pop up the keyboard when the textfield is focused.

Show more comments

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

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Windows Phone 8 Build 3 Answers

Virtual keyboard in Windows Store Apps (Metro) via the TouchScreenKeyboard class 0 Answers

System.Collections.Specialized.OrderedDictionary doesn't exist in target framework while building for windows 8. 2 Answers

is iTween compatible with Windows8 and WindowsPhone? 1 Answer

Cannot bind to the target method 0 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