私はいくつかのアンドロイド開発に少しこだわっています。私は Eclipse/ADT を使用しており、2 つのアクティビティ プロジェクト テストを作成しました。
すべてのビルドとエミュレーターが開始されましたが、アプリケーションが表示されません。
私はこれに非常に慣れていないため、明らかな何かが欠けている可能性があります。エミュレーターで自分のアプリをどこで見ることができますか?
編集
スライドが機能し、テストアプリにたどり着きました(プロジェクト名テストなので同じアプリ名だと思います)が、画面に表示されます。
私のmain.xmlとしてのボタンとその他のものは次のとおりです。
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="I'm screen 1 (main.xml)"
android:textAppearance="?android:attr/textAppearanceLarge" />
<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Click me to another screen" />
間違いなく私の側の間違いで、何がわからないのですか?
私のマニフェスト。
<uses-sdk android:minSdkVersion="10" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:label="@string/app_name"
android:name=".AppActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:label="@string/app_name"
android:name=".App2Activity" >
</activity>
</application>
私のmain.xmlファイルは以下の通りです。
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="I'm screen 1 (main.xml)"
android:textAppearance="?android:attr/textAppearanceLarge" />
<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Click me to another screen" />