Commit ef706fd0 authored by Florian Klien's avatar Florian Klien

minor url changes

parent b3314d92
......@@ -10,20 +10,22 @@ import java.util.Locale;
*/
public class GLTUrls {
// https://fosdem.org/schedule/xml
private static final String SCHEDULE_URL = "http://flo.cx/tmp/fosdem_d1.xml";
// private static final String SCHEDULE_URL = "http://flo.cx/tmp/fosdem_d1.xml";
//private static final String SCHEDULE_URL = "https://glt%1$d-programm.linuxtage.at/schedule.xml";
private static final String SCHEDULE_URL = "https://pretalx.linuxtage.at/glt%1$d/schedule/export/schedule.xml";
//private static final String SCHEDULE_URL = "https://fosdem.org/schedule/xml";
private static final String ROOMS_URL = "https://api.fosdem.org/roomstatus/v1/listrooms";
//private static final String ROOMS_URL = "https://api.fosdem.org/roomstatus/v1/listrooms";
private static final String EVENT_URL_FORMAT = "https://glt%1$d-programm.linuxtage.at/events/%2$s.html";
private static final String EVENT_URL_FORMAT = "https://pretalx.linuxtage.at/glt%1$d/talk/%2$s";
//private static final String EVENT_URL_FORMAT = "https://fosdem.org/%1$d/schedule/event/%2$s/";
private static final String PERSON_URL_FORMAT = "https://glt%1$d-programm.linuxtage.at/speakers/%2$s.html";
private static final String PERSON_URL_FORMAT = "https://pretalx.linuxtage.at/glt%1$d/speaker/%2$s";
//private static final String PERSON_URL_FORMAT = "https://fosdem.org/%1$d/schedule/speaker/%2$s/";
private static final String LOCAL_NAVIGATION_URL = "https://nav.fosdem.org/";
private static final String LOCAL_NAVIGATION_TO_ROOM_URL_FORMAT = "https://nav.fosdem.org/d/%1$s/";
// private static final String LOCAL_NAVIGATION_URL = "https://nav.fosdem.org/";
private static final String LOCAL_NAVIGATION_URL = "https://nav.linuxtage.at/";
// private static final String LOCAL_NAVIGATION_TO_ROOM_URL_FORMAT = "https://nav.fosdem.org/d/%1$s/";
private static final String LOCAL_NAVIGATION_TO_ROOM_URL_FORMAT = "https://nav.linuxtage.at/d/%1$s/";
private static final String VOLUNTEER_URL = "https://www.linuxtage.at/participate/";
//private static final String VOLUNTEER_URL = "https://fosdem.org/volunteer/";
......
......@@ -23,9 +23,9 @@ import at.linuxtage.companion.api.GLTUrls;
public class MapFragment extends Fragment {
private static final double DESTINATION_LATITUDE = 47.06914;
private static final double DESTINATION_LONGITUDE = 15.41001;
private static final String DESTINATION_NAME = "FH Joanneum";
private static final double DESTINATION_LATITUDE = 47.05826;
private static final double DESTINATION_LONGITUDE = 15.46068;
private static final String DESTINATION_NAME = "TU Graz";
@Override
public void onCreate(Bundle savedInstanceState) {
......@@ -60,7 +60,7 @@ public class MapFragment extends Fragment {
// Build intent to start Google Maps directions
String uri = String.format(Locale.US,
//"http://maps.google.com/maps?f=d&daddr=%1$f,%2$f(%3$s)&dirflg=r",
"http://www.openstreetmap.org/#map=17/%1$f/%2$f/%3$s",
"https://www.openstreetmap.org/#map=17/%1$f/%2$f/%3$s",
DESTINATION_LATITUDE, DESTINATION_LONGITUDE, DESTINATION_NAME);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
......
......@@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.android.tools.build:gradle:3.3.2'
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment