當我在程序中點擊按鈕時,我想從另外一個 package 中啟動一個 activity。Intent代碼: final Intent myIntent = new Intent(getApplicationContext(), com.facebook.android.Places.class)manifest:<activity android:name=".com.facebook.android.Places"
> </activity>但是獲取錯誤:unable to find explicit activity com.mypackage\com.facebook.android.Places.難道不能從另外一個 package 中啟動 activity 嗎?
添加回答
舉報
0/150
提交
取消