apps-android-commons/app/src/main/java/fr/free/nrw/commons/nearby
neslihanturan 718ad3a12c Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in (#2099)
* Add getGeolocation method to geolocation from file path

* Add geolocation check to receiveDirect method checks, means it will be checked durimg nearby direct uploads

* Create method body for geolocation and nearby place coordinate comparaison, this method will be filled on consequent commits

* Add a method to find location missmatch

* app/src/main/java/fr/free/nrw/commons/utils/ImageUtils.java

* Add if check to upload activity to detect pictures with wrong location, and save it to shared prefs

* Do not edit wikidata item if picture has wrong location info

* Add one more bitwise operand to possible warning reasons for wrong location case

* Add a bitwise variable for wrong locatio case

* Share nearby place location just like wikidataEntityId, so that we can compare

* Implement check image geolocation is different method by comparing nearby location and file EXIF geolocation

* Add Javadocs

* Remove logs

* Fix all taken on wrong phrases as taken at

* Fix typo on logs

* Simplify if logic

* Fix string issues
2018-12-16 22:26:44 +10:00
..
DirectUpload.java Multiple uploads with over haul (#1968) 2018-11-19 17:00:32 +05:30
NearbyAdapterFactory.java Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955) 2018-11-04 14:37:28 +00:00
NearbyBaseMarker.java Dead/redundent code and import removal. 2018-03-02 23:39:24 +05:30
NearbyController.java Search this area (#2051) 2018-12-06 03:06:50 +10:00
NearbyFragment.java Search this area (#2051) 2018-12-06 03:06:50 +10:00
NearbyListFragment.java Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in (#2099) 2018-12-16 22:26:44 +10:00
NearbyMapFragment.java Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in (#2099) 2018-12-16 22:26:44 +10:00
NearbyMarker.java Converted nearby list to recycler view and fixed a few issues pointed out by static code analysis. 2017-07-09 17:33:24 -05:00
NearbyMaterialShowcaseSequence.java Add nearby tutorial (#1467) 2018-05-07 22:05:20 +10:00
NearbyNoificationCardView.java Show campaigns (#2113) 2018-12-15 02:55:53 +10:00
NearbyPlaces.java Search this area (#2051) 2018-12-06 03:06:50 +10:00
NoPermissionsFragment.java Fixing some lint issues for #171 2018-02-07 11:32:24 +01:00
Place.java Nearby places icons localization bug fix (#1947) 2018-11-04 23:44:39 +00:00
PlaceRenderer.java Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in (#2099) 2018-12-16 22:26:44 +10:00
Sitelinks.java Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955) 2018-11-04 14:37:28 +00:00