2013-03-10 92 views
-1

YO!Android清單意圖過濾錯誤?

林做工作按鈕,我得到的幫助和提示,從YouTube視頻,但IM得到一個錯誤的IM我的清單,我不能SUS-了..繼承人的Android清單在代碼的最後

</activity> 
    <activity android:name="com.tssandroid.phone.buttonOne" 
       android:label="@string/app_name"> 
     <intent-filter> 
      <action android:name="com.tssandroid.phone.TUTORIALONE" /> 
      <cetegory android:name="android.intent.category.DEFAULT" /> 
     <intent-filter> 
    </activity> 
</application> 

回答

1

您的代碼:

<intent-filter> 
    <action android:name="com.tssandroid.phone.TUTORIALONE" /> 
    <cetegory android:name="android.intent.category.DEFAULT" /> 
<intent-filter> 

<intent-filter>沒有關閉標籤。

應該是:

<intent-filter> 
    <action android:name="com.tssandroid.phone.TUTORIALONE" /> 
    <cetegory android:name="android.intent.category.DEFAULT" /> 
</intent-filter> 

PS:是非常糟糕形成你的問題。下一次包括錯誤或更清楚的問題。

+0

歡呼聲m8,抱歉不清楚 – user2154615 2013-03-11 17:33:39