Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7050283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:07:29+00:00 2026-05-28T03:07:29+00:00

Can you help me with the logic for my program My program should do

  • 0

Can you help me with the logic for my program

My program should do the following:

When i draw a circle with mouse it should recognize it as circle. similarly for square,oval etc. I want step by step procedure can anyone help?

yes I tried that code. but am not able to customise it.

I don’t know where to change the code for adding circle, square

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:07:30+00:00Added an answer on May 28, 2026 at 3:07 am

    If that’s the only thing that is necessary I would use android gestures. You can find examples and more info over here. You just have to create an oval, circle, triangle gesture and Android will recognize it for you. It’s really easy, productive and does exactly what you want. In the link is a step-by-step procedure of how to do this.

    You can do it also by saving all the x/y coordinates of the drawn shape and then compare it using circle/oval equations.

    I would go for the first solution if you don’t have any additional requirements.

    edit/

    You can copy the gestures from the emulator to your computer with

    ./adb pull /sdcard/gestures ~/test
    

    You have to put them in de res/raw folder to use them in your application.

    edit/

    adb commands: click here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My head is about to explode with this logic, can anyone help? Class A
Maybe you can help me... I am writing a program in Windows Mobile that
i need some idea for creatin a encryption program can any one help!? i
I am trying to implement Ehcache in my program,How can I configure Ehcache?Where Should
Can you help me code a program that deletes a certain line in a
I can't login to github with generated ssh-keys. I've followed this manual: http://help.github.com/linux-key-setup but
Who can help me to translate this XML Schema pattern [0-9]+-([0-9]|K) to java regular
Who can help me with regular expression? I need to remove a part of
Is there anything which can help with msmq monitoring? I'd like to get some
Wondering if anyone can help me with this annoying but trivial (in terms of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.