2012-08-09 3 views
1

저는 BBM SDK 샘플과 개발 가이드를 읽었습니다. 응용 프로그램이 BBM 플랫폼 서비스를 사용하려면 먼저 등록해야합니다 (이 액세스를 요청하는 RIM의 서버에 호출입니다) :BlackBerry Messenger 통합 : 프로덕션 환경의 UUID

BBMPlatformManager.register(BBMPlatformApplication)

BBMPlatformApplication의 인스턴스가 매개 변수로 전달됩니다. 샘플에서는, 인스턴스가 생성자에 UUID 문자열 매개 변수를 전달 만든 다음 UUID 만 필요 같은 제한된 수를 의미한다 "테스트 환경"(용으로 컴파일 할 때 코멘트를 읽기

/** 
    * An UUID is used to uniquely identify the application in the test environment 
    * before the application is available in AppWorld. If the application exists in 
    * AppWorld, the UUID will not be used to identify the application. 
    * 
    * To run this app, you should generate a different UUID, because there is a 
    * limit to the number of users who can share the same UUID. 
    * Search for "UUID Generator" on the web for instructions to generate a UUID. 
    * 
    * For instance, browse to: 
    *  http://www.uuidgenerator.com/ 
    * and copy a UUID in the 8-4-4-4-12 format on the left side of the page. 
    */ 
    private static final String UUID = ""; 


    /** 
    * BBMPlatformApplication serves to provide certain properties of the application 
    * to the BBM Social Platform. It is used as a parameter inBBMPlatformManager.register(). 
    * 
    * If your application wants to be invoked in a non-default way, e.g. when 
    * you have multiple entry points, you need to subclass from BBMPlatformApplication 
    * and override certain methods. 
    */ 
    private final BBMPlatformApplication _bbmApp = new BBMPlatformApplication(UUID); 

것 같습니다 동시 사용자 수, 내 생각 엔). 그러나 App World에 게시 될 애플리케이션의 클래스를 인스턴스화하는 방법은 설명하지 않습니다. 생성자의 online development guide example에서

BBMPlatformApplication 확장되고, 다시 UUID 슈퍼에 전달됩니다

private class MyBBMAppPlugin extends BBMPlatformApplication 
{ 
    public MyBBMAppPlugin() 
    { 
     super("Insert your UUID here"); 
    } 
} 

는 앱 세계 환경에 필요한 UUID인가? 그렇다면 앱이 제출되면 어떻게받을 수 있습니까?

감사합니다.

+0

하이에서이다, 어떤 SDK는 BBM 통합을 위해 사용하고, 난 내 응용 프로그램에 BBM을 통합 할 필요가있다.? – Vendetta

+0

@Vendetta for BB7 and earlier, [here] (http://developer.blackberry.com/html5/documentation/bbm_sdk_for_ww_1878476_11.html) –

+0

안녕하세요, smith 답장을 보내 주셔서 감사합니다.이 게시물에 게시했습니다. (http : // stackoverflow .com/questions/16538301/programmatically-share-the-text-in-bbm-blackberry), 친절하게도 – Vendetta

답변

2

UUID는 테스트/사전 제작 환경에서 응용 프로그램을 고유하게 식별하는 데 사용됩니다. 프로그램을 BlackBerry App World에 업로드하면 더 이상 사용되지 않습니다. UUID를 변경하면 서로의 응용 프로그램 테스트를 수행 할 수 있습니다.

이 정보가 http://devblog.blackberry.com/2012/05/bbm-uuid/

관련 문제