You are here
Home > Java (Page 2)

File Uploading in Android using Web Service in PHP

Hello Friends, Today I will tell you file uploading in android using web service in PHP. Basically we will call web service developed in PHP using AsyncTask in android to upload file and we will get file name and file type in response. PHP Code for Web Service config.php [crayon-5c98b2569d3de693385294/] user.php [crayon-5c98b2569d3e9488883794/] Android Code AndroidManifest.xml [crayon-5c98b2569d3ed154925081/] activity_main.xml [crayon-5c98b2569d3f0190377880/] (getting selected

Android Camera 2 Api Example With & Without Preview

Hi, Friends today I am going to share code by which you can use android camera 2 api to click picture. I'd created two classes named as CameraControllerV2WithPreview for taking picture with preview and another one is CameraControllerV2WithoutPreview for taking picture without preview. Camera 2 Api is latest Api introduced

Creating Calculator in JavaFX

Creating Calculator in JavaFX

Hello Friends Today I am going to share, how to create Calculator using JavaFX. This is a simple calculator with simple UI where you can Add, Substract, Mutiply, Divide, and calculate Percentage. So here is the code CalculatorUI.fxml [crayon-5c98b2569ef97581216711/] [crayon-5c98b2569ef9f916626840/] [crayon-5c98b2569efa2228792072/] Output/Screen Shot Download NetBeans Project Thank you Please share

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-5c98b2569f619061517069/] [crayon-5c98b2569f621400264070/] 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