Posts

Showing posts from September, 2017

How to create a dictionary app in Sketchware?

Image
An android app for a dictionary can be created in sketchware using File:shared preferences component. Follow the steps below to create a dictionary app.

1. Start a new project in Sketchware.

2. In VIEW area of project, insert a Linear (H) with Edittext, and a Linear (V) with a ListView and two Textviews.


3. In LOGIC area add a new File (shared preference) component.

4. Go to onCreate event and more blocks named Awords, Bwords, Cwords, etc.


5. Also add a string list and a number variable.



6. In Awords, sequentially add words starting with letter A to file with an integer as key; then add meaning of each word to file with the word itself as key. Similarly add words and meanings to file for defining Bwords, Cwords, etc.


7. In onCreate event, add all words to file by using more blocks. Also add all words to the list and ListView. Use blocks as shown in the image below.


Important update: It is recommended not to use the if...else.. block for adding Awords, Bwords, etc. as shown in the vide…

How to integrate Admob interstitial ads using​ AIDE?

Image
AIDE can be used to integrate Admob Ads to a Sketchware project. Follow the steps below to integrate Admob interstitial ads to a sketchware project using AIDE.

Prerequisites
An Android project (Sketchware project)AIDE with pro account key purchasedAccount in Google developer consoleAccount in Admob Before placing admob ads in an app, the app needs to be uploaded to google play store, however test ads can be tried in any app.
Always place the test ad ID before placing your ad unit ID. App ID and ad unit ID can be obtained by registering the app on Admob. But for using test ads no registration is required.
Do not click on your own Ads.
Export the Sketchware project
In Sketchware, under MY PROJECTS, go to project settings of the app to be exported, and click on Export to PC (Android Studio).
The exported file is a zip file. Create a new folder and decompress the contents of the zip file in it.

Check whether the res folder at location app/src/main/res contains only layout folder with all xm…

How to integrate Admob Ads in Sketchware project using AIDE?

Image
AIDE can be used to integrate Admob Ads to a Sketchware project. First export the source code of your sketchware android project and then  follow the steps below to learn how to integrate Admob banner ads in AIDE.

Prerequisites
A Sketchware projectAIDE with pro account key purchasedAccount in Google developer consoleAccount in Admob Before placing admob ads in an app, the app needs to be uploaded to google play store, however test ads can be tried in any app.
Always place the test ad ID before placing your ad unit ID. App ID and ad unit ID can be obtained by registering the app on Admob. But for using test ads no registration is required.
Do not click on your own Ads.
Export the Sketchware project
In Sketchware, under MY PROJECTS, go to project settings of the app to be exported, and click on Export to PC (Android Studio).
The exported file is a zip file. Create a new folder and decompress the contents of the zip file in it.

Changes to build.gradle file

Navigate to app level build.gradle…