User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 37

Thread: Can't hide navigation bar on cell phone

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    451
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)

    Can't hide navigation bar on cell phone

    With build 292.10 I can no longer hide the navigation bar correctly on my Huawei cell phone.

    It does not hide the top navigation bar - only the one on the side - and the minute I tap anything the one on the side reappears. This is basically the issue I have with tablets I test on and why I always have to display the navigation bar with tablets. On 292.8 I couldn't hide the navigation bar on a tablet - now I can do that again - but now the problem has appeared on a cell phone.

    Attached:

    Screenshot ....095742 shows that the top navigation bar is still showing
    Screenshot ....095753 shows what happens when I tap the screen
    .mfa used to create the app
    .apk link here
    Images attachées Images attachées
    Attached files Attached files

  2. #2
    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
    648
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    You should share the MFA so we can see the settings of your app.

    Check in the app settings that in "window" tab, the "heading" is unchecked.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    451
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    The .mfa is also attached - it's right below the screenshots.

    Heading is not ticked.

  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
    648
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Ah yes sorry.

    You've checked "display status bar" in the Android properties. Unckeck it and it should fix your issue i guess.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    451
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    No, that's not the problem.

    I am using the Android and Android + objects to allow the user to switch between full screen and window mode i.e. hide the navigation bar or not. In 291.6 this works 100%

    Some tablets don't allow you to hide the navigation bar - they will keep on trying to display it. The settings, therefore to show the navigation bar is correct, and the code segment to hide the navigation bar on a cellphone no longer works in 292.10 - it worked prior to this version.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    451
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    I tried the settings the other way round -

    If it don't tick display status bar then my cell phone will open correctly in full screen mode but I'm unable to switch to window mode - the most I could do was get the navigation bar to show - but it wouldn't show the title/action bar (I did include that in the code.)

    On the tablet it will open full screen and completely ignore the command: if this is a table show the navigation bar -with the result that the moment you tap the screen the navigation bar pops up over the game. However, if I put in an object the user can tap - then it shows only the navigation bar. Here I also had no way of showing the action / title bar.

    Either way, this needs to be fixed.

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,080
    Mentioned
    138 Post(s)
    Tagged
    3 Thread(s)
    in your case I made a small change to

    * Start of Frame
    + NOT AndroidPlus: Is Device a tablet?
    Android object : Dim Navigation bar (I normally add this)
    Android object : Show Navigation bar


    * Start of Frame
    + AndroidPlus: Is Device a tablet?
    Android object : Dim Navigation bar
    (I normally add this)
    Android object : Hide Navigation bar


    OR


    * Start of Frame
    + NOT AndroidPlus: Is Device a tablet?
    Android object : Show Navigation bar

    * Start of Frame
    + AndroidPlus: Is Device a tablet?
    Android object : Hide Navigation bar



    NOTE: the verification "is device a tablet" or phones was inverted, since tablets are the one with navigation bar and just few phones have navigation bar, so i did the change here to test and seems to be working.

    Remember this will only be valid until user press, touch, tap the screen




    https://developer.android.com/training/system-ui/navigation



    small video

    https://drive.google.com/file/d/1zUEiJzoQpbPtMFSkMOT03q7o8yHS0Ugc/view?usp=sharing
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    451
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    Inverting this creates chaos my cell phone - I can't then ever get it to full screen and it keeps hiding / displaying the navigation bar every time I tap something. I can't use the code the way you've given it.

    All my Android games have this code exactly as I gave it - and up to 291.6 and I think even up to 292.6 it worked on every device I had tested it on. 292.8 was broken on my tablet but worked correctly on my phone. Now 292.10 works correctly on my tablet but is broken on my phone. I don't think that has anything to do with the way I'm writing the events.

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,080
    Mentioned
    138 Post(s)
    Tagged
    3 Thread(s)
    sorry I think is something in your code and the action code as you used it, if it worked in the past by was an omission of the android rules, but the action work as expected where the navigation bar it is show, also if you are hiding you must know that the bar will come when you get the focus as you may read in teh android page.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    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)
    alperoz49's Avatar
    Join Date
    Feb 2014
    Location
    Turkey
    Posts
    51
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    what version you are using right now? Same started happening after 292.10

    Also Admob is not functioning properly but my main problem is like yours, suddenly navigation bar and title bar cannot be hide.

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Replies: 7
    Last Post: 24th January 2017, 01:38 AM
  2. Search for Text within a Cell
    By Soilydude in forum Fusion 2.5
    Replies: 5
    Last Post: 3rd April 2016, 04:55 PM
  3. Hide navigation bar on pure Android devices
    By paobrasil in forum Android Export Module 2.5
    Replies: 4
    Last Post: 6th January 2015, 02:08 PM
  4. cell phone user
    By jaaj302005 in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 17th October 2011, 03:56 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
  •