mirror of
https://github.com/bspeice/itcs4180
synced 2024-12-04 13:18:16 -05:00
Comments
This commit is contained in:
parent
55251d8d20
commit
a9e13e3826
@ -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);
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user