Reputation: 1241
I have a WP7 app for which I created custom keyboards, now some of the keyboards are officially available in WP8.
I cannot publish the same app for both WP7 and WP8 separately, if I select to publish the app for the WP7, it is also available for WP8.
I want to implement a logic that if the OS of the phone is WP8 then it should not use the custom keyboard and vice versa.
It can be done in two ways:
I check for the available language, if the language (or the keyboard layout) is available on the phone, then it shouldn't use the custom keyboard.
I check for the OS, if it is 8 or later then it shouldn't use the custom keyboard.
THE QUESTION
How can I get the list of available/supported keyboards' languages? or How to get the WP OS version?
Upvotes: 0
Views: 250
Reputation: 906
If you pubslih WP7.1 app to the WP Store, then you are right, both platforms would see that app. But, if you publish seperately two XAPs to Store, one for WP 7.1 version and one for Windows Phone 8, then all WP 8 users would see only app that you make only for WP 8 platform.
Best regards
Upvotes: 1