update com.showmehills to 0.30

This commit is contained in:
David Black 2013-04-17 16:13:50 +01:00
parent 4ad90a08f2
commit e3bb3c4b3a
2 changed files with 56 additions and 19 deletions

View file

@ -1,7 +1,4 @@
#NonFreeDep can be removed with the Manifest patch below AntiFeatures:Tracking
#NonFreeDep because it requires google maps, Tracking because acra is enabled
#by default, although it can be turned off in preferences
AntiFeatures:NonFreeDep,Tracking
Category:Navigation Category:Navigation
License:GPLv3 License:GPLv3
Web Site:https://github.com/ShowMeHills/ShowMeHills/wiki Web Site:https://github.com/ShowMeHills/ShowMeHills/wiki
@ -11,14 +8,18 @@ Issue Tracker:https://github.com/ShowMeHills/ShowMeHills/issues
Summary:Augmented reality mountain identification Summary:Augmented reality mountain identification
Description: Description:
Augmented reality application which overlays the names of hills and mountains Augmented reality application which overlays the names of hills and mountains
on a camera view. Data for hills of the UK and Ireland is better than that of the rest of the world. on a camera view. The supplied data for hills of the UK and Ireland is
better than that for the rest of the world.
N.B The "birds eye", map overlay mode won't work because the only map source is Google Maps and there '''N.B''' Although it is not necessary (since v0.30) to have Google
isn't an API key in the source code. Maps installed to install the app, attempting to view the peaks on the
map if you don't have Google maps installed, will crash the app.
Even if you have that installed the "birds eye", map overlay mode won't work
because the only map source is Google Maps and there isn't an API key in the
source code.
Anti-feature: Dependencies. It's necessary for Google Maps to be already Anti-feature: Tracking. Crash reports are sent without interaction.
installed either as an app or as a shared system library for this app to be Google Analytics was removed before building.
installable. We will be able to remove this dependency soon.
. .
Repo Type:git Repo Type:git
@ -39,15 +40,18 @@ Build Version:0.24,24,v0.24,update=no,subdir=ShowMe/ShowMeHills,prebuild=\
mkdir src && \ mkdir src && \
echo "sdk.dir=$$SDK$$" >local.properties && \ echo "sdk.dir=$$SDK$$" >local.properties && \
echo "sdk.dir=$$SDK$$" >../ShowMeX/local.properties echo "sdk.dir=$$SDK$$" >../ShowMeX/local.properties
Build Version:0.30,30,v0.30,patch=analytics.patch,\
update=no,srclibs=NoAnalytics@158a4a,\
subdir=ShowMe/ShowMeHills,rm=ShowMe/ShowMeX/libs/libGoogleAnalyticsV2.jar,prebuild=\
mkdir src && echo "sdk.dir=$$SDK$$" >local.properties && \
echo "android.library.reference.1=$$NoAnalytics$$" >> ../ShowMeX/project.properties && \
echo "sdk.dir=$$SDK$$" >../ShowMeX/local.properties && \
sed -i 's/<uses-library android:name="com.google.android.maps" \/>\
/<uses-library android:name="com.google.android.maps" \
android:required="false" \/>/g' AndroidManifest.xml
#Attempting to view the peaks on the map if you don't have Google maps installed, will crash the app
#Build Version:0.24,24,v0.24,update=no,subdir=ShowMe/ShowMeHills,prebuild=\
#mkdir src && \
#echo "sdk.dir=$$SDK$$" >local.properties && \
#echo "sdk.dir=$$SDK$$" >../ShowMeX/local.properties && \
#sed -i 's/<uses-library android:name="com.google.android.maps" \/>/<uses-library android:name="com.google.android.maps" android:required="false" \/>/g' AndroidManifest.xml
Auto Update Mode:None Auto Update Mode:None
Update Check Mode:Market Update Check Mode:Tags
Current Version:0.29 Current Version:0.30
Current Version Code:29 Current Version Code:30

View file

@ -0,0 +1,33 @@
Remove extra Google Analytics
diff --git a/ShowMe/ShowMeX/src/com/showmehills/ShowMeHillsActivity.java b/ShowMe/ShowMeX/src/com/showmehills/ShowMeHillsActivity.java
index 95fe190..a9a8125 100644
--- a/ShowMe/ShowMeX/src/com/showmehills/ShowMeHillsActivity.java
+++ b/ShowMe/ShowMeX/src/com/showmehills/ShowMeHillsActivity.java
@@ -48,8 +48,6 @@ import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
-import com.google.analytics.tracking.android.EasyTracker;
-import com.google.analytics.tracking.android.Tracker;
import com.showmehills.R;
import android.app.Activity;
@@ -231,8 +229,6 @@ public class ShowMeHillsActivity extends Activity implements IShowMeHillsActivit
}
super.onStop();
- EasyTracker.getInstance().activityStop(this); // Add this method.
-
}
@Override
@@ -240,8 +236,6 @@ public class ShowMeHillsActivity extends Activity implements IShowMeHillsActivit
super.onCreate(savedInstanceState);
- EasyTracker.getInstance().activityStart(this); // Add this method.
-
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);