Create a Sketchware app which links to a website and exits on its own

How to create in Sketchware an app which links to a website on clicking it's icon but the App doesn't open itself.



1. Download Sketchware, Open Sketchware App, go to my projects and start a new project.

2. Fill the App settings: package name, project name, App name, version, app icon.

3. Leave View area (main.xml) empty.

4. Go to Logic. Add a new intent component and name it 'web' (or anything else you want).

5. Now click on onCreate event. On activity onCreate add:
Intent web setAction ACTION_VIEW
Intent web setData http://yourweb.com (URL of website to be opened)
StartActivity web
Finish Activity 



6. Save and Run the App.

7. Your app will exit itself and open http://yourweb.com in default browser on your device.

8. End of tutorial.

Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

How to enable download in webview in Sketchware apps?

TextInputLayout in Sketchware

Create Stopwatch App in Android using Sketchware

How to integrate Admob Ads in Sketchware project using AIDE?

How to find and​ highlight a word in a text field in Sketchware?

Code for implementing Notifications in Sketchware

A Flash Light App in Sketchware

Create a Stopwatch App using Chronometer in Sketchware

Create app to save all passwords, protected using voice key