On Tuesday, March 29, 2011 9:06:36 PM UTC+1, Chris Stewart wrote:
Besides removing that functionality from my app, which I'd like to avoid, is
> there a way to distinguish which app store my app was downloaded from at
> runtime? Or, is there an intent I can fire that both respond to, and if so,
> are any of you using that and getting through the Amazon approval process?
I'm pretty sure the answer to both of these is "no." If you're using LVL,
you *could* take the approach that licensed => Google and unlicensed =>
Amazon, but I'm guessing you're not using LVL, or you would have come across
this by now.
In my apps, I've taken the approach of creating two library projects - one
for Google, one for Amazon - that contain all the channel-specific stuff
like this. Then I swap them out at build time and create 2 APKs. Others
accomplish the same thing with a compile-time flag they flip between
generating the two APKs, which works fine too.
String