デスクトップウィンドウで私のサーバーブルートゥースを実行しています。RuntimeException:Stub!私はそれを起動します。BluetoothAdapter.getDefaultAdapter()throw RuntimeException:スタブ!
私が呼び出すときには間違いなく:BluetoothAdapter.getDefaultAdapter()コードが停止しました!
デスクトップブルートゥースサービスのBluetoothAdapterの代替クラスは、誰でも知っていますか?
同じ問題といくつかのソリューションです: http://stackoverflow.com/questions/5920578/bluetoothadapter-getdefault-throwing-runtimeexception-while-not-in-activity –