Android的,两个应用程序有一个数据库? [英] Android, two apps one database?

查看:123
本文介绍了Android的,两个应用程序有一个数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个Android应用程序,我们希望有两个版本,Pro和自由。问题是,我们的应用程序使用,我们希望可以为apps.Is这可能吗?

We are developing an android app and we want to make two versions, pro and free. The problem is that our apps use a database which we want to be available for both apps.Is it possible?

我的意思是,客户端下载免费的应用程序,他使用它。然后,他决定购买专业版,会是更多钞票从免费版本的数据传​​递到专业版?

I mean, the client downloads the free app, and he uses it. Then he decides to buy the pro version, would it be posible to pass the data from free version to pro version?

感谢

推荐答案

您可以使用一个内容提供者,如果你想

you can use a content provider if you want

http://developer.android.com/guide/topics/提供商/内容providers.html

这篇关于Android的,两个应用程序有一个数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆