0

I already following this link Share SQLite database between 2 android apps? But I don know where to put this code in the host app

DBadapter hostDBAdapter = new DbAdapter(getApplicationContext());
performerDBadapter.open();

Anyone know where to put those code?

Community
  • 1
  • 1
Bobby Chandra
  • 89
  • 2
  • 10
  • use a content provider. – njzk2 May 28 '13 at 12:48
  • How to use content provider? Is there any tutorial? – Bobby Chandra May 28 '13 at 13:05
  • haven't you read the link you posted? else, just type content provider in basically any search engine, but most specifically in the searchbox of the android developer website, you'll find plenty – njzk2 May 28 '13 at 13:06
  • I'm sorry, I posted the wrong link. Here it is the link that I read http://stackoverflow.com/questions/7053809/share-sqlite-database-between-2-android-apps – Bobby Chandra May 28 '13 at 13:10

0 Answers0