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
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "calculator.simplemobiletools.com"
applicationId "com.simplemobiletools.calculator"
minSdkVersion 16
targetSdkVersion 23
versionCode 1

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com;
package com.simplemobiletools.calculator;
import android.app.Application;
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.runner.AndroidJUnit4;

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com;
package com.simplemobiletools.calculator;
public class Constants {
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.DecimalFormatSymbols;

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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:updatePeriodMillis="36000000"
android:minHeight="250dp"

View file

@ -1,4 +1,4 @@
package calculator.simplemobiletools.com;
package com.simplemobiletools.calculator;
import org.junit.Before;
import org.junit.Test;
@ -7,7 +7,6 @@ import org.robolectric.Robolectric;
import org.robolectric.annotation.Config;
import butterknife.ButterKnife;
import calculator.simplemobiletools.com.BuildConfig;
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.robolectric.RobolectricTestRunner;