User Tag List

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

Thread: Using Back button in Android Object

  1. #1
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,058
    Mentioned
    39 Post(s)
    Tagged
    3 Thread(s)

    Using Back button in Android Object

    Is there a property I need to check to get the Back button functionality in the Android object to work?

  2. #2
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,058
    Mentioned
    39 Post(s)
    Tagged
    3 Thread(s)
    Backbutton.zip

    Here is a example MFA of the problem, When I remove the final line, the frame will work. I can't provide any testing reports as I can not yet install and run from MMF2 and have to transfer manually and install on device.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Here is a log from his crash.
    Attached files Attached files
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clickteam Clickteam
    Kisguri's Avatar
    Join Date
    Jun 2006
    Location
    Bakersfield, CA
    Posts
    3,058
    Mentioned
    39 Post(s)
    Tagged
    3 Thread(s)
    Jamie the fix you sent works, thanks!

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    For everyone else:

    There's a crash when using Android object conditions in Beta 8. You can fix it by putting this file in Data/Runtime/Android:

    http://dl.dropbox.com/u/48123578/RuntimeAndroid.dat

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Cool! I got this crash yesterday, and was going to report it once I figured out what caused it. I am glad you allready figured it out. I will test it when I come home

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "On back button pressed" does not register for me, as whenever I press the back button, it just exits the app (not a force close, just exit).

    Also, Sleep Prevention still not working :/

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can disable the default behaviour (exiting the app) in the application properties. You need to enable the relevant permission for sleep prevention (WAKE_LOCK I think).

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    Lacey, WA
    Posts
    756
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, didn't know that property existed (back button default behavior)!

    And yup, I enabled WAKE_LOCK and it still doesn't work.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Just tested sleep prevention and it seems to work fine for me.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Back button?
    By Outcast in forum Android Export Module Version 2.0
    Replies: 11
    Last Post: 13th November 2013, 10:09 PM
  2. Back Button Behavior
    By macca02 in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 3rd November 2013, 02:29 AM
  3. So Back Button - what's going on?
    By Cyberbeard in forum XNA Export Module Version 2.0
    Replies: 9
    Last Post: 24th February 2013, 09:31 AM
  4. [BUG RC1] Back Button triggers through frames
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 10th October 2012, 01:23 AM
  5. WP7 back button & score
    By Droggelbecher in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 14th June 2012, 08:36 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
  •