User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Get the height of the android keyboard

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DavidT's Avatar
    Join Date
    Sep 2011
    Posts
    161
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Get the height of the android keyboard

    Hello, I would like to put something just above the android keyboard when it appears, so I would need to get the keyboard height. Is there a way to get it ?

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,295
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Sorry, Short Answer is No, there is a hacky method but does not works in all devices, that why was not included.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    DavidT's Avatar
    Join Date
    Sep 2011
    Posts
    161
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Do you know how Whatsapp and Viber manage to do it?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    I was just about to make a post about this myself. While the height is not what I am looking for. The X position of the top of the Keyboard would be extremely useful. I'd hate to have to make an entire Keyboard in every app just to get a position from the stock Android Keyboard. Thanks in advance for any suggestions

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,295
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Not sure if I understand but the X should be always 0, you are asking Y?

    ruvhd.png
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Not sure if I understand but the X should be always 0, you are asking Y?

    ruvhd.png
    Yeah, sorry. Y POSITION. How do you get the Y Position.

    Also, could you send me the EDITBOX Update and ANDROID OBJECT (FLASHLIGHT) Update again. I Just installed MMF2.5DEV 293.10, and it is having the same issues as before the files you sent me. Thanks

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,295
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Sorry no possible right now, let me review the flashlight issue with the latest changes and i will send you the file
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Sorry no possible right now, let me review the flashlight issue with the latest changes and i will send you the file
    Okay, Thank you. EDIT BOX too though. Same issues as before with the latest MMF2.5 293.10

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    KCEDIT that is.

    Also, how did you get the " POP DOWN " box to be directly above the keyboard? Thanks

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    VBEinc's Avatar
    Join Date
    Oct 2015
    Posts
    496
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    This is basically what I was trying to do so that regardless where edit boxes where on the screen. When the user selects Input focus on an edit box. The Android Keyboard would come out and the Edit Box plus a active backdrop would dock with the keyboard. Then when the Keyboard is hidden. The Edit Box and Active would dock with the app where the developer wanted it to be displayed.


Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Will a Bluetooth keyboard work with Android?
    By fwtep in forum Android Export Module 2.5
    Replies: 2
    Last Post: 8th December 2014, 12:02 AM
  2. Disable Android built in Keyboard
    By Ped in forum Android Export Module 2.5
    Replies: 5
    Last Post: 23rd October 2014, 11:52 PM
  3. Keyboard problem android exporter
    By Dave78 in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 29th May 2014, 01:25 AM
  4. [BUG RC1] ScreenHeight("Android object") is not actual screen height
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 11th October 2012, 06:56 PM
  5. Close the keyboard android
    By Sevennemesis in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 14th May 2012, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •