android-calculatorpp/android-app/src/main/AndroidManifest.xml

210 lines
10 KiB
XML
Raw Normal View History

2012-10-20 08:22:25 -04:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="org.solovyev.android.calculator">
2013-06-15 15:10:45 -04:00
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.android.vending.BILLING"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
2013-06-14 16:31:49 -04:00
<!--TODO: REMOVE IN PRODUCTION-->
<!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
<!-- for onscreen -->
2013-06-15 15:10:45 -04:00
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<supports-screens android:smallScreens="true"/>
<supports-screens android:normalScreens="true"/>
<supports-screens android:largeScreens="true"/>
<supports-screens android:xlargeScreens="true"/>
<supports-screens android:anyDensity="true"/>
2015-02-10 18:13:18 -05:00
<application android:allowBackup="true" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher" android:label="@string/c_app_name" android:name=".CalculatorApplication" android:theme="@style/Cpp.Theme.Material">
2013-06-15 15:10:45 -04:00
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
2013-07-01 16:21:50 -04:00
<activity android:clearTaskOnLaunch="true" android:label="@string/c_app_name" android:launchMode="singleTop" android:name=".CalculatorActivity" android:windowSoftInputMode="adjustPan">
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2012-11-22 16:19:14 -05:00
2013-06-14 16:31:49 -04:00
</activity>
2012-11-20 15:23:54 -05:00
2013-07-01 16:21:50 -04:00
<receiver android:exported="false" android:name=".CalculatorReceiver">
2013-06-28 08:16:08 -04:00
<intent-filter>
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
</intent-filter>
</receiver>
2013-07-01 16:21:50 -04:00
<activity android:clearTaskOnLaunch="true" android:label="@string/c_app_name" android:launchMode="singleTop" android:name=".CalculatorActivityMobile" android:windowSoftInputMode="adjustPan"/>
2013-06-14 16:31:49 -04:00
<activity android:label="@string/c_app_settings" android:name=".preferences.PreferencesActivity"/>
2013-06-15 15:10:45 -04:00
<activity android:label="@string/c_history" android:name=".history.CalculatorHistoryActivity"/>
2015-02-07 12:06:03 -05:00
<activity android:excludeFromRecents="true" android:finishOnTaskLaunch="true" android:label="@string/calculation_messages_dialog_title" android:launchMode="singleTask" android:name=".FixableMessagesDialog" android:theme="@style/Cpp.Theme.Dialog.Material"/>
2013-06-15 15:10:45 -04:00
<activity android:label="@string/c_about" android:name=".about.CalculatorAboutActivity"/>
<activity android:label="@string/c_functions" android:name=".math.edit.CalculatorFunctionsActivity"/>
<activity android:label="@string/c_operators" android:name=".math.edit.CalculatorOperatorsActivity"/>
<activity android:label="@string/c_vars_and_constants" android:name=".math.edit.CalculatorVarsActivity"/>
2015-02-07 12:06:03 -05:00
<activity android:launchMode="singleTop" android:name=".wizard.WizardActivity" android:theme="@style/Cpp.Theme.Wizard">
2013-06-16 14:43:19 -04:00
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
2013-06-15 15:10:45 -04:00
2015-02-07 19:08:44 -05:00
<activity android:hardwareAccelerated="false" android:label="@string/c_plot_graph" android:name=".plot.CalculatorPlotActivity" android:theme="@style/Cpp.Theme.Material"/>
2015-02-07 12:06:03 -05:00
<activity android:label="@string/cpp_plot_functions" android:name=".plot.CalculatorPlotFunctionsActivity" android:theme="@style/Cpp.Theme.Dialog.Material"/>
<activity android:label="@string/cpp_plot_function_settings" android:name=".plot.CalculatorPlotFunctionSettingsActivity" android:theme="@style/Cpp.Theme.Dialog.Material"/>
<activity android:label="@string/cpp_plot_range" android:name=".plot.CalculatorPlotRangeActivity" android:theme="@style/Cpp.Theme.Dialog.Material"/>
2013-07-01 16:21:50 -04:00
2015-02-07 12:06:03 -05:00
<activity android:label="@string/cpp_purchase_title" android:name=".preferences.PurchaseDialogActivity" android:theme="@style/Cpp.Theme.Dialog.Material"/>
2013-06-15 15:10:45 -04:00
2015-02-07 12:06:03 -05:00
<activity android:name=".CalculatorDialogActivity" android:theme="@style/Cpp.Theme.Dialog.Material"/>
2013-06-14 16:31:49 -04:00
<!-- todo serso: strings-->
2013-07-16 05:46:47 -04:00
<activity android:label="@string/c_plot_graph" android:name=".matrix.CalculatorMatrixActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
2013-06-14 16:31:49 -04:00
2013-07-01 16:21:50 -04:00
<activity android:name=".widget.CalculatorWidgetConfigurationActivity" android:theme="@style/cpp_metro_blue_theme">
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
</activity>
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<!-- ONSCREEN CONFIG -->
2012-10-20 08:22:25 -04:00
2015-02-10 18:13:18 -05:00
<activity android:icon="@drawable/ic_launcher_window" android:label="@string/c_app_name_on_screen" android:launchMode="singleInstance" android:name=".onscreen.CalculatorOnscreenStartActivity" android:theme="@style/Cpp.Theme.Dialog.Material">
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
</activity>
2012-10-20 08:22:25 -04:00
2013-07-01 16:21:50 -04:00
<service android:exported="false" android:name=".onscreen.CalculatorOnscreenService">
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.onscreen.SHOW_WINDOW"/>
<action android:name="org.solovyev.android.calculator.onscreen.SHOW_NOTIFICATION"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
</service>
2012-11-25 15:00:30 -05:00
2013-06-14 16:31:49 -04:00
<receiver android:name=".onscreen.CalculatorOnscreenBroadcastReceiver">
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.intent.action.BOOT_COMPLETED"/>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.onscreen.SHOW_WINDOW"/>
<action android:name="org.solovyev.android.calculator.onscreen.SHOW_NOTIFICATION"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
</receiver>
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<!-- WIDGET CONFIG -->
2012-10-20 08:22:25 -04:00
<receiver android:icon="@drawable/ic_launcher" android:label="@string/c_app_name" android:name=".widget.CalculatorWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="org.solovyev.android.calculator.INIT"/>
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
2015-06-18 05:55:53 -04:00
<action android:name="org.solovyev.android.calculator.THEME_CHANGED"/>
</intent-filter>
2015-02-20 10:20:10 -05:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget"/>
</receiver>
2015-02-10 18:13:18 -05:00
<receiver android:icon="@drawable/ic_launcher" android:label="@string/c_app_widget_3x3_name" android:name=".widget.CalculatorWidgetProvider">
2012-11-17 12:58:48 -05:00
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="org.solovyev.android.calculator.INIT"/>
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
2015-06-18 05:55:53 -04:00
<action android:name="org.solovyev.android.calculator.THEME_CHANGED"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2012-10-20 08:22:25 -04:00
2013-06-15 15:10:45 -04:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_3x3"/>
2013-06-14 16:31:49 -04:00
</receiver>
2012-10-20 08:22:25 -04:00
2015-02-10 18:13:18 -05:00
<receiver android:icon="@drawable/ic_launcher" android:label="@string/c_app_widget_3x4_name" android:name=".widget.CalculatorWidgetProvider3x4">
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="org.solovyev.android.calculator.INIT"/>
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
2015-06-18 05:55:53 -04:00
<action android:name="org.solovyev.android.calculator.THEME_CHANGED"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2012-10-20 08:22:25 -04:00
2013-06-15 15:10:45 -04:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_3x4"/>
2013-06-14 16:31:49 -04:00
</receiver>
2012-10-20 08:22:25 -04:00
2015-02-10 18:13:18 -05:00
<receiver android:icon="@drawable/ic_launcher" android:label="@string/c_app_widget_4x4_name" android:name=".widget.CalculatorWidgetProvider4x4">
2012-10-20 08:22:25 -04:00
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="org.solovyev.android.calculator.INIT"/>
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
2015-06-18 05:55:53 -04:00
<action android:name="org.solovyev.android.calculator.THEME_CHANGED"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2013-01-20 07:54:10 -05:00
2013-06-15 15:10:45 -04:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_4x4"/>
2013-06-14 16:31:49 -04:00
</receiver>
2015-02-10 18:13:18 -05:00
<receiver android:icon="@drawable/ic_launcher" android:label="@string/c_app_widget_4x5_name" android:name=".widget.CalculatorWidgetProvider4x5">
2013-06-14 16:31:49 -04:00
<intent-filter>
2013-06-15 15:10:45 -04:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="org.solovyev.android.calculator.INIT"/>
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
2013-06-28 07:59:57 -04:00
<action android:name="org.solovyev.android.calculator.BUTTON_PRESSED"/>
2015-06-18 05:55:53 -04:00
<action android:name="org.solovyev.android.calculator.THEME_CHANGED"/>
2013-06-14 16:31:49 -04:00
</intent-filter>
2012-10-20 08:22:25 -04:00
2013-06-15 15:10:45 -04:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_4x5"/>
2013-06-14 16:31:49 -04:00
</receiver>
2012-10-20 08:22:25 -04:00
<!-- ADMOB -->
2012-11-21 03:31:53 -05:00
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />
2012-11-21 03:31:53 -05:00
2013-06-14 16:31:49 -04:00
<!-- ACRA CONFIG -->
2015-01-20 17:50:46 -05:00
<activity android:excludeFromRecents="true" android:finishOnTaskLaunch="true" android:launchMode="singleInstance" android:name="org.acra.CrashReportDialog" android:theme="@android:style/Theme.Dialog"/>
2012-11-21 03:31:53 -05:00
<!-- Google Analytics -->
<receiver
android:name="com.google.android.gms.analytics.AnalyticsReceiver"
android:enabled="true">
<intent-filter>
<action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH"/>
</intent-filter>
</receiver>
<service
android:name="com.google.android.gms.analytics.AnalyticsService"
android:enabled="true"
android:exported="false"/>
2013-06-14 16:31:49 -04:00
</application>
2012-03-04 13:29:40 -05:00
</manifest>