0

アプリケーションに Glympse API を統合したいのですが、モバイル アプリケーションに 2 人のユーザーがいて、アプリケーションを別々に使用しており、ある人が別の人のリアルタイムの位置を確認したい場合、両方とも異なるモジュールで同じアプリケーションで動作します。 .

Glympse API で実行可能ですか?

さらに、次のコードを使用して Glympse チケットを送信しようとすると、GlympseLiteWrapper からインスタンスを取得しているときに Null ポインターを取得しています。

**/*Send a Glympse*/**
        GTicketLite ticket = LiteFactory.createTicket(3600000, "Going home!", null);
        // Set flags that adjust the presentation of the Glympse Send Wizard. 
        // These can enable/disable fields in the wizard screen.
        final int WIZARD_FLAGS 
         = LC.SEND_WIZARD_INVITES_EDITABLE
         | LC.SEND_WIZARD_MESSAGE_EDITABLE
         | LC.SEND_WIZARD_DESTINATION_EDITABLE
         | LC.SEND_WIZARD_TIME_EDITABLE;
        // Launches the wizard which will send the Glympse
        GGlympseLite glympse = GlympseLiteWrapper.instance().getGlympse();
        glympse.sendTicket(ticket, WIZARD_FLAGS);
4

1 に答える 1