1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-08 16:38:14 -05:00

Updated method calls for getRiddleImageUrl

This commit is contained in:
tokugawa 2014-04-19 23:39:53 -04:00
parent b12a4022f5
commit 553e8748fd
3 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ public class CompassActivity extends Activity implements SensorEventListener
searchLocation.setLongitude(-80.733734);*/
searchLocation = new Location(LocationManager.NETWORK_PROVIDER);
searchLocation.setLatitude(restLocation.getLocationLat());
searchLocation.setLongitude(restLocation.getLocationLong());
searchLocation.setLatitude((float)(restLocation.getLocationLat()));
searchLocation.setLongitude((float)(restLocation.getLocationLong()));
locationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
locationListener = new DirectionListener(searchLocation);

View File

@ -94,7 +94,7 @@ public class MainActivity extends Activity {
}
}.execute();
//Toast.makeText(getApplicationContext(), ""+locations.get(0).getLocationImageURL(), Toast.LENGTH_SHORT).show();
Toast.makeText(getApplicationContext(), ""+locations.get(0).getRiddleImageURL(), Toast.LENGTH_SHORT).show();
}
@Override

View File

@ -138,7 +138,7 @@ public class SearchActivity extends Activity {
}
else
{
new ImageDownloader().execute(restLocation.getLocationImageURL());
new ImageDownloader().execute(restLocation.getRiddleImageURL());
}
}