Posts

Showing posts from April, 2017

Java code for opening the default email application

import java.awt.*; import java.io.IOException; import java.net.URI; public class sendmail {     public static void main(String[] args)      {         Desktop d;         try         {         if (Desktop.isDesktopSupported() && (d = Desktop.getDesktop()).isSupported(Desktop.Action.MAIL))          {             URI msg = new URI("mailto:user@anything.com?subject=sending%20email");             d.mail(msg);          }             else             {                     throw new RuntimeException("doesn't support this");              }         }         catch(Exception e)         {                      }     }     }

Four best Whatsapp alternatives

Image
Instant messaging apps are trending since last few years. Out of these messengers Whatsapp dominates more. Even though there are many messengers better than Whatsapp in terms of features and security, people prefer to use Whatsapp. Now let us compare some IMs and find the best alternatives for Whatsapp. 1)Whatsapp     Whatsapp is the leading leading instant messaging app with 1 billion active users in over 180 countries. Whatsapp was first released in January 2009. All messages sent are end-to-end encrypted. Users can send text, images, documents, videos and GIF s using their internet connection. Whatsapp provides voice and video calling facility. In February 2014, Facebook acquired Whatsapp for about US$ 19 billion. Whats is now available on all major platforms. Desktop app of Whatsapp requires your phone to be connected to internet. Android users can backup their chat history to Google drive and Windows phone users can backup their chat history to Onedrive. Whatsapp chat may not be e

Difference between Windows and Linux

Both Windows and Linux are Operating systems with their own advantages and disadvantages. Listed below is a chart which can help you to identify the basic difference between Windows and Linux. WINDOWS LINUX Linux is an open source operating system. Windows is a personal computer GUI operating system from Microsoft. Can be freely distributed You must purchase Windows. Supported file system: Ext2, Ext3, Ext4, Jfs, FAT, FAT 32. Supported file system: FAT, FAT 32, NTFS. Linux is a kernel Windows is an OS. Programmed in C. Programmed in C and C++. With a GPL license you can freely distribute or modify. With Windows license you cannot modify or distribute Windows. Linux is considered as more reliable than Windows. Considered less stable than Windows. Linux is highly secure OS. This does not mean that Linux is not vulnerable to attacks. Primary target of viruses and malware. Not easy to use as Windows. Considered as the mos