User Tag List

Page 2 of 6 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 58

Thread: WebView Object is here!

  1. #11
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,145
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Please if you can provide me with crash report will be great, also don,t filter for my url let the app detect any click and ooen url with intent

    Glad it help you
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,142
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    WebView Object is here!

    Nice work! Been hoping for this on Android.

  3. #13
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,006
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Fernando, I've found a strange bug.

    If you load URL (the one I load works) then HIDE object it kills the object. Also, if you Load URL (again the one I load works) and place the object in frame, it works, however if you reposition the object out of the frame area it is destroyed...

    Also 'set X position' doesn't work, Y does...

    Edit: Whoops, the first point DOES work however it doesn't work until the HTML5 page is fully rendered. I think this could be OK. However, Set X Position still doesn't work.
    Want to learn Clickteam Fusion 2.5?




  4. #14
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    499
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the crash log about leadbolt html banner integration.

    java.lang.NullPointerException
    at Events.CEventProgram.handle_Event(CEventProgram.ja va:1276)
    at Objects.CExtension.generateEvent(CExtension.java:3 41)
    at Extensions.CRunWebView2$2.onPageFinished(CRunWebVi ew2.java:326)
    at android.webkit.CallbackProxy.handleMessage(Callbac kProxy.java:389)
    at android.os.Handler.dispatchMessage(Handler.java:99 )
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.jav a:4898)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:1006)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:773)
    at dalvik.system.NativeStart.main(Native Method)

  5. #15
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,145
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Danny,

    i will check about this, meanwhile can you run these examples and tell me if they works for you

    WebView Random Size Android

    Controlform WebView Android , first page is LoadURL and the second frame is LoadHTML


    Sloxone,

    Thanks for the crash report i will check and let you know

    PLEASE TELL ME WHICH ANDROID VERSION OCCURRED THE CRASH (2.3?)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #16
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleMac Export Module
    Sloxone's Avatar
    Join Date
    Nov 2011
    Location
    France
    Posts
    499
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Crash log on my S3 Android; 4.1.1

  7. #17
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,145
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    HI,

    i just made some changes in the webview object, please try and let me know.

    download using the previous link.

    Danny,

    SetX is working i cannot reproduce the error, and hide (is not destroying the object here) and show too, but i don┤t know if you move the object so far from the frame that can be destroyed as regular active object.

    Please test again and let me know

    Sloxone,

    I made some changes to avoid any null pointer, but in that particular all object is generated by android, but i check before doing anything just in case.

    concerning admob, is happening that friends that are using the game for example today you go after 48 hours to check if there are some click and nothing appears, so something is strange with the process. LeadBolt is better and works in for iOS, android, playbook, and html5.

    VERY IMPORTANT

    please not do a refresh, ask for height, width, get HTML source before the page is fully loaded.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #18
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,006
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Fernando, I thought that too, so I moved it just -480 (width of frame) so it was just out of frame but it still didn't load, I think HTML5 pages might need to render in full before you put it off the screen, it works like that with Chrome too so may not be a bug, but the X pos wasn't moving at all, Y was.

    I'll give this a new test now dude and report back!
    Want to learn Clickteam Fusion 2.5?




  9. #19
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,006
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Fernando,

    It works like a charm, however there is an issue with HTML5, I don't think you can avoid it. If you load up a html5 page, the component has to be visible to the user, if you 'hide' the object or page before the page is fully rendered it will pause the render until it's in view again. I don't know whether Francois will know more about that or maybe even Jamie with the way HTML5 works.

    Unless you can think of something else?
    Want to learn Clickteam Fusion 2.5?




  10. #20
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,145
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi Danny,

    I can not reproduce what you are saying, using the example web testing html5 android, if you add these events and actiions.

    start loading --------------- hide

    load complete --------------- show


    you will see that when start to load (after you press a test button) it hide the windows until is loaded complete and that moment it will appears, there is nothing in the code that stop the rendering process when the webview is hide, even more the rendering process start in 4 separates thread independent from the object.

    MORE INFORMATION:

    in some device the hardware acceleration should be set to true, in order to work.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 2 of 6 FirstFirst 1 2 3 4 ... LastLast

Similar Threads

  1. WebView and WebX Object Issues
    By Kracker in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd December 2013, 06:21 PM
  2. WebView Object Visualization in Android Different Screen Resolutions
    By BGUSMAOKM in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 30th October 2013, 04:37 PM
  3. Webview
    By kiko in forum iOS Extensions
    Replies: 1
    Last Post: 17th July 2013, 03:16 PM
  4. Request: WebView
    By StingRay in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 19th September 2012, 01:21 PM
  5. Overlay webview?!
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 15th February 2012, 10:40 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
  •