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

TextInputLayout in Sketchware

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

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation