Skip to content

Shubham-tiwari123/CropAndSave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crop&Save

This is a simple Android Application which provides functions like image crop and save in gallery or on server .

Tech Stack

Run project

  • Pull the repository from Github
  • Use main branch for android and server branch for running server
  • Setup tomcat for server
  • Create a folder to store image in server
  • Start the tomcat server
  • Run the android on emulator or on physical device
  • Keep the laptop and andoid phone connected to save internet connection
  • Change the BASE_URL in RetrofitClient according to your ip-address of the server

Libraries used

  • Crop Image Library:

      'com.theartofdev.edmodo:android-image-cropper:2.8.+'
    
  • Send Image to server: Retrofit

      'com.squareup.retrofit2:retrofit:2.5.0'
      'com.squareup.retrofit2:converter-gson:2.1.0'
    

Implemented Functions

1. captureImageCamera: This function capture the image from camera and display it in ImageView

2. captureImageGallery: This function pick image from the gallery and display it in ImageView

3. cropImage: This function crops the image taken from camera or from gallery

4. saveImageGallery: This function store the image into the phone gallery

5. saveImageServer: This function store the image on the server

About

An android application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages