On Tue, Nov 15, 2011 at 7:24 PM, swebb99 <[email protected]> wrote:
> the problem with this is
> you need to make sure that the customer always purchases the app with
> the provider first!!!

Correct. Content providers for inter-app data sharing can work well
when there is a clear hierarchy (e.g., app plus plugins, where the
plugins have no meaning outside the app), or where the content
provider is not essential (so if the provider does not exist, an app
still has utility, just lacking some optional feature(s)).

> Do all devices have external storage for instance

Yes. It is occasionally unavailable on Android 1.x and 2.x -- if it is
mounted as a drive on a host PC, it is unavailable to apps. This is
not a problem on Android 3.x and 4.x, due to some changes in the way
devices share files with the host PC.

http://developer.android.com/guide/topics/data/data-storage.html#filesExternal

> also
> can databases be created and managed in external storage?

Yes. I have not tried accessing the same SQLite database from multiple
processes via external storage. In principle it should work, as Rails
uses SQLite across processes that way, though I don't know if the
peculiarities of external storage (e.g., FAT32 on Android 1.x and 2.x)
will pose any problems.

However, as Kristopher suggested, it is unclear whether it is in your
best interests to make this be multiple apps. For example, if your
objective is to get paid multiple times, have one app and use in-app
purchasing to unlock the additional features.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to