Wear emulator shows manual activity start class
I am trying to sync my mobile device with android wear, the connection was successful, but when the emulator comes on, it starts the manual main activity.
My manifest file:
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER" ></category>
</intent-filter>
</activity>
my manifest file is
<activity
android:name=".WearActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER" ></category>
</intent-filter>
</activity>
What am I forgetting or something is missing help me out thnx for help
+3
source to share