|
Post by lothcor on Jun 3, 2019 6:28:34 GMT
Hi All, Trying to get bluetooth going to connect to a RFID reader. When attempting to even check that for bluetooth on the device I am getting uninitialized constant error (See Screenshot below) Any help would be appreciated. NDK r17c Android SDK version 27 ruby 2.4.0 rhodes SDK 7.1.0 Build.yml insert code here## Note: sdk is full path to Rhodes root. If not defined - automatically find latest installed Rhodes gem sdk: "/home/lothcor/rhodes" sdkversion: 7.0.0 name: gTransfer version: 1.2 vendor: hico rho_app_id: au.com.hico.gTransfer build: debug applog: rholog.txt
android_title: 0
android: #manifest_template: 'AndroidManifest.erb' version: "8.0.0" abis: - arm - x86 capabilities: - bluetooth ## Note: in order to simplify debugging only app messages and system channels with priority informative and higher, and any errors are enabled by default logcatFilter: APP:I StrictMode:I DEBUG:I *:E
extensions: []
rhobundle: exclude_items: - thumb.db
Controller require 'rho/rhocontroller' require 'helpers/browser_helper' require 'rho/rhobluetooth'
class AnimalController < Rho::RhoController include BrowserHelper
# GET /Animal def index if Rho::BluetoothManager.is_bluetooth_available then Alert.show_popup("BT Available") end render :back => '/app' end
end
|
|
|
Post by lothcor on Jun 3, 2019 6:38:08 GMT
Well.. i should have waited to post..
I checked the changelog and saw
- Common: Bluetooth API extracted to separate extension
So added bluetooth as an extension (Not just capability) and it works now..
Guess thats part of the documentation that still needs to be updated!
|
|