altosdroid: Import initial versions of XML and Java for Tab content
[fw/altos] / altosdroid / src / org / altusmetrum / AltosDroid / AltosDroid.java
index 5019f2fcc81b08b6538320181cbd77c3df112f74..625a2eee430d7f278a023264d47dbd8112911f3a 100644 (file)
@@ -150,7 +150,6 @@ public class AltosDroid extends Activity {
                }
        };
 
-
        void doBindService() {
                bindService(new Intent(this, TelemetryService.class), mConnection, Context.BIND_AUTO_CREATE);
                mIsBound = true;
@@ -174,6 +173,12 @@ public class AltosDroid extends Activity {
                }
        }
 
+       public void registerTab(AltosDroidTab mTab) {
+       }
+
+       public void unregisterTab(AltosDroidTab mTab) {
+       }
+
        void update_ui(AltosState state) {
                mCallsignView.setText(state.data.callsign);
                mRSSIView.setText(String.format("%d", state.data.rssi));
@@ -193,7 +198,7 @@ public class AltosDroid extends Activity {
                mAltosVoice.tell(state);
        }
 
-       String pos(double p, String pos, String neg) {
+       static String pos(double p, String pos, String neg) {
                String  h = pos;
                if (p < 0) {
                        h = neg;