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 8909663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:29:19+00:00 2026-06-15T03:29:19+00:00

I have a strange issue with the standard method canvas.drawCircle . While I run

  • 0

I have a strange issue with the standard method canvas.drawCircle.

While I run exactly the same code on a Samsung Galaxy S3 with Android 4.0.4 and on another S2 with 2.1 it works without problems. The same code on an Acer 500 tablet with 4.0.3 does not paint anything when calling drawCircle and drawPath.

This is the code:

    Paint thickLine = new Paint(scalePaint);
    thickLine.setStrokeWidth(0.07f);
    thickLine.setColor(Color.argb(0xff, 0xff, 0x36, 0x33));
    thickLine.setFlags(Paint.ANTI_ALIAS_FLAG);
    canvas.drawLine(0.5f, 0.5f, 0.1f, 0.1f, thickLine);
    canvas.drawCircle(0.5f, 0.5f, 0.15f, thickLine);

But the drawLine works on all three devices!

Also just to mention – the code worked before – then I changed the standard Fragments to SherlockFragments and modified the code in the app in several places – always testing on S3. So I do not know at what stage it started to not work anymore on the Acer.

I also used the old unchanged drawing class that contains this code (before I made all changes to the app) and copied it into the new version which uses Sherlock now – even this stage of the project code does not work anymore as described.

So I guess it might have something to do with Sherlock – however, I do not have any idea how and why – and if at all….

Anyone had some similar experience where drawLine works but drawCircle and drawPath do not?
– with or without use of Sherlock

Many thanks

  • 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-06-15T03:29:21+00:00Added an answer on June 15, 2026 at 3:29 am

    almost unbelieveble but true, just change the target setting (or remove it alltogether) and it will work – it did in my case 🙂

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

Sidebar

Related Questions

I have a strange issue with my css navigation menu. The code is here:
I have a strange issue trying to run the Facebook iOS SDK DemoApp (from
I have a strange issue happening. I have some code which must do an
I have a strange issue.I developed an android application with scan functionality.I reused some
I have this strange issue. When I run application from Xcode (even on device),
I have a strange issue with a MVC 3 app running as an Azure
I have a strange issue . I am currently working on a mail app
i have a strange issue with phpexcel on a pair of formulas and can't
I have a strange issue: When I scroll vertically it triggers swipe right/left events.
I have a strange issue (at least for me :)) with the MySQL's locking

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.