Bluetooth 対応の Android アプリを作成するプロジェクトに取り組んでいます。
アプリが動かない!残念ながら、Bluetooth led (my app name) has stoppedというポップアップ ブロックが表示され、ウィジェット画面に戻りました。マニフェスト用の XML ファイルで問題になりますか?
私のレイアウトXMLコード:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/buttonON"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Turn LED On" />
<Button
android:id="@+id/buttonOFF"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Turn LED Off" />