Best practice: Extending or overriding an Android library project class

前端 未结 7 1717
春和景丽
春和景丽 2020-12-04 15:31

We\'re using an Android Library Project to share core classes and resources across different builds (targets) of our Android application. The Android projects for each speci

7条回答
  •  暖寄归人
    2020-12-04 16:14

    Could you, please, clarify what is different in Kindle and regular Android? I think - they are the same. What you need is different resources for Kindle and other devices. Then use appropriate resource. For example I use 2 links to store:

    <a href=http://market.android.com/details?id=com.puzzle.jigsaw>Android Market</a> or <a href=http://www.amazon.com/gp/mas/dl/android?p=com.puzzle.jigsaw>Amazon Appstore</a> <br>http://market.android.com/details?id=com.puzzle.jigsaw <br>href=http://www.amazon.com/gp/mas/dl/android?p=com.puzzle.jigsaw
    <a href=http://www.amazon.com/gp/mas/dl/android?p=com.puzzle.jigsaw>Amazon Appstore</a> <br>href=http://www.amazon.com/gp/mas/dl/android?p=com.puzzle.jigsaw
    

    and use appStore for all none Amazone product and appStore_amazon for Kindle.

    How to determine where are you on run time - that would be another question which was answered here many times.

提交回复
热议问题