Skip to content

Commit 01317c0

Browse files
committed
Merge pull request #28 from xLaMbChOpSx/master
Gradle Update, Google Maps API v2 & Database Export
2 parents 5e1660e + 67c6965 commit 01317c0

File tree

103 files changed

+892
-881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+892
-881
lines changed

.gitignore

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# FILES TO BE IGNORED #
2-
#######################
3-
4-
# OS generated files #
5-
######################
6-
.DS_Store
7-
.DS_Store?
8-
._*
9-
.Spotlight-V100
10-
.Trashes
11-
.directory
12-
ehthumbs.db
13-
Thumbs.db
14-
151
# built application files
162
*.apk
173
*.ap_
@@ -22,16 +8,54 @@ Thumbs.db
228
# Java class files
239
*.class
2410

11+
# built native files
12+
*.o
13+
2514
# generated files
2615
bin/
2716
gen/
28-
out/
17+
18+
# Ignore gradle files
19+
.gradle/
20+
build/
2921

3022
# Local configuration file (sdk path, etc)
3123
local.properties
3224

33-
# Eclipse project files
34-
.classpath
35-
.project
25+
# Proguard folder generated by Eclipse
26+
proguard/
27+
28+
# Eclipse Metadata
29+
.metadata/
30+
31+
# Mac OS X clutter
32+
*.DS_Store
33+
34+
# Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067)
35+
.idea/workspace.xml
36+
.idea/tasks.xml
37+
.idea/datasources.xml
38+
.idea/dataSources.ids
39+
40+
# OS Generated files
41+
._*
42+
.Spotlight-V100
43+
.Trashes
44+
.directory
45+
ehthumbs.db
46+
Thumbs.db
47+
48+
# Android Studio
3649
.idea
37-
*.iml
50+
#.idea/workspace.xml - uncomment this and comment/delete .idea if it better suit your needs
51+
.gradle
52+
/*/local.properties
53+
/*/out
54+
/*/*/build
55+
/*/*/production
56+
*.iml
57+
*.iws
58+
*.ipr
59+
*~
60+
*.swp
61+
/*/build

.idea/libraries/opencsv_2_3.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Android.mk

Lines changed: 0 additions & 37 deletions
This file was deleted.

app/build.gradle

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apply plugin: 'android'
2+
3+
android {
4+
compileSdkVersion 19
5+
buildToolsVersion '19.0.3'
6+
defaultConfig {
7+
minSdkVersion 9
8+
targetSdkVersion 19
9+
}
10+
buildTypes {
11+
release {
12+
runProguard false
13+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
14+
}
15+
}
16+
signingConfigs {
17+
debug {
18+
keyAlias 'androiddebugkey'
19+
}
20+
}
21+
}
22+
23+
dependencies {
24+
compile 'com.android.support:appcompat-v7:19.1.+'
25+
compile 'com.google.android.gms:play-services:4.3.23'
26+
compile files('libs/opencsv-2.3.jar')
27+
}
File renamed without changes.

app/libs/opencsv-2.3.jar

13.8 KB
Binary file not shown.
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.SecUpwN.AIMSICD"
4-
android:versionName="0.1.5"
5-
android:versionCode="5">
4+
android:versionName="0.1.6"
5+
android:versionCode="6">
66

7-
<uses-sdk
8-
android:minSdkVersion="9"
9-
android:targetSdkVersion="19"/>
7+
<uses-feature
8+
android:glEsVersion="0x00020000"
9+
android:required="true"/>
1010

1111
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
1212
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
@@ -15,13 +15,19 @@
1515
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
1616
<uses-permission android:name="android.permission.INTERNET"/>
1717
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
18+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
19+
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
1820

1921
<application
2022
android:icon="@drawable/sense_alarm"
2123
android:label="@string/app_name"
2224
android:theme="@style/AppTheme"
2325
android:allowBackup="false">
2426
<uses-library android:name="com.google.android.maps"/>
27+
<meta-data
28+
android:name="com.google.android.gms.version"
29+
android:value="@integer/google_play_services_version" />
30+
2531

2632
<activity
2733
android:name=".AIMSICD"
@@ -51,7 +57,7 @@
5157

5258
<activity
5359
android:name=".MapViewer"
54-
android:label="@string/app_name"
60+
android:label="@string/map_view"
5561
android:parentActivityName=".AIMSICD"
5662
android:exported="true">
5763
<meta-data
@@ -70,5 +76,9 @@
7076
</intent-filter>
7177
</activity>
7278

79+
<meta-data
80+
android:name="com.google.android.maps.v2.API_KEY"
81+
android:value="AIzaSyDI1lvgpBmNhQS33JfJA4w8GAmrtFeg078"/>
82+
7383
</application>
7484
</manifest>

0 commit comments

Comments
 (0)