Category Archives: Java

How to send email in android programmatically using java

By | December 3, 2018

We can use JavaMail API to send email  in android programmatically. However, its also possible to send the user to installed Email app. Sending an intent to that Email app, will be enough for this. In this intent we can attach all the information that might require for an email. Including, attachments, custom Html etc.… Read More »

How to encrypt and decrypt text with passphrase in Java

By | November 30, 2018

In this quick snippet we are going to explain how to encrypt and decrypt text with passphrase in java. How to encrypt and decrypt String with my passphrase in Java (Pc not mobile platform)? This is just a snippet. It explains how encryption and decryption works with java. Normally, in production, we create custom classes.… Read More »

Java HTML parsers – top lists | Jsoup, HtmlUnit, TagSoup, JTidy

By | September 21, 2018

Parsing HTML java is easy today. There’s enough libraries out there today. Jsoup stands in the top in this list of java HTML parsers. Other memebers are Jsoup, HtmlUnit, TagSoup, JTidy Java is the world’s mostly used language. This language powers up billions of devices. From the very beginning it started like a beast, and… Read More »