diff --git a/app/src/main/java/org/ntlab/amaryllis/client/entities/AmaryllisBackgroundService.java b/app/src/main/java/org/ntlab/amaryllis/client/entities/AmaryllisBackgroundService.java index cdd6fab..9b8f87c 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/entities/AmaryllisBackgroundService.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/entities/AmaryllisBackgroundService.java @@ -28,7 +28,16 @@ import org.ntlab.amaryllis.client.voiceservice.VoiceMemo; import org.ntlab.amaryllis.client.voiceservice.VoicememoReceiver; +import java.io.BufferedOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; import java.io.IOException; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.ProtocolException; +import java.net.URL; import java.util.ArrayList; import java.util.List; @@ -97,7 +106,7 @@ double lat=v.getLatitude(); double lon=v.getLongitude(); Location.distanceBetween(latitude,longitude,lat,lon,distance); - if (distance[i] < 10000000.0){ + if (distance[i] < 50.0){ //ここにPlayListManagerへ投稿を送る t.add(v); } @@ -503,5 +512,10 @@ // } // }); } + void install(String u){ + + + } + }