回答

2

背景應用程序是一種過程,因此您應該擴展Application而不是擴展Uiapplication。在你的主類中實現你的所有代碼。您還可以看到這個StackOverflow的問題爲例:Blackberry - Running Background Application