1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-12-04 13:18:16 -05:00
This commit is contained in:
tokugawa 2014-04-21 13:57:00 -04:00
parent 55251d8d20
commit a9e13e3826
3 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ public class CompassActivity extends Activity implements SensorEventListener
compassRoseView.setRotation((long)(-1 * trueHeading)); compassRoseView.setRotation((long)(-1 * trueHeading));
arrowView.setRotation((long)(-1 * rotateArrow)); arrowView.setRotation((long)(-1 * rotateArrow));
if(locationListener.getDistance() < SEARCH_PROXIMITY) if(locationListener.getDistance() <= SEARCH_PROXIMITY)
{ {
arrowView.setVisibility(View.INVISIBLE); arrowView.setVisibility(View.INVISIBLE);
compassRoseView.setVisibility(View.INVISIBLE); compassRoseView.setVisibility(View.INVISIBLE);

View File

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

View File

@ -130,7 +130,7 @@ public class SearchActivity extends Activity {
} }
}); });
//Toast.makeText(getApplicationContext(), restLocation.getLocationImageURL(), Toast.LENGTH_SHORT).show(); Toast.makeText(getApplicationContext(), restLocation.getRiddleImageUrl(), Toast.LENGTH_SHORT).show();
Bitmap locationPicture = BitmapAccess.loadBitmap(getApplicationContext(), restLocation.getName()); Bitmap locationPicture = BitmapAccess.loadBitmap(getApplicationContext(), restLocation.getName());
if(locationPicture != null) if(locationPicture != null)
{ {