Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

How to return ISQLiteOpenHelper in standard Java project?  #285

Description

@rolfw

I'm trying to use Squidb in a standard Java project (i.e. not running on an Android device) but I can't seem to implement the createOpenHelper method of SquidDatabase:

	@Override
	protected ISQLiteOpenHelper createOpenHelper(final String databaseName, final OpenHelperDelegate delegate, final int version) {

                // Cannot resolve symbol AndroidOpenHelper
		return new AndroidOpenHelper(getName(), delegate, getVersion());;
	}

In the JavaDoc I found that I can simply return a new AndroidOpenHelper, but where can I find that class in a non-android project?

Is it possible to use Squidb for non-android projects? If so, how to do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions