Skip to content
ApkTutor
Android tutorials for beginners. Learn through our numerous examples.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Sketchware downloads

Category: Android canvas

Android canvas detect touch points

September 6, 2020 apktutor

To detect the touch events on the canvas of a View class we can use the boolean method onTouchEvent(MotionEvent). In…

Continue Reading →

Posted in: Android canvas

Plot numbers as Line graph on canvas

apktutor

The following code plots an array of integers as a line graph on canvas of a View class. This View…

Continue Reading →

Posted in: Android canvas

Create a View class using Canvas

September 1, 2020 apktutor

In android we can use the canvas while creating a View by calling the onDraw(Canvas) method. Canvas is a class…

Continue Reading →

Posted in: Android canvas
  • AdapterViews (10)
  • Advanced app examples (8)
  • Android canvas (3)
  • Code snippets (7)
  • Dialog (6)
  • Layouts and widgets (15)
  • Menu (2)
  • Notification (1)
  • Service (4)
  • Simple app examples (13)

Recent posts

  • Read and write files in app private storage
  • Detect faces in an image using ML Kit API.
  • Extract text from images
  • Crop and Rotate Image
  • Get meta data using Uri of a file
  • Android Notification Example
  • Moving between fragments
  • Pick and display a pdf file
  • BottomSheetDialog Example Android
  • Play music using MediaPlayer in Service

Join Our Newsletter

Sign up to receive timely, useful information in your inbox.


Privacy Policy
Copyright © 2023 ApkTutor — Primer WordPress theme by GoDaddy