[android-developers] Re: Feedback links for each market app
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 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Feedback links for each market app
On Tue, Mar 29, 2011 at 3:33 PM, String sterling.ud...@googlemail.comwrote: Others accomplish the same thing with a compile-time flag they flip between generating the two APKs, which works fine too. That's what I do. Takes an extra 30 seconds. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Feedback links for each market app
Others accomplish the same thing with a compile-time flag they flip between generating the two APKs, which works fine too. Good idea. I'll go that route. -- Chris Stewart http://chriswstewart.com On Tue, Mar 29, 2011 at 4:45 PM, TreKing treking...@gmail.com wrote: On Tue, Mar 29, 2011 at 3:33 PM, String sterling.ud...@googlemail.comwrote: Others accomplish the same thing with a compile-time flag they flip between generating the two APKs, which works fine too. That's what I do. Takes an extra 30 seconds. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en