Read Outlook .msg file using JAVA

In this video I have shown how you can read .msg file using java. This example is shown in Eclipse IDE. 1. Project Structure. 2. 3 Jar files are required for this project. These jar files should be added to class path of the project. poi-scratchpad-3.9.jar msgparser-1.1.15.jar poi-3.9.jar 3. Read_MSG.java package com.chillyfacts.com; import java.util.Iterator; import …

Continue reading

Java JSP Javascript – Submit form without reloading page

In this video I have shown how to submit a form from a JSP page without refreshing the page. This is purely on Javascript and will work on any HTML supported platforms like PHP, .Net etc. This project is demonstrated in Eclipse IDE with Tomcat server. 1. Project Structure in Eclipse IDE. 2. index.jsp holds …

Continue reading

Simple java program code to convert Image to Text

You can convert any image file to text by Optical Character Recognition using the below java program. The API we are using here is the Tesseract OCR which is free licensed. Before running the below program you have to download and install Tesseract in your PC. Visit the below link to get the installation file, …

Continue reading

How to add Responsive google Map in Webpage

In the video I have shown how you can integrate a responsive google map in web page. Source code. <style> .google-maps { position: relative; padding-bottom: 75%; // This is the aspect ratio height: 0; overflow: hidden; } .google-maps iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; } </style> <div …

Continue reading

JAVA – Facebook graph API-Get user Posts

In this video, I have shown how you can generate Access token dynamically. And use the dynamic access to get facebook user and facebook user posts using facebook graph API. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. …

Continue reading

JAVA – Integrate Login with Facebook using graph API

In this video I have shown how you can generate Access token dynamically. And use the dynamic access to get facebook user info using facebook graph API. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. 2. Grant permission …

Continue reading

JAVA- Integrate login with Facebook using restfb API

In this video I have shown how you can integrate Login with facebook in web projects using restfb API. All the documentations are available in restfb.com documentation section. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. 2. Grant …

Continue reading

How to generate QR code with Image using JAVA

In this video I have shown how you can create a QR Code with logo in side the QR. We are using 2 jar files which should be added in ClassPath to create the QR file. The jars are, 1 . javase-2.2.jar 2 . zxing-core-2.0.jar QR_Generate.java package com.chillyfacts.com; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import …

Continue reading

Get GEO Location Coordinates of User

In this video I have shown how you can get the GEO Location Coordinates of the user using simple java script code. <!DOCTYPE html> <html> <body onload=”getLocation()”> <p>Your Location Details are Shown Below.</p> <p id=”demo”></p> <script> var x = document.getElementById(“demo”); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else { x.innerHTML = “Geolocation is not …

Continue reading