Saving Drawable reference into SQLite Database -


i want save reference (the integer) of .png files saved in /drawable folder in android app.

i wish use them searchmanager.suggest_column_icon_1 in suggestions list, therefore address needs stored in db.

knowing name of file (for example: fruitsicon.png) value should save in database, in order specify column suggest_column_icon_1?

i insert in db column

android.resource://com.mydomain.appname/drawable/icon1 

it worked


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -