How to upload image to Java server?

In this post, I will be discussing about how to upload an Image present in Gallery App to Java server (For ex: Apache Tomcat).

What is Android Gallery?

Android device has Gallery application installed by default which contains images and videos. It is the place where the images and videos you download from internet or upload from your computer can be viewed.

What are we going to develop?

The application which we are going to develop will allow you to select an Image from Gallery application, display it inside app and upload it to Java server.

This application supports image selection from Gallery application and it may not work as expected if you pick Image from other image applications (like Google Photos application present in higher version of Android). I will write separate post later on how to pick Images from sources other than Gallery app.

Read More

How to upload image to PHP server?

In this post, I will be discussing about how to upload an Image present in Gallery App to PHP server.

What is Android Gallery?

Android device has Gallery application installed by default which contains images and videos. It is the place where the images and videos you download from internet or upload from your computer can be viewed.

What are we going to develop?

The application which we are going to develop will allow you to select an Image from Gallery application, display it inside app and upload it to PHP server.

This application supports image selection from Gallery application and it may not work as expected if you pick Image from other image applications (like Google Photos application present in higher version of Android). I will write separate post later on how to pick Images from sources other than Gallery app.

Read More

How to pick image from gallery?

In this post, I will be discussing about how to open Gallery application, pick an image from it and set it in Imageview.

What is Android Gallery?

Android device has Gallery application installed by default which contains images and videos. It is the place where the images and videos you download from internet or upload from your computer can be viewed.

What are we going to develop?

The application which we are going to develop will allow you to select an Image from Gallery application and display it inside app. This application supports image selection from Gallery application and it may not work as expected if you pick Image from other image applications (like Google Photos application present in higher version of Android). I will write separate post later on how to pick Images from sources other than Gallery app.

Read More

Pin It on Pinterest