Easy Code Share > Articles by: Editorial Staff

JavaScript Text to Speech Using Synthesis API

JavaScript Text to Speech Using Synthesis API

Friendly human interfaces sometimes require machine-generated voices. And Text-to-Speech technology in JavaScript can implement the requirement very well. When web pages read texts aloud like robots, people are just listening machine’s reporting without looking at screen monitors or mobile devices. The speech synthesis API provides the simplest way to create browser-based web pages capable of … Read more

Easy Code Share > Articles by: Editorial Staff

JavaScript Speech Recognition for Beginners

JavaScript Speech Recognition for Beginners

Sometimes, people require Speech-to-Text (STT) technique to make machines recognize oral commands. Now, we are introducing the simplest way to speech recognition in JavaScript. This tutorial is for beginners. It helps you create web pages recognizing what people talk by using Web Speech API services. All codes here are not complicated, so you can easily … Read more

Easy Code Share > Articles by: Editorial Staff

Cordova APP Calculate Geo Map Distance on Walking

Cordova APP Calculate Geo Map Distance on Walking

Using Cordova Plugins, you can calculate Geo map distance of the route you have walked. The Plugin used to get latitude and longitude for map distance is Cordova Geolocation, which read GPS chip to report coordinates. In addition, markers for distance tracking points on Google Maps provide visual impression of how far you have walked. … Read more

Easy Code Share > Articles by: Editorial Staff

JavaScript Redirect POST Request Without Data Limit

JavaScript Redirect POST Request Without Data Limit

Rather than AJAX staying in the same HTML, sometimes, developers have to redirect to different URL using POST requests. We provide tricky JavaScript codes to redirect a POST request with no parameters limit. Comparison with GET request method are given in the example, too. All codes here are not complicated, so you can easily understand … Read more

Easy Code Share > Articles by: Editorial Staff

How to Detect Cordova Wifi Connection

How to Detect Corodva Wifi Connection

You can detect Cordova Wifi and Cellular network connections in two ways: repeating checks and event notification. However, for more efficient result, we introduce a Plugin based on Network Information API to monitor network connection by event notification. At end of the post, we will build a Cordova APP by using Cordova CLI commands. All … Read more

Easy Code Share > Articles by: Editorial Staff

jQuery Roulette Wheel Game in Cordova APP

jQuery Roulette Wheel Game in Cordova APP

We are presenting a mobile game by rotating a roulette wheel using jQuery. The core library is jQueryRotate.js used to create an example for demonstration. Apart from core library, topics about building an Cordova APP will be discussed here. All codes here are not complicated, so you can easily understand even though you are still … Read more

Easy Code Share > Articles by: Editorial Staff

PHP RSA Encrypt and Generate Keys in Server Site

PHP RSA Encrypt and Generate Keys in Server Site

PHP RSA library in server sites can generate key pairs and perform public key cryptography. Server sites expose generated public key to all clients, so asymmetric encrypt scheme protect data by using private and public keys. If prefering to generate keys on browser clients, you can read the post Javascript RSA Generate Keys from Browser … Read more

Easy Code Share > Articles by: Editorial Staff

Javascript RSA Generate Keys from Browser Client

Javascript RSA Generate Keys from Browser Client

We introduce a JavaScript RSA library that can be used with HTML browser, rather than with Node.js. Browser clients can generate keys with specified key size. The server sites receive public keys from clients for encrypting data in the future. If prefering to generate keys in server sites, you can read the post PHP RSA … Read more

Easy Code Share > Articles by: Editorial Staff

How MQTT Plus Cordova GPS APP Track My Family

How MQTT Plus Cordova GPS APP Track My Family

Cordova APPs using MQTT can share data with each other. Moreover, shared Geo locations and GPS positions can track your family and friends. This example use Google Maps to mark where your family and friends are. More topics about Cordova Plugin Geolocation getting latitude and longitude, objected programming upon WebSQL async API, and MQTT javaScript … Read more

Easy Code Share > Articles by: Editorial Staff

MQTT Python Client Example to a Free MQTT Server

MQTT Python Client Example to a Free MQTT Server

We provide a MQTT client example using Python, and furthermore, reveal for you extra information about a free MQTT broker server. You don’t have to build a MQTT broker for testing programs, the free broker can help your study. All codes here are not complicated, so you can easily understand even though you are still … Read more