User Tag List

Results 1 to 5 of 5

Thread: Android Object - Check for online

  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)

    Android Object - Check for online

    When using the Android Object conditions for checking if online constantly my app crashed, when I added the additional condition on 10th of a second, it worked fine.


    Clickteam on Twitter - Clickteam on Facebook

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Android Object - Check for online

    Did you enable the ACCESS_NETWORK_STATE permission in the application properties?

    PS. In the future, please include a stack trace with crash reports where possible.

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

    Re: Android Object - Check for online

    I can't give a stack trace to you on testing when using the Galaxy Tab 10, as the drivers never worked correctly. I can't even build from MMF to device I have to flash it through by accessing the device in USB mode then install on tablet.

    I will double check to make sure that it works as I can't remember when I checked it.


    Clickteam on Twitter - Clickteam on Facebook

  4. #4
    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)

    Another check if online bug.

    The app crashes when testing if Network is connected, and it is not...
    It works totally fine when the phone is online.

    Code:
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598): FATAL EXCEPTION: GLThread 10
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598): java.lang.NullPointerException
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Extensions.CRunAndroid.condition(CRunAndroid.java:89)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Objects.CExtension.condition(CExtension.java:198)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Conditions.CCndExtension.eva2(CCndExtension.java:51)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Conditions.CCndExtension.eva1(CCndExtension.java:22)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Events.CEventProgram.computeEventList(CEventProgram.java:1446)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at RunLoop.CRun.f_GameLoop(CRun.java:4827)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at RunLoop.CRun.doRunLoop(CRun.java:461)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Application.CRunApp.loopFrame(CRunApp.java:864)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at Application.CRunApp.playApplication(CRunApp.java:654)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at OpenGL.ES1Renderer.onDrawFrame(ES1Renderer.java:283)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
    11-15 17:31:26.535: ERROR/AndroidRuntime(16598):     at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Kisguri -- Does that tablet have a sync mode with the computer?
    If so try turning that on and see if build and run and the debugger tools work.

Similar Threads

  1. Easy online score on android
    By boeikaas in forum Android Export Module Version 2.0
    Replies: 25
    Last Post: 8th March 2014, 09:08 AM
  2. Faster to run always check distance vs always check collision?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 18th September 2013, 08:28 PM
  3. [Bug?] Android Object/Android Menu Combo
    By scottige in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 9th December 2012, 12:16 PM
  4. Android Object - Online detection
    By Kisguri in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 14th December 2011, 08:11 PM
  5. How to check if object is moving?
    By Greg in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 19th April 2007, 06:41 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
  •