I’m working on an app that creates a simple html file for users to view in a webview.
I’m trying to cater for all users including those with API 30 devices.
My html file is stored in the DirInternal folder which I thought was available to all users regardless of their Android version.
When I set the TargetSdkversion to 29 there is no problem and the web page displays correctly. However, setting the TargetSdkversion to 30 causes a problem.
I’m using a very simple html file named hello.html for a simple demonstration app.
No errors shown in the log but the message on the device is-
Web Page Not available
The web page at file:///data/data/b4aexample/files/hello.html could not be loaded because:
Net:ERR_ACCESS_DENIED
I’ve tried everything I can think of without success.
If anyone could tell me where I’m going wrong, I’d be very grateful.
I’m trying to cater for all users including those with API 30 devices.
My html file is stored in the DirInternal folder which I thought was available to all users regardless of their Android version.
When I set the TargetSdkversion to 29 there is no problem and the web page displays correctly. However, setting the TargetSdkversion to 30 causes a problem.
I’m using a very simple html file named hello.html for a simple demonstration app.
No errors shown in the log but the message on the device is-
Web Page Not available
The web page at file:///data/data/b4aexample/files/hello.html could not be loaded because:
Net:ERR_ACCESS_DENIED
I’ve tried everything I can think of without success.
If anyone could tell me where I’m going wrong, I’d be very grateful.