android-calculatorpp/calculatorpp/AndroidManifest.xml

160 lines
8.3 KiB
XML
Raw Normal View History

2012-10-20 08:22:25 -04:00
<?xml version="1.0" encoding="utf-8"?>
2012-11-19 14:06:21 -05:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" android:versionCode="110" android:versionName="1.5.1" package="org.solovyev.android.calculator">
2012-10-20 08:22:25 -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"/>
2012-11-22 16:19:14 -05:00
<!--TODO: REMOVE IN PRODUCTION-->
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
2012-11-24 12:12:35 -05:00
<!-- for onscreen -->
2012-11-20 15:23:54 -05:00
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
2012-11-24 12:12:35 -05:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2012-11-20 15:23:54 -05:00
2012-10-20 08:22:25 -04:00
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8"/>
2012-11-19 12:24:19 -05:00
<application android:debuggable="false" android:hardwareAccelerated="false" android:icon="@drawable/icon" android:label="@string/c_app_name" android:name=".CalculatorApplication" android:theme="@style/cpp_metro_blue_theme">
2012-10-20 08:22:25 -04:00
2012-10-21 05:28:28 -04:00
<activity android:clearTaskOnLaunch="true" android:label="@string/c_app_name" android:name=".CalculatorActivity" android:windowSoftInputMode="adjustPan">
2012-10-20 08:22:25 -04:00
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- settings must use action bar icon-->
2012-11-19 12:24:19 -05:00
<activity android:icon="@drawable/ab_icon" android:label="@string/c_app_settings" android:name=".CalculatorPreferencesActivity"/>
2012-10-20 08:22:25 -04:00
<activity android:label="@string/c_history" android:name=".history.CalculatorHistoryActivity"/>
2012-11-18 10:01:42 -05:00
<activity android:excludeFromRecents="true" android:finishOnTaskLaunch="true" android:label="@string/calculation_messages_dialog_title" android:launchMode="singleTask" android:name=".CalculatorMessagesDialog" android:theme="@style/Theme.Sherlock.Dialog"/>
2012-11-17 12:58:48 -05:00
2012-10-20 08:22:25 -04:00
<activity android:label="@string/c_about" android:name=".about.CalculatorAboutActivity"/>
<activity android:label="@string/c_help" android:name=".help.CalculatorHelpActivity"/>
<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"/>
<activity android:label="@string/c_plot_graph" android:name=".plot.CalculatorPlotActivity"/>
2012-11-19 12:24:19 -05:00
<activity android:name=".widget.CalculatorWidgetConfigurationActivity" android:theme="@style/cpp_metro_blue_theme">
2012-10-20 08:22:25 -04:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
<!-- settings must use action bar icon-->
2012-11-19 12:24:19 -05:00
<activity android:icon="@drawable/ab_icon" android:label="@string/c_settings" android:name=".plot.CalculatorPlotPreferenceActivity"/>
2012-10-20 08:22:25 -04:00
2012-11-21 15:24:17 -05:00
<!-- ONSCREEN CONFIG -->
2012-11-20 15:23:54 -05:00
2012-11-21 03:31:53 -05:00
<activity android:launchMode="singleInstance"
android:label="@string/c_app_name_on_screen"
2012-11-23 08:39:58 -05:00
android:name=".CalculatorOnscreenStartActivity">
2012-11-21 03:31:53 -05:00
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
2012-11-21 15:24:17 -05:00
<service android:name=".onscreen.CalculatorOnscreenService">
2012-11-20 15:23:54 -05:00
<intent-filter>
2012-11-23 08:39:58 -05:00
<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"/>
2012-11-20 15:23:54 -05:00
</intent-filter>
</service>
2012-11-21 15:24:17 -05:00
<receiver android:name=".onscreen.CalculatorOnscreenBroadcastReceiver">
2012-11-20 15:23:54 -05:00
<intent-filter>
2012-11-23 08:39:58 -05:00
<action android:name="org.solovyev.android.calculator.INIT"/>
2012-11-24 12:12:35 -05:00
<action android:name="android.intent.action.BOOT_COMPLETED"/>
2012-11-23 08:39:58 -05:00
<action android:name="org.solovyev.android.calculator.EDITOR_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
2012-11-20 15:23:54 -05:00
</intent-filter>
</receiver>
2012-11-18 05:44:09 -05:00
<!-- WIDGET CONFIG -->
2012-11-18 11:47:55 -05:00
<receiver android:icon="@drawable/icon" android:label="@string/c_app_widget_3x3_name" android:name=".widget.CalculatorWidgetProvider">
2012-10-20 08:22:25 -04:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
2012-11-23 08:39:58 -05:00
<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.widget.BUTTON_PRESSED"/>
</intent-filter>
2012-10-20 08:22:25 -04:00
2012-11-18 05:44:09 -05:00
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_3x3"/>
</receiver>
2012-11-18 11:47:55 -05:00
<receiver android:icon="@drawable/icon" android:label="@string/c_app_widget_3x4_name" android:name=".widget.CalculatorWidgetProvider3x4">
2012-11-18 05:44:09 -05:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
2012-11-23 08:39:58 -05:00
<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.widget.BUTTON_PRESSED"/>
2012-11-18 05:44:09 -05:00
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_3x4"/>
2012-10-20 08:22:25 -04:00
</receiver>
2012-11-18 11:47:55 -05:00
<receiver android:icon="@drawable/icon" android:label="@string/c_app_widget_4x4_name" android:name=".widget.CalculatorWidgetProvider4x4">
2012-11-18 05:44:09 -05:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
2012-11-23 08:39:58 -05:00
<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.widget.BUTTON_PRESSED"/>
2012-11-18 05:44:09 -05:00
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_4x4"/>
</receiver>
2012-11-18 11:47:55 -05:00
<receiver android:icon="@drawable/icon" android:label="@string/c_app_widget_4x5_name" android:name=".widget.CalculatorWidgetProvider4x5">
<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"/>
2012-11-23 08:39:58 -05:00
<action android:name="org.solovyev.android.calculator.DISPLAY_STATE_CHANGED"/>
<action android:name="org.solovyev.android.calculator.widget.BUTTON_PRESSED"/>
2012-11-18 11:47:55 -05:00
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/calculator_widget_info_4x5"/>
</receiver>
2012-11-18 05:44:09 -05:00
<!-- ADMOB + BILLING CONFIG -->
2012-10-20 08:22:25 -04:00
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:name="com.google.ads.AdActivity"/>
<service android:name="net.robotmedia.billing.BillingService"/>
<receiver android:name="net.robotmedia.billing.BillingReceiver">
<intent-filter>
<action android:name="com.android.vending.billing.IN_APP_NOTIFY"/>
<action android:name="com.android.vending.billing.RESPONSE_CODE"/>
<action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED"/>
</intent-filter>
</receiver>
2012-11-18 05:44:09 -05:00
<!-- ACRA CONFIG -->
2012-10-20 08:22:25 -04:00
<activity android:excludeFromRecents="true" android:finishOnTaskLaunch="true" android:launchMode="singleInstance" android:name="org.acra.CrashReportDialog" android:theme="@style/Theme.Sherlock.Dialog"/>
</application>
2012-03-04 13:29:40 -05:00
</manifest>