User Tag List

Results 1 to 4 of 4

Thread: Android Object - On Hidden keyboard crash

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    630
    Mentioned
    24 Post(s)
    Tagged
    0 Thread(s)

    Android Object - On Hidden keyboard crash

    If i use the action "On Hidden keyboard" and test my app on my Android device, if i open and close the keyboard two times, the app will crash.

    Replacing it by "(NOT)Is keyboard visible?" & "Only one action When event loops" makes it to work fine.

    This is how i use it:
    Sans titre.png

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,028
    Mentioned
    128 Post(s)
    Tagged
    3 Thread(s)
    please collect a log from your device, to see if is osmething internally or from code
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2017
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    App crash because On hidden keybord event fire multiple times each second
    On this event You fire an loop
    Before the loop end, On hidden keybor fire the event again
    And 2nd loop starts before previous end.
    if You add "Only one action When event loops", You prevent gainst this situation and everything works fine
    Why You dont like "Only one action When event loops" ?

    Generally You should be carrefoul with all events like always, it makes horrible mess in log and slow down your app

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    630
    Mentioned
    24 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shaku88 View Post
    App crash because On hidden keybord event fire multiple times each second
    On this event You fire an loop
    Before the loop end, On hidden keybor fire the event again
    And 2nd loop starts before previous end.
    if You add "Only one action When event loops", You prevent gainst this situation and everything works fine
    Why You dont like "Only one action When event loops" ?

    Generally You should be carrefoul with all events like always, it makes horrible mess in log and slow down your app
    "On hidden keyboard" isn't triggered only one time like "start of frame" ? Normally it should, it's Why it appears in green no?

Similar Threads

  1. Get the height of the android keyboard
    By DavidT in forum Android Export Module 2.5
    Replies: 2
    Last Post: 8th January 2015, 04:59 PM
  2. Bugs: hidden text and layers not displaying + crash on return to home screen
    By assentec in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 31st October 2013, 12:03 PM
  3. Neon Hidden (android version)
    By Joseclick2011 in forum Android Released Games & Apps
    Replies: 3
    Last Post: 26th April 2013, 01:22 AM
  4. Close the keyboard android
    By Sevennemesis in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 14th May 2012, 01:28 PM
  5. [Bug/Crash] Using Android Object In Even Viewer
    By Rachel in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 6th August 2011, 10:29 AM

Posting Permissions

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