Skip to main content

Posts

Showing posts from March, 2018

How To Use Switch In Sketchware

How to make use of switch?
Watch the video tutorial to get to know the use of switch.... Below is a very simple tutorial.



Youtube Url

If you find this tutorial helpful please comment below. 



Enable Downloads In Your Web Browser

Enable Downloads In Your WebBrowser



Latest Tutorial..!

1) Create a new Web Browser  project in Sketchware      Below are some tutorials regarding this topic.      Please watch these tutorials . These tutorials will help you in understanding the topic.
Part 1



Part 2





Part 3









3) Export the project which you have created in Sketchware to AIDE or Android Studio


4) Navigate to AndroidManifest.xml and add the following permission
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />



5) Now Open MainActivity.java or the Java File where you want to add the Download Listener      and add the following code

        webview1.setDownloadListener(new DownloadListener() {       
               @Override                     public void onDownloadStart(String url, String userAgent,                      String contentDisposition, String mimetype,                       long contentLength) {                        DownloadManager.Request request = new DownloadManager.Request(  …

Add Admob Banner ads to your Sketchware Project

Implement banner ads to your app using AIDE :



Video Url : https://youtu.be/mqNVMf7zaYI
1) Open your project in AIDE
.
 Add 'com.google.android.gms:play-services-ads:+' to the app level build.gradle

2)Now navigate to AndroidManifest.xml and open it.

Add the following permissions

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

3)Add meta-data

<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

4)Add the activity

<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />


5)Open main.xml. Add the following code

xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://sc…

Add Calendar View to your AIDE project

Add Calendar View to your app using AIDE

1) Create  a new project in AIDE
2)Place the code given below in main.xml 

<CalendarView android:id="@+id/calendarview1" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="8dp" />
3) Run the app
4)Calendar view will be added to your app

Did you like this tutorial ?