Porting Android app to run on BlackBerry 10 Android runtime - Google Maps

后端 未结 3 409
旧巷少年郎
旧巷少年郎 2021-01-25 07:30

I have an Android app that I want to make available to BlackBerry 10 users by porting for the BB Android Runtime. The only stumbling block is my Android app uses Google Maps AP

3条回答
  •  温柔的废话
    2021-01-25 07:55

    The map screen is only a small feature of the app and I'm happy to disable it for BlackBerry users, but is this possible?

    You can add android:required="false" to your element, and detect at runtime whether you have the MapActivity class before trying to link to your map. Here is a sample app demonstrating this.

    In theory, BB's packager should allow this. Whether it does or not, I cannot say.

提交回复
热议问题