私はあなたのAndroidアプリケーションにkiipを統合しようとしています。私はhttps://kiip.me/デベロッパーサイトから最新のsdkとサンプルのサンプルをダウンロードしました。また、私はkiip.meサイトに新しいアプリを作成しました。kiip integration with android
すべて問題はありませんが、私はKPResource nullを取得しているので、No Promoを表示しています。 は、ここで私はでONSTARTを使用していますのリスナーである()メソッド:スタートセッションませプロモを完成しない:ここでは、応答
public void onStart() {
super.onStart();
// The Activity context has been created by now, so start a new session.
KPManager.getInstance().startSession(mStartSessionListener);
}
private KPRequestListener<KPResource> mStartSessionListener = new KPRequestListener<KPResource>() {
public void onFinished(KPManager manager, KPResource response) {
if (response != null) {
toast("Start Session Finished w/ Promo");
} else {
toast("Start Session Finished No Promo");
}
manager.showResource(response);
// Start retrieving user's location
new LocationHelper(ExampleApplication.this).requestLocationUpdates(mLocationListener);
}
はそうメッセージを取得し、常にnullです。誰もが同様の問題を抱えている場合は、あなたの意見を共有してください。
ありがとうございます。