回答編集履歴

1

具体的な修正案があったので追記しました。

2015/12/25 11:51

投稿

ueno
ueno

スコア221

test CHANGED
@@ -34,7 +34,9 @@
34
34
 
35
35
  今回、MyReceiverでの登録がうまく行えていないような気がします。
36
36
 
37
- そこでまずPushを受け取れているレシーバーの登録と同じ記述をします。以下のようにします。
37
+ そこでまずPushを受け取れているレシーバーの登録と同じ記述をします。
38
+
39
+ ・・・と書いたものの実際に前作ったものでこんな感じに記述しました。
38
40
 
39
41
 
40
42
 
@@ -44,11 +46,11 @@
44
46
 
45
47
  <intent-filter>
46
48
 
47
- <action android:name="com.google.android.c2dm.intent.RECEIVE" />
49
+ <action android:name="com.parse.push.intent.RECEIVE" />
48
50
 
49
- <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
51
+ <action android:name="com.parse.push.intent.OPEN" />
50
52
 
51
- <category android:name="com.example.shiba.stuguin" />
53
+ <action android:name="com.parse.push.intent.DELETE" />
52
54
 
53
55
  </intent-filter>
54
56
 
@@ -56,8 +58,6 @@
56
58
 
57
59
  ```
58
60
 
59
- こうするのはどうでしょう?
60
61
 
61
- これでひとまずPushを受け取れているレシーバーと同じintent-filterを付与して受け取れるのではないか?
62
62
 
63
- と考えした
63
+ こんな感じで受け取れてい