Sketchware Webview Tutorial 2: Download

Step 1:
Create an app project

Step 2:
Create widget webview in tab view

Step 3:
Create more block and name as "download_path" and string as: "file_path"

Step 4:
1. Go to activity, select on activity create and get download_path in more block and get location download path folder as:
"/Webview/Download/" 

2. Go to activity, select on activity create and get add source directly and enter the code in 3 file:

3. And add webview block in on activity create

Step 5: Define more block download_path and
get if.....then else and get is exist file path and place the in the middle of if and then and place the file_path in box then get make directory path and place the in under else and place the file_path in box

Step 6:
Done, Save This Project and Run and install

Komentar

Postingan populer dari blog ini

Sketchware Webview Tutorial 1: Fullscreen