Skip to content

Instantly share code, notes, and snippets.

@sakurabird
Created October 24, 2011 13:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakurabird/1309074 to your computer and use it in GitHub Desktop.
Save sakurabird/1309074 to your computer and use it in GitHub Desktop.
Untouchable manifest
<?xmlversion="1.0"encoding="utf-8"?>
<manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.yochiyochi.android.UntouchableTimer" ←Javaパッケージ名、世界でたった一つであること。
android:versionCode="6" ← マーケットにアップデートするたびにカウントアップするべき数
android:versionName="1.0" ← アプリのバージョン(ここは自分で決める)
android:installLocation="preferExternal" > ← インストールする場所(SDカード優先)
<uses-sdkandroid:minSdkVersion="8"/> ← ターゲットのバージョンこれ以下の機種にはインストール出来ない
<uses-permissionandroid:name="android.permission.RECORD_AUDIO"/> ← 音声認識を使用する権限を与える。
<uses-permissionandroid:name="android.permission.WAKE_LOCK"/> ← 画面をスリープさせない権限を与える。
<uses-permissionandroid:name="android.permission.VIBRATE"/> ← バイブレートする権限を与える。
<applicationandroid:icon="@drawable/icon" ←アプリケーションのアイコンの場所
 android:label="@string/app_name" ←アプリケーションの表示名
android:theme="@style/CustomTheme.light"
<activity
android:name=".UntouchableTimerActivity"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|orientation"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="TimerService" />
<activity android:name="AlarmActivity" />
<activity android:name="SettingActivity" />
<activity android:name="HelpActivity" />
<activity android:name="FirstLanchMessageActivity" />
<activity android:name="SensorSensitivityActivity" />
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment