Hi All ,
This command i am using to attach mmssms db in contact provider.
db.execSQL("Attach database "/data/data/
> > com.android.providers.telephony/databases/mmssms.db" as mmssms_db;" )
when i try to run the code on target it's giving me error like :
I m gettin Error 14 : "Failed to open database file "/data/data/
> > com.android.providers.telephony/databases/mmssms.db" - unable
on simulator it's working fine. I can read all the tables from contact provider.but i dont kno why it's not working on target.
Please help me to resolve this issue. Is there anything wrong witn path or permission , or with my system images.
I am totally confused what is the problem.


