WebOpen OnResult not working on Android

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Ats
Posts: 800
Joined: Fri Sep 28, 2012 10:05 am
Contact:

WebOpen OnResult not working on Android

Post by Ats »

I was trying out my modification of ZPlatform_Android.pas Platform_NetOpen, but I wave no way of telling if it's working, because WebOpen's OnResult doesn't seem to trigger.

I tested YakYak Reader with both CallVoidMethodV and CallVoidMethodA on 32 and 64 bits sytems, but it's not able to retrieve anything in OnResult.

The url open is working fine, though. But without the missing url parameters it wasn't able to retrieve.
The URL opens fine, though, but without the missing URL parameters, it's a wrong topic page.
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: WebOpen OnResult not working on Android

Post by VilleK »

For Android I only implemented the part of WebOpen that simply opens a webpage in a browser. Such if you have a button in your game that says "Visit my homepage" and you click it and it opens the browser.

This is when the "InBrowser" property of the WebOpen component is true.

The more advanced usage that opens and returns the webpage as a result to ZGE is not implemented for Android.
Post Reply