Android 開發所遇到的問題收集
這是我在開發Android程式時所遇到的一些問題,在這裡做一些紀錄:
1. Cannot invoke toString() on the primitive type int
https://stackoverflow.com/questions/9961892/cannot-invoke-tostring-on-the-primitive-type-int
2. The method makeText(Context, CharSequence, int) in the type Toast is not applicable for the arguments (new BleWrapperUiCallbacks.Null(){}, String, int)
https://stackoverflow.com/questions/27126503/toast-is-not-applicable-for-the-arguments
3. The method startLeScan(BluetoothAdapter.LeScanCallback) from the type BluetoothAdapter is deprecated
https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html
https://stackoverflow.com/questions/29290685/which-targetsdk-to-use-for-ble
- 建立選單
https://www.jollen.org/blog/2009/06/jollen-android-programming-12.html
本部落格所有文章除特別聲明外,均採用CC BY-NC-SA 4.0 授權協議。轉載請註明來源 X Workshop|量測自動化 × 嵌入式 × AI 開發實戰!