On Mon, Aug 8, 2011 at 9:13 PM, Nikolay Elenkov
<[email protected]>wrote:

> You need to have two different builds: one for the Android Market, another
> for the Amazon App Store. Use a library projects for the core and two app
> projects with different string resources for the rating/app link URL's.
>

You don't even have to go that far. One static flag is all you need.

switch(STORE)
{
 case ANDROID_MARKET: return ANDROID_MARKET_URL;
 case AMAZON_APPSTORE: return AMAZON_APPSTORE_URL;
}

Build twice, then done.

-------------------------------------------------------------------------------------------------
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 [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