[android-developers] database for content provider

2012-09-12 Thread Ehsan Sadeghi
I create a database file by sqlitebrowser and copy it in data/data/ir.smspeik.sms/databases/mydb1. How can I use it as a content provider in my app? Which Uri I must use to declare it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

Re: [android-developers] database for content provider

2012-09-12 Thread Felipe Silveira
You need first to create a subclass of content provider. Take a look: http://developer.android.com/guide/topics/providers/content-providers.html On Wed, Sep 12, 2012 at 4:02 AM, Ehsan Sadeghi wrote: > I create a database file by sqlitebrowser and copy it in > data/data/ir.smspeik.sms/databases/