Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Touch screen keyboard input text field

Discussion in 'Windows' started by AvPerov, Sep 24, 2013.

  1. AvPerov

    AvPerov

    Joined:
    Sep 18, 2013
    Posts:
    9
    Hi all

    It looks like the native touch screen keyboard on Windows Phone 8 doesn't have the input text field above it (like on iOS and Android)
    and so does the keyboard invoked by the TouchScreenKeyboard class.

    Is it planning to implement the input field in TouchScreenKeyboard class in some future releases of Unity?
    Or we will need to implement some workarounds for this by ourselves?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,529
    Could you show us any screenshot of that input field on iOS or Android you are talking about? I'm not really sure what you have in mind.
     
  3. AvPerov

    AvPerov

    Joined:
    Sep 18, 2013
    Posts:
    9
    Sure:
    $photo.PNG
    It is the one which visibility is regulated by TouchScreenKeyboard.hideInput field.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,529
    Just as I thought. Unfortunately, that is not Unity feature, it's specific to operating system that Unity is running on. Such functionality is unavailable on Windows Phone. Furthermore, there are no APIs that let you change how keyboard looks like on Windows Phone.
     
  5. AvPerov

    AvPerov

    Joined:
    Sep 18, 2013
    Posts:
    9
    Ok, thanks for the info
     
  6. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    561
    Hi,

    I am surprised to hear it's not a Unity text entry box. I have never seen that type of text display in a non-Unity app.
    Unity on the Droid platform also has a window like that, but where it shows up on screen is somewhat inconsistent.

    I'm having the same issue with Windows Phone right now, where I need to make keyboard entry work. Does keyboard text entry work on Windows Phone?

    -Chilton
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,529
    Text entry should work perfectly fine.
     
  8. adnirjhar

    adnirjhar

    Joined:
    Oct 29, 2013
    Posts:
    3
    Keyboard is not showing up when I am clicking on my GUI.textarea and trying to edit. Any solutions ?
     
  9. allenwp

    allenwp

    Joined:
    Sep 4, 2013
    Posts:
    46
    To anyone searching for answers to unexpected behavior: The WP8 (emulator, at least) starts in an inactive state (active property set to false). I discovered this when using 2D Toolkit, which in my version (2.4.0) immediately tries to hide the keyboard if it starts in an inactive state.