-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I am learning to use funf by the wifiscanner sample, which is based on funf v0.4.
I have to use funf v0.5, because later I need to use VideoCaptureProbe, which is not developed in funf v0.4.
When using funf v0.5 jar in wifiscanner, Pipeline.getDb() is missing.
How to fix it?
private void updateScanCount() {
// Query the pipeline db for the count of rows in the data table
SQLiteDatabase db = pipeline.getDb();
Cursor mcursor = db.rawQuery(TOTAL_COUNT_SQL, null);
mcursor.moveToFirst();
final int count = mcursor.getInt(0);
// Update interface on main thread
runOnUiThread(new Runnable() {
@Override
public void run() {
dataCountView.setText("Data Count: " + count);
}
});
}Metadata
Metadata
Assignees
Labels
No labels