Last active
December 16, 2015 06:49
-
-
Save yagitoshiro/5393992 to your computer and use it in GitHub Desktop.
AppIdが「app.gcmtest.android」だった場合のGCMのtiapp.xmlの設定
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--前略--> | |
<android xmlns:android="http://schemas.android.com/apk/res/android"> | |
<tool-api-level>8</tool-api-level> | |
<manifest android:versionCode="1" android:versionName="1.0" package="com.activate.mohh"> | |
<supports-screens android:anyDensity="true"/> | |
<uses-sdk android:minSdkVersion="8"/> | |
<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="app.gcmtest.android"/> | |
</intent-filter> | |
</receiver> | |
<service android:name="com.activate.gcm.GCMIntentService"/> | |
</manifest> | |
</android> | |
<!--中略--> | |
<modules> | |
<module platform="android">com.activate.gcm</module> | |
</modules> | |
<property name="com.activate.gcm.sender_id" type="string">YOUR_PROJECT_ID</property> | |
<property name="com.activate.gcm.icon" type="int">2130837504</property> | |
<property name="com.activate.gcm.component" type="string">app.gcmtest.android.GcmtestappActivity</property> | |
<!--後略--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
の中は記載不要でした。
https://github.com/yagitoshiro/Google-Cloud-Messaging--Titanium-/blob/master/timodule.xml
から
build/android/AndroidManifest.xml
が自動生成されています。