Custom Web View Presentation
Step 1: Implement a Receiver Class
Create a class that extends NetmeraWebContentBroadcastReceiver
and override its onShow()
and onClose()
methods. These methods will handle the actions triggered when web content is shown or closed.
Step 2: Add Receiver Class to AndroidManifest.xml
AndroidManifest.xml
In the AndroidManifest.xml
file, register the receiver class and specify the actions com.netmera.web.content.SHOW
and com.netmera.web.content.CLOSE
Step 3: Let Netmera Handle the Received Web Content
Use Netmera.handleWebContent()
to display the content in your custom WebView:
If you want to listen for URL loading actions inside the WebView, use NetmeraWebViewCallback
Last updated
Was this helpful?