Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: How to get x & y coordinates from current position in Java(Android Studio)

  1. #26
    Junior Member
    Join Date
    Mar 2021
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to get x & y coordinates from current position in Java(Android Studio)

    YES , now how it works when you move the mouse is what I want it to do when I move the tablet if it is possible, otherwise with the camera is fine

  2. #27
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,066
    Thanks
    53
    Thanked 2,614 Times in 2,564 Posts

    Default Re: How to get x & y coordinates from current position in Java(Android Studio)

    I don't know how the tablet would sense what distance it had moved. Perhaps a series of images would give it a way to keep track of its movement. That sounds like a very tricky and complicated program to be able to connect a series of images and have some scale that would allow a program to measure a distance from a spot in the first image to a spot in a later image. Also how to keep track of what direction the motion was in? What would be the x direction and the y direction?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #28
    Junior Member
    Join Date
    Mar 2021
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to get x & y coordinates from current position in Java(Android Studio)

    I am actually not sure, but is it possible, if not I'm sorry for using up your time for nothing

  4. #29
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    24,066
    Thanks
    53
    Thanked 2,614 Times in 2,564 Posts

    Default Re: How to get x & y coordinates from current position in Java(Android Studio)

    I think it would be a very complicated program.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #30
    Junior Member
    Join Date
    Mar 2021
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How to get x & y coordinates from current position in Java(Android Studio)

    ok, thanks for all your help

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Midi in Android Studio
    By docco2020 in forum Android Development
    Replies: 0
    Last Post: July 27th, 2020, 03:43 PM
  2. Facing a problem in android studio ( java )
    By fallen01 in forum Android Development
    Replies: 22
    Last Post: December 31st, 2018, 03:07 AM
  3. android studio problem
    By pingusteam in forum Android Development
    Replies: 3
    Last Post: August 30th, 2018, 03:27 PM
  4. Integrate Android studio with lwuit
    By youssef77 in forum Android Development
    Replies: 0
    Last Post: August 2nd, 2014, 08:17 AM
  5. set ImageIcon position to a specific coordinates (x , y)
    By nosxlimit in forum AWT / Java Swing
    Replies: 3
    Last Post: July 29th, 2012, 09:58 AM

Tags for this Thread