--
Google 그룹스 '앱스프레소' 그룹에 가입했으므로 본 메일이 전송되었습니다.
이 그룹에서 탈퇴하고 더 이상 이메일을 받지 않으려면 appspresso-k...@googlegroups.com에 이메일을 보내세요.
더 많은 옵션을 보려면 https://groups.google.com/groups/opt_out을(를) 방문하세요.
아래 소스는 제가 실제로 쓰는 구문입니다. 한번 비교해보시는게 ㅎㅎ
function getPushKey(callback, errback, memberId)
{
if(!memberId) {
throw ax.error(ax.INVALID_VALUES_ERR, 'invalid argument!');
}
return this.execAsync('getPushkey', callback, errback, [ memberId||'' ]);
}
window.myplugin = ax.plugin('kr.co.hiedition.bplan', {
"echoSync" : echoSync,
"echoAsync" : echoAsync,
"getPushKey" : getPushKey
});
--
Google 그룹스 '앱스프레소' 그룹의 주제에 가입했으므로 이 메시지를 받으셨습니다.
이 주제에서 탈퇴하려면 https://groups.google.com/d/topic/appspresso-ko/K3BHz51FxCc/unsubscribe?hl=ko을(를) 방문하세요.
이 그룹 및 그룹의 모든 주제에서 탈퇴하려면 appspresso-k...@googlegroups.com에 이메일을 보내세요.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="@PACKAGE@"
android:installLocation="@INSTALL_LOCATION@"
android:versionCode="@VERSION_CODE@"
android:versionName="@VERSION_NAME@" >
<application
android:icon="@drawable/ax_icon"
android:label="@string/ax_name" >
<activity
android:name="@ACTIVITY@"
android:configChanges="orientation|keyboard|keyboardHidden"
android:screenOrientation="@ACTIVITY_ORIENTATION@"
android:theme="@ACTIVITY_THEME@" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- If you want to add another android components, please let them be here. -->
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.example.ax.gcmtest" />
</intent-filter>
</receiver>
<service android:name="com.example.ax.gcmtest.GCMIntentService" />
</application>
<permission android:name="com.example.ax.gcmtest.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.example.ax.gcmtest.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
@USES_PERMISSION@
@USES_SDK@
</manifest>
--
<permission android:name="com.example.ax.test2.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.ax.test2.permission.C2D_MESSAGE" />
여기부분에 안드로이드 네임 값이 잘못 된거같네요??
앱 패키징 하실때 아이디값이 어떻게 되죠?
======================================================
죄송합니다.
앱 패키징 하실때 아이디값이 어떻게 되죠?
이 질문이 폴더명 GcmTestPlugin의 아이디값을 말씀하시는 건가요.(아이디값 : com.example.ax.gcmtest <== 변경 없이 주신 소스 그대로 이구요.)
아니면 실제 작업한(폴더명 test2)의 아이디 값을 말씀하시는 건가요.(아이디값 : com.example.ax.test2 입니다.)
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.example.ax.test2" /> <=== 이부분하고
</intent-filter>
<service android:name="com.example.ax.gcmtest.GCMIntentService" /> <=== 이부분하고
<permission android:name="com.example.ax.test2.permission.C2D_MESSAGE" android:protectionLevel="signature" /> <=== 이부분하고
<uses-permission android:name="com.example.ax.gcmtest.permission.C2D_MESSAGE" /> <=== 이부분하고
이곳에서 문제가 발생하는가 보내요... 설명해주신 부분으로 보았을때는요...
어떻게 바꾸면 되는지 조언좀 부탁 드립니다.
죄송합니다.
안드로이드 gcm 관련 모듈 성공하신분 도움 주실분 없으신가요?