change the package name

This commit is contained in:
tibbi 2016-02-28 15:56:08 +01:00
parent 6326d71e5e
commit 57a2127491
15 changed files with 18 additions and 19 deletions

View file

@ -12,7 +12,7 @@ android {
compileSdkVersion 23 compileSdkVersion 23
buildToolsVersion "22.0.1" buildToolsVersion "22.0.1"
defaultConfig { defaultConfig {
applicationId "calculator.simplemobiletools.com" applicationId "com.simplemobiletools.calculator"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 23 targetSdkVersion 23
versionCode 1 versionCode 1

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import android.app.Application; import android.app.Application;
import android.test.ApplicationTestCase; import android.test.ApplicationTestCase;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import android.support.test.rule.ActivityTestRule; import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4; import android.support.test.runner.AndroidJUnit4;

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest <manifest
package="calculator.simplemobiletools.com" package="com.simplemobiletools.calculator"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<application <application
@ -10,7 +10,7 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity <activity
android:name=".MainActivity" android:name="com.simplemobiletools.calculator.MainActivity"
android:screenOrientation="portrait"> android:screenOrientation="portrait">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN"/>
@ -20,7 +20,7 @@
</activity> </activity>
<receiver <receiver
android:name=".MyWidgetProvider" android:name="com.simplemobiletools.calculator.MyWidgetProvider"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="Simple Calculator"> android:label="Simple Calculator">
<intent-filter> <intent-filter>
@ -33,7 +33,7 @@
</receiver> </receiver>
<activity <activity
android:name=".MyWidgetConfigure" android:name="com.simplemobiletools.calculator.MyWidgetConfigure"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@style/MyWidgetConfigTheme"> android:theme="@style/MyWidgetConfigTheme">
<intent-filter> <intent-filter>

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
public interface Calculator { public interface Calculator {
void setValue(String value); void setValue(String value);

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
public class CalculatorImpl { public class CalculatorImpl {
private String displayedValue; private String displayedValue;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
public class Constants { public class Constants {
public static final String DIGIT = "digit"; public static final String DIGIT = "digit";

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols; import java.text.DecimalFormatSymbols;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import android.content.res.Resources; import android.content.res.Resources;
import android.os.Bundle; import android.os.Bundle;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetManager;
import android.content.Context; import android.content.Context;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import android.app.PendingIntent; import android.app.PendingIntent;
import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetManager;

View file

@ -7,7 +7,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/dark_grey" android:background="@color/dark_grey"
android:orientation="vertical" android:orientation="vertical"
tools:context="calculator.simplemobiletools.com.MainActivity"> tools:context="com.simplemobiletools.calculator.MainActivity">
<TextView <TextView
android:id="@+id/formula" android:id="@+id/formula"

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="calculator.simplemobiletools.com.MyWidgetConfigure" android:configure="com.simplemobiletools.calculator.MyWidgetConfigure"
android:initialLayout="@layout/activity_main" android:initialLayout="@layout/activity_main"
android:updatePeriodMillis="36000000" android:updatePeriodMillis="36000000"
android:minHeight="250dp" android:minHeight="250dp"

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@ -7,7 +7,6 @@ import org.robolectric.Robolectric;
import org.robolectric.annotation.Config; import org.robolectric.annotation.Config;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import calculator.simplemobiletools.com.BuildConfig;
import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertEquals;

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com; package com.simplemobiletools.calculator;
import org.junit.runners.model.InitializationError; import org.junit.runners.model.InitializationError;
import org.robolectric.RobolectricTestRunner; import org.robolectric.RobolectricTestRunner;