Here is a video of how to create an App for your website in Sketchware.
Install Sketchware App in your mobile and start a new project. Write your app name and select an icon for your app.
Now in your project View area drag and drop Scroll(V) and inside that add webview widget. Set width of Scroll(V) to match parent and change padding to 0.
In Logic area of your project, in onCreate event add the WebView loadUrl block and write Url of your site in it.
Now add a new event, namely 'On back button press', in your app Logic area. On in On back button press, use if..else.. block. Add Webview goBack block as shown in image below. It should read, if WebView canGoBack then WebView goBack else Finish Activity.
Install Sketchware App in your mobile and start a new project. Write your app name and select an icon for your app.
Now in your project View area drag and drop Scroll(V) and inside that add webview widget. Set width of Scroll(V) to match parent and change padding to 0.
In Logic area of your project, in onCreate event add the WebView loadUrl block and write Url of your site in it.
Now add a new event, namely 'On back button press', in your app Logic area. On in On back button press, use if..else.. block. Add Webview goBack block as shown in image below. It should read, if WebView canGoBack then WebView goBack else Finish Activity.
Comments
Post a Comment