samedi 13 février 2016

Parse URL in SQLiteOpenHelper?

I'm creating a SQLite database.

From my MainActivity, I wish to pass to another class DataBase (which extends SQLiteOpenHelper) an URL, and in this DataBase, I'll parse the content of the URL, and store them into the database.

I tried using an intent from my MainActivity, but SQLiteOpenHelper doesn't support getIntent(), please advice on how to pass in an URL (any URL, not fixed).

Aucun commentaire:

Enregistrer un commentaire