Monday, December 27, 2010

Freeware Android Paint with source code...

Here is one of my freeware android apps called AndroidPaint.


Using the Android Paint app, one can draw geometrical shapes and free hand drawing on an Android device. In the future version i will refine the app to give the user more drawing options and more regular shapes to draw.

To start with, one will have to choose from the menu options and then draw.

The screenshot of this application is as follows:


Source Code:
https://gitlab.com/som.mukhopadhyay/AndroidPaint

There are lots of scopes to re-factor this application... for example we can introduce a singleton factory class which will be responsible for creating different shapes... i thought of making the source code available to everyone after i did these kinds of refactoring... but i have lost the momentum... it will be really nice if someone works upon these...

33 comments:

  1. Gread Post. I also have a android canvas example. Mine is to draw a bitmap from image. Share with u:

    Android Canvas Example

    ReplyDelete
  2. you should be able to import the color app as a library so it doesn't have to be downloaded separately.

    ReplyDelete
  3. please give me the without menu this application. i want to button this application

    ReplyDelete
  4. how can set the background color to black? so that when i save it to external storage the png image will also have a white background?

    ReplyDelete
  5. how can i add a button below that?

    ReplyDelete
  6. can you please post full source code for the paint as i found it un complete

    ReplyDelete
  7. You may download it from
    here

    dont forget to download
    Colorpicker

    ReplyDelete
  8. How to install the "android paint" in eclipse? it only contains .metadata, sorry i'm kinda new to android

    ReplyDelete
  9. Can any1 tell how to change the background of the working area to white? thanks

    ReplyDelete
  10. Sir Please tell me when we are drawing shapes at the time of drawing i want to show also the shape. how it is possible.

    ReplyDelete
  11. Sir Please tell me when we are drawing shapes at the time of drawing i want to show also the shape. how it is possible.

    ReplyDelete
  12. Sir Please tell me when we are drawing shapes at the time of drawing i want to show also the shape. how it is possible.

    ReplyDelete
  13. Sir Please tell me when we are drawing shapes at the time of drawing i want to show also the shape. how it is possible.

    ReplyDelete
  14. @Jobs at Home--- you need to fill up the code in the below block of @Override
    public boolean onTouchEvent(MotionEvent event) {
    if(event.getAction() == MotionEvent.ACTION_MOVE){ } }

    hope this helps you.
    }

    ReplyDelete
  15. @Jobs at Home--- you need to fill up the code in the below block of @Override
    public boolean onTouchEvent(MotionEvent event) {
    if(event.getAction() == MotionEvent.ACTION_MOVE){ } }

    hope this helps you.
    }

    ReplyDelete
  16. sir i have used your code but i want to show the shape at the time of drawing so that customer can see that what he is drawing. I dont know how i can do this using your code. Thanks

    ReplyDelete
  17. sir i have used your code but i want to show the shape at the time of drawing so that customer can see that what he is drawing. I dont know how i can do this using your code. Thanks

    ReplyDelete
  18. sir i have used your code but i want to show the shape at the time of drawing so that customer can see that what he is drawing. I dont know how i can do this using your code. Thanks

    ReplyDelete
  19. sir i have used your code but i want to show the shape at the time of drawing so that customer can see that what he is drawing. I dont know how i can do this using your code. Thanks

    ReplyDelete
  20. sir i have used your code but i want to show the shape at the time of drawing so that customer can see that what he is drawing. I dont know how i can do this using your code. Thanks

    ReplyDelete
  21. sir i have used your ode. But I also want to show the shape of drawing image at the time of drawing so that user can see that what he is drawing

    ReplyDelete
  22. sir i have used your ode. But I also want to show the shape of drawing imag at the time of drawing so that user can see that what he is drawing

    ReplyDelete
  23. hai,how can i integgrate the colorpicker into the project

    Thanhs in advance

    ReplyDelete
  24. How can i integrate the colorpicker into the project
    Thanks in advance

    ReplyDelete
  25. @Asif... in my works colorpicker is a different app. however, you can integrate it with the paint application by creating one more activity and putting the color picker's activity code in it. then call the activity through intent as usual at the Color menu handler...

    ReplyDelete
  26. Thanks For This Source Code,This Will Help me to make my paint application.thanks again,nice work by you:)

    ReplyDelete
  27. Som Sir,

    Need Help regarding the "Freeware Android Paint" .
    I got this "Freeware Android Paint " from internet.
    I like this application.

    But I need some help regarding the "Pinch Zoom In-Out" and "Panning" functionality.

    Kindly Acknowledge.

    Thanks
    Poonam

    ReplyDelete
  28. @Poonam... Thank you for your comment. I have updated the AndroidPaint App with a new option for viewing images with pinch-zoom facility. Get the latest version from Google Play. If you like AndroidPaint, please +1 it in the Google Play.

    ReplyDelete
  29. Sir Please tell me when we are drawing shapes at the time of drawing i want the preview of the shape to be shown. how it is possible

    ReplyDelete
  30. @aman.... to get the preview of the drawings you need to give functionality for drawings in the motionevent.ACTION_MOVE. like whatever you are doing at the ACTION-UP, you need to constantly do that whereever the mouse pointer goes at the ACTION_MOVE...

    ReplyDelete
  31. Thanks Sir , one thing more i need to ask how to connect to shapes using line like we do in flow chart it get connected automatically.

    ReplyDelete
  32. Thanks a lot for sharing this with all folks you really recognise what you are talking about! In this complex environment business need to present there company data in meaningful way.So user easily understand it .Sqiar (http://www.sqiar.com/) which is in UK,provide services like Tableau and Data Warehousing etc .In these services sqiar experts convert company data into meaningful way.

    ReplyDelete