문제

Is there any chance to get the app link(link from AppWorld) directly from the code?

It will be very helpful for me since I have more distributions of the same app and don't want to hard-code those links anymore. The link is used to open AppWorld at the app's page in order to update it.

I know that the application descriptor is edited after the app is published, and maybe the appWorld link is included into descriptor.

도움이 되었습니까?

해결책

The App Id is a part of the application metadata. It has the name "RIM_APP_WORLD_ID".

// If you are targeting 4.3+, use this:
String myAppName = "My Amazing App"; //Name of your app
CodeModuleGroup group = CodeModuleGroupManager.load( myAppName );
String appid = group.getProperty("RIM_APP_WORLD_ID");

Check out this sample code Getting Info from the App World

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top