Skip to content

Commit

Permalink
SensorSimulatorSettings: Create plain Android 2.3 ant build file.
Browse files Browse the repository at this point in the history
git-svn-id: http://openintents.googlecode.com/svn/trunk/sensorsimulator@2942 72b678ce-9140-0410-bee8-679b907dd61a
  • Loading branch information
peli0101 committed Jan 5, 2011
1 parent 4b2b230 commit 8edccd7
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 3 deletions.
4 changes: 1 addition & 3 deletions SensorSimulatorSettings/default.properties
Expand Up @@ -7,7 +7,5 @@
# "build.properties", and override values to adapt the script to your
# project structure.

# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-7
target=android-9
34 changes: 34 additions & 0 deletions SensorSimulatorSettings/proguard.cfg
@@ -0,0 +1,34 @@
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {
native <methods>;
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
23 changes: 23 additions & 0 deletions SensorSimulatorSettings/readme_SensorSimulatorSettings.txt
@@ -0,0 +1,23 @@
****************************************************************************
* Copyright (C) 2008-2011 OpenIntents.org *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
* You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
****************************************************************************

SensorSimulatorSettings lets you set the default IP settings on your
Android emulator and test these settings.

These settings are stored for other applications that want to connect
to the SensorSimulator.

For updates, please see the SensorSimulator readme file.
4 changes: 4 additions & 0 deletions SensorSimulatorSettings/template of build-private.properties
@@ -0,0 +1,4 @@
key.store=C:\\android\\certificates\\SensorSimulator.ks
key.alias=SensorSimulator
key.store.password=xxx
key.alias.password=xxx
10 changes: 10 additions & 0 deletions SensorSimulatorSettings/template of local.properties
@@ -0,0 +1,10 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.

# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=C:\\android\\android-sdk-windows

0 comments on commit 8edccd7

Please sign in to comment.