mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add Javadocs
This commit is contained in:
parent
c3e911f135
commit
a082f509e7
1 changed files with 7 additions and 1 deletions
|
|
@ -30,6 +30,9 @@ import timber.log.Timber;
|
||||||
|
|
||||||
import static com.mapbox.mapboxsdk.Mapbox.getApplicationContext;
|
import static com.mapbox.mapboxsdk.Mapbox.getApplicationContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Processing of the image file that is about to be uploaded via ShareActivity is done here
|
||||||
|
*/
|
||||||
public class FileProcessor implements SimilarImageDialogFragment.onResponse{
|
public class FileProcessor implements SimilarImageDialogFragment.onResponse{
|
||||||
|
|
||||||
private Uri mediaUri;
|
private Uri mediaUri;
|
||||||
|
|
@ -126,6 +129,10 @@ public class FileProcessor implements SimilarImageDialogFragment.onResponse{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Find other images around the same location that were taken within the last 20 sec
|
||||||
|
* @param gpsEnabled True if GPS is enabled
|
||||||
|
*/
|
||||||
private void findOtherImages(boolean gpsEnabled) {
|
private void findOtherImages(boolean gpsEnabled) {
|
||||||
Timber.d("filePath"+getPathOfMediaOrCopy());
|
Timber.d("filePath"+getPathOfMediaOrCopy());
|
||||||
|
|
||||||
|
|
@ -175,7 +182,6 @@ public class FileProcessor implements SimilarImageDialogFragment.onResponse{
|
||||||
haveCheckedForOtherImages = true; //Finished checking for other images
|
haveCheckedForOtherImages = true; //Finished checking for other images
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initiates retrieval of image coordinates or user coordinates, and caching of coordinates.
|
* Initiates retrieval of image coordinates or user coordinates, and caching of coordinates.
|
||||||
* Then initiates the calls to MediaWiki API through an instance of CategoryApi.
|
* Then initiates the calls to MediaWiki API through an instance of CategoryApi.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue