My problem was that it was actually calling event.getX(1) when there wasn’t actually two ids. So I made sure that there were two ids with event.getPointerCount() >= 2 and it now works. Maybe you’ll have the same luck!
More Related Contents:
- How can I read a text file in Android?
- Concurrent Modification Exception : adding to an ArrayList
- How to catch a Firebase Auth specific exceptions
- Java / Android – How to print out a full stack trace?
- method called after release() exception unable to resume with android camera
- Android exception handling best practice?
- ThreeTen-Backport error on Android – ZoneRulesException: No time-zone data files registered
- connect failed: ECONNREFUSED
- Android: ClassNotFoundException when passing serializable object to Activity
- How to work with xml and java (android) [closed]
- Set margins in a LinearLayout programmatically
- What do I use now that Handler() is deprecated?
- Difference between getExternalFilesDir and getExternalStorageDirectory()
- Android: Pass data(extras) to a fragment
- How do I manage cookies with HttpClient in Android and/or Java?
- Android Resource – Array of Arrays
- Eclipse – java.lang.ClassNotFoundException
- notifyDataSetChanged() makes the list refresh and scroll jumps back to the top
- How to retrieve a list of available/installed fonts in android?
- How can I parse this JSON in Android?
- PrintWriter and PrintStream never throw IOExceptions
- Java uncaught global exception handler
- Unhandled Exception in Java
- Open source face recognition for Android [closed]
- Android: Cannot perform this operation because the connection pool has been closed
- How to measure elapsed time
- Java: calling outer class method in anonymous inner class
- How to slide the ActionBar along with the NavigationDrawer
- Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler
- Parse JSON object with string and value only