Permalink
Browse files

gps added to server

  • Loading branch information...
1 parent 99c62ce commit 93bd887beb7344cf64c27f79c7e0cee206ed2174 src committed Jul 9, 2011
Showing with 8 additions and 1 deletion.
  1. +6 −1 client/client.pde
  2. +2 −0 client/osc.pde
View
@@ -2,6 +2,9 @@ String[] fontList;
PFont androidFont;
void setup() {
+
+
+
size(screenWidth, screenHeight);
background(0);
fontList = PFont.list();
@@ -15,13 +18,14 @@ void draw() {
text("Latitude: "+currentLatitude, 20, 40);
text("Longitude: "+currentLongitude, 20, 75);
text("Accuracy: "+currentAccuracy, 20, 110);
- text("Provider: "+currentProvider, 20, 145);
+ text("Provider: "+currentProvider, 20, 145);
}
//-----------------------------------------------------------------------------------------
void onResume() {
super.onResume();
+
// Build Listener
locationListener = new MyLocationListener();
// Acquire a reference to the system Location Manager
@@ -33,3 +37,4 @@ void onResume() {
void onPause() {
super.onPause();
}
+
View
@@ -0,0 +1,2 @@
+
+

0 comments on commit 93bd887

Please sign in to comment.