import com.google.android.gms.common.api.GoogleApiClient;
import java.io.File;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
initializePositioning();
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
tv = (TextView) findViewById(R.id.hellotext);
- if (helper.httpclient == null) {
- helper.setConnection(getApplicationContext().getResources().getString(R.string.gateway_ip));
- }
+// if (helper.httpclient == null) {
+// helper.setConnection(getApplicationContext().getResources().getString(R.string.gateway_ip));
+// }
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
File file = new File(Environment.getExternalStorageDirectory(), "positioningPersistence.xml");
try {
positionManager = new PositionManager(file);
- Log.d("positionManager", "initialized");
- System.out.println("PositionManager: Initialized successfully!");
+ //Log.d("positionManager", "initialized");
+ //System.out.println("PositionManager: Initialized successfully!");
} catch (PositioningPersistenceException e) {
e.printStackTrace();
}