プログラムの経験は、大学の授業でC言語のfor文やif文を学んだ程度の初歩の初歩程度です。
現在抱えている問題は、プログラム上はエラーがないのですが、
実機で動作させると予期せぬエラーのため強制終了してしまします。
LogCatを確認したところ、
java.lang.securityexception requires vibrate permission
とあったので、マニフェストがおかしいのかなと思いましたが、どこが間違っているのかわかりません。
ちゃんと<uses-permission android:name="android.permisson.VIBRATE"/>は記入されているので大丈夫だと思ったのですが・・・
いったい何が間違っているのでしょうか?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.hoge"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="16" />
<uses-permission android:name="android.permisson.VIBRATE"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.hoge.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SubActivity">
</activity>
</application>
</manifest>