- New package name, because of a certificate error with the first uploaded version.

This commit is contained in:
Timothy Allen 2014-08-19 09:34:39 +02:00
parent 45e324fe8c
commit 517ae884b4
15 changed files with 28 additions and 27 deletions

View File

@ -15,6 +15,7 @@ android {
targetSdkVersion 20
versionCode 2
versionName '1.0'
signingConfig signingConfigs.config
}
buildTypes {
release {

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="za.org.treehouse.hypoalarm" >
package="za.org.treehouse.HypoAlarm" >
<!-- permission required to read contacts -->
<uses-permission android:name="android.permission.READ_CONTACTS" />
@ -8,7 +8,7 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- permission required to set an alarm -->
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
<!-- permission required to Send SMS -->
<!-- permission required to send an SMS -->
<uses-permission android:name="android.permission.SEND_SMS" />
<!-- permission required to message the user's location -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
@ -25,7 +25,7 @@
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="za.org.treehouse.hypoalarm.MainActivity"
android:name="za.org.treehouse.HypoAlarm.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -34,19 +34,19 @@
</intent-filter>
</activity>
<activity
android:name="za.org.treehouse.hypoalarm.AlarmAlertActivity"
android:name="za.org.treehouse.HypoAlarm.AlarmAlertActivity"
android:label="@string/alarm_alert"
android:launchMode="singleInstance"
android:noHistory="true" >
</activity>
<receiver android:name="za.org.treehouse.hypoalarm.PreAlarmReceiver" />
<receiver android:name="za.org.treehouse.hypoalarm.CancelAlarmReceiver" />
<receiver android:name="za.org.treehouse.hypoalarm.AlarmReceiver" />
<receiver android:name="za.org.treehouse.hypoalarm.GraceReceiver" />
<receiver android:name="za.org.treehouse.hypoalarm.CancelGraceReceiver" />
<receiver android:name="za.org.treehouse.HypoAlarm.PreAlarmReceiver" />
<receiver android:name="za.org.treehouse.HypoAlarm.CancelAlarmReceiver" />
<receiver android:name="za.org.treehouse.HypoAlarm.AlarmReceiver" />
<receiver android:name="za.org.treehouse.HypoAlarm.GraceReceiver" />
<receiver android:name="za.org.treehouse.HypoAlarm.CancelGraceReceiver" />
<receiver
android:name="za.org.treehouse.hypoalarm.AlarmChangeReceiver"
android:name="za.org.treehouse.HypoAlarm.AlarmChangeReceiver"
android:enabled="false" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
@ -56,12 +56,12 @@
</receiver>
<service
android:name="za.org.treehouse.hypoalarm.AlarmService" />
android:name="za.org.treehouse.HypoAlarm.AlarmService" />
<service
android:name="za.org.treehouse.hypoalarm.AlarmNotify"
android:name="za.org.treehouse.HypoAlarm.AlarmNotify"
android:label="@string/alarm_notification" />
<service
android:name="za.org.treehouse.hypoalarm.PreAlarmNotify"
android:name="za.org.treehouse.HypoAlarm.PreAlarmNotify"
android:label="@string/pre_alarm_notification" />
<meta-data

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.app.Activity;
import android.content.Intent;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.Context;
import android.content.SharedPreferences;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.app.Notification;
import android.app.NotificationManager;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.app.Service;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.app.AlarmManager;
import android.app.AlertDialog;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.app.Notification;
import android.app.NotificationManager;

View File

@ -1,4 +1,4 @@
package za.org.treehouse.hypoalarm;
package za.org.treehouse.HypoAlarm;
import android.content.BroadcastReceiver;
import android.content.Context;

View File

@ -3,9 +3,10 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".AlarmNotificationActivity"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".AlarmNotificationActivity">
android:background="@android:color/black">
<TextView
android:layout_width="wrap_content"
@ -13,7 +14,6 @@
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="@string/app_name"
android:id="@+id/cancel_dialog_title"
android:background="@android:color/black"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/alarm_widget_vertical_margin" />