Answered by:
Can I use the same indexeddb in for two different apps

Question
-
Hi,
I am using indexeddb for my apps database. I would like to make a second app which uses the same database but different functionality. Is it possible?
I know indexeddb has user level access and resides outside the app folder. But if I try to open the same database from a second project it always creates a new one.
Monday, December 10, 2012 4:11 PM
Answers
-
Hi,
I'm affraid you can't. In the specifications it is mentioned that you can only access the databases inside your own domaincontext, and as far I know the domaincontext for every app is different.
Maybe a solution for your problem is the share charm?
greetings,
Kristpf
Kristof Degrave - Software Engineer RealDolmen www.kristofdegrave.be
- Marked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Tuesday, December 11, 2012 10:13 PM
Tuesday, December 11, 2012 8:41 AM -
Hi,
That is impossible. If you want to do that. I suggest you put the database in third party server(for example, sql server). And then access each other.
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Song Tian Friday, December 14, 2012 9:23 AM
Tuesday, December 11, 2012 8:53 AM
All replies
-
Hi,
I'm affraid you can't. In the specifications it is mentioned that you can only access the databases inside your own domaincontext, and as far I know the domaincontext for every app is different.
Maybe a solution for your problem is the share charm?
greetings,
Kristpf
Kristof Degrave - Software Engineer RealDolmen www.kristofdegrave.be
- Marked as answer by Rob Caplan [MSFT]Microsoft employee, Moderator Tuesday, December 11, 2012 10:13 PM
Tuesday, December 11, 2012 8:41 AM -
Hi,
That is impossible. If you want to do that. I suggest you put the database in third party server(for example, sql server). And then access each other.
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Song Tian Friday, December 14, 2012 9:23 AM
Tuesday, December 11, 2012 8:53 AM