Add Twilio Programmable Chat to a Java Struts 2 Web App

Bridge crossmembers/struts

The need for real-time chat can’t be overemphasized. Real-time communication with your users increases customer satisfaction, and as a result, makes your business more credible. In this article, I’ll walk you through setting up a Java Struts 2 application. Then we’ll add real-time chat to the application by leveraging Twilio Programmable Chat. By the end of this tutorial, you’ll have built an application similar to this:… Read More

SOLID Principles in Action: From Slack to Twilio

Magic the Gathering SOLID principles in action

It seems like there’s a RESTful API for everything these days. From payments to booking tables, from notifications to spinning up virtual machines, you can do almost anything with a simple HTTP interaction. If you’re building a service of your own, you’ll often want to be able to use it on multiple platforms at once. Following time-tested OOD (object oriented design) principles makes your code more… Read More

Verify Phone Numbers with Java and the Twilio Lookup API

X3dtr5jROhLHbA4-8RkYT_Va8KTkxaxf8UJNV9yIYFUQHouQxUgAIVJ7ekrdO7g2FEOfQ4cndUwstaMQJnrUqYRkTlZp-aoKqBNCp-ln9DenF228N_K6h54ogCq6cKWb99r8FmvZ

Twilio Lookup is a simple REST API  for obtaining information about a phone number. Lookup can determine if a number exists, its type (landline, mobile, VoIP), and its carrier (Verizon, Sprint, etc) association. Lookup can also check if a number is able to receive text messages as well as format numbers into a standard format. Let’s validate phone numbers using the Twilio Java library and the Lookup API and make the code easy to port… Read More

How to Dial and Answer Phone Calls with Spark and Java 8 in IntelliJ

Spark, IntelliJ, Java and Twilio Voice logos

Java web applications can easily dial and receive phone calls by combining the Spark web framework with the Twilio Voice API. Our example phone calls will say a snippet of text then play an MP3 file, but they can easily be modified to provide other useful actions like gathering user input from the number pad or creating conference calls. Our Project Tools Our Spark web app will use the Java… Read More

How to Install Java 8, Apache Maven and Google Web Toolkit on Windows 10

Java, Windows 10, GWT and Apache Maven

Do you want to get started developing Java web applications that use Google Web Toolkit (GWT)? This guide walks through how to install a Windows 10 development environment so you can start building your projects. Tools We’ll Need We’ll need to install and configure several tools for our development environment: Java 8 Java Development Kit (JDK) Apache Maven build and configuration tool Google Web Toolkit (GWT) web framework… Read More

Next Generation Java Helper Library Release

Java Helper Library

Today, we are excited to announce the general availability of our next generation Java helper library.  Get ready to enjoy a whole new level of productivity. The approach Java is the second next generation helper library that we are releasing, after announcing the new PHP library last month. We’ve rebuilt it from the ground up based on your and your fellow Java developers’ feedback. To learn… Read More

Exploring the vastness of the Realm, a cross-platform mobile database

H_dJY48ao0Rdvt9WElZz9ej36jhUWnnkHzr51pdiDe_c-a-Htrr4ov5QgQ72KLTuhy01F92BME1BBx2Wa59MlXg0u7ty6_FSlPzVSRPLOHy82LENnkc00t4uCXTb7WUqXmJmBzt4

If you’re an Android developer chances are you’ve used SQLite for internal storage in your mobile apps and know how painful it is to set it up. Realm is a cross-platform mobile database engine that aims to provide developers with a mobile-first engine, super powered with fluent interfaces and field annotations. Here’s an example of how easy it is to use:

Let’s look at how to build an… Read More

Introducing End-to-end Encryption for Twilio IP Messaging with Virgil Security℠

image01

Software developers have a love-hate relationship with security, especially when shipping their product is concerned. All too often security is bolted on at the last minute or not at all. End-to-end encryption is particularly difficult to properly build and integrate into an application. Twilio is partnering with Virgil Security to make building end-to-end encrypted applications a breeze with Twilio IP Messaging and Virgil Crypto SDK and… Read More

Building Native Android Libraries with the Latest Experimental Android Plugin

GradleAndroidStudio

A major challenge we have faced with NDK development on our Android Video SDK is integrating with the prescribed Android Studio Gradle-based workflow. Our primary issue is debugging native components inside of an Android library. The latest updates to Android Studio and the Android Gradle Plugin indicate that Google is investing in improving the developer experience for native development on Android and ensuring that it has… Read More