Skip to content

AleXi-tech/DrawingApp

Repository files navigation

Drawing App

A simple and easy-to-use drawing app for Android that allows users to draw on a canvas with different brush sizes and colors, add background images, and save or share their creations.

Features

  • Draw with different brush sizes and colors
  • Add a background image from the device's gallery
  • Undo the last drawn path
  • Save the final image as a PNG file
  • Share the saved image with other apps

Technologies Used

  • Bitmap and Canvas: The app utilizes the Bitmap and Canvas classes to manipulate images, render the drawn paths on the canvas, and save the final image.
  • Custom Views: The app makes use of custom views to create a flexible and interactive drawing canvas that can handle touch events and render the drawn paths efficiently.
  • ActivityResultContracts: The app uses the ActivityResultContracts API to handle runtime permissions and activity results in a more concise and type-safe manner.
  • AlertDialogs and Dialogs: The app makes use of AlertDialogs and custom Dialogs to provide an interactive user interface for selecting brush sizes, colors, and displaying progress.
  • FileProvider: The app uses FileProvider to securely share the saved image with other apps, while ensuring the app's internal storage remains protected.
  • Scoped Storage: The app follows Android's scoped storage best practices, ensuring that it only requests the necessary storage permissions and accesses files in a privacy-friendly manner.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages