1. Getting your Sender ID
● STEP 1. Register Here.
● STEP 2. Click Create project. Your browser URL will change to something like
https://code.google.com/apis/console/#project:3012522433520:services
Take note of the value after #project:(3012522433520 in this example). This is your project ID. and it will be used later
on as the GCM sender ID. This id will be used by the Android Device While Registering for Push Notification.
● STEP 3. Choose Service tab from the left side menu on the web page. and turn on "Google Cloud Messaging for Android"
● STEP 4. Go to API Access tab from the left menu of web page.
Press Create new Server key and note down the generated key
2. Install the Helper Libraries
SDK Manager의 Extra > Google Cloud Messaging for Android library
3. Writing the Android Application
- 생략 -
4. Writing the Server-side Application
- 생략 -
참고 site : http://developer.android.com/guide/google/gcm/gs.html#server-app
'프로그래밍 > 안드로이드' 카테고리의 다른 글
[안드로이드] 아이콘 이미지 제작은 어떻게?? (0) | 2013.03.26 |
---|---|
[안드로이드] 메모리 관리 (0) | 2012.11.05 |
[안드로이드] 클릭 한 번으로 Default Home 해제 (0) | 2011.01.13 |
[안드로이드] Intent 로 Activity 간에 data 주고 받기 (0) | 2011.01.13 |
[안드로이드] String 문자열 공백 제거 및 언어 구분 (0) | 2010.12.17 |