Android samples: remove Android Support dependencies, #32

This commit is contained in:
Emux
2016-07-19 20:49:58 +03:00
parent 11f02128e6
commit 8b599dbf53
10 changed files with 32 additions and 36 deletions

View File

@@ -1,7 +1,23 @@
/*
* Copyright 2016 devemux86
*
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.oscim.android.start;
import android.app.Activity;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import org.oscim.android.MapPreferences;
import org.oscim.android.MapView;
@@ -11,11 +27,8 @@ import org.oscim.layers.tile.vector.labeling.LabelLayer;
import org.oscim.map.Map;
import org.oscim.theme.VtmThemes;
import org.oscim.tiling.source.oscimap4.OSciMap4TileSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class TestActivity extends ActionBarActivity {
public static final Logger log = LoggerFactory.getLogger(TestActivity.class);
public class TestActivity extends Activity {
MapView mMapView;
MapPreferences mPrefs;
@@ -48,5 +61,4 @@ public class TestActivity extends ActionBarActivity {
mMapView.onPause();
mPrefs.save(mMapView.map());
}
}