You are here
Home > Java (Page 2)

Creating Audio Recorder in Android

Hello Friends, Today I am going to share audio recording code in android. This code will work on latest version of android (Marshmallow) also. In this code we are going to use MediaRecorder class to record audio and MediaPlayer class to play recorded audio. activity_main.xml [crayon-5ada9ec42abd1442589272/] [crayon-5ada9ec42abdf257928009/] Screen Shot Download Android Studio Project

Creating Sketch Pad in Java

Hello Friends Today I am going to show you how to create simple Sketch Pad in Java. This is not an advance tool or application but a simple tool, you can take idea from it and you can develop your own sketching tool in Java. Here is the code to

Hyperlink Button in HtmlEditor

Hello Friends, In this post I am gonna show you how to add hyperlink button in JavaFX HtmlEditor and make it work to insert hyperlink in HtmlEditor. Here I am not gonna create complete application instead I am giving you specific code which would add hyperlink button to HtmlEditor and

Java String Class Useful Methods

Today I am gonna explain some useful methods of String class in Java. String class is very powerful class in java which provides many useful methods to manipulate string. Strings are object in java and it is not primitive datatype. [crayon-5ada9ec42d73d828637407/]  Output Length of str is 0 Length of str2 is 4 Length of str3