Skip to content

Pipeline.getDb() funf v0.5 not compatible with funf v0.4 #113

Description

@shixudongleo

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);
      }
    });
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions