Jump to content

Android App Develoment Help


danielbrthwt

Recommended Posts

Im not much of a programmer and never worked on Android apps, but my guess is, you need to 1, get the current X and Y of the cursor(I know its touch screen, but its still going to be an x and y hit when its touched somewhere) and then get the pixel color in hex value. Maybe searching for how to capture the X and Y position will lead to results for how to then get the pixel color.

These might help you -

http://developer.android.com/guide/topics/resources/drawable-resource.html

http://developer.android.com/reference/android/view/MotionEvent.html

Just had another thought, might be easier, is have the app load it in a html frame, and use javascript to get the mouse position and the color of the pixels under it. I think there are javascript color wheel examples that can use images as input for the color selection.

Javascript color wheels - http://jscolor.com/try.php

Edited by digip
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...