Skip to content

Instantly share code, notes, and snippets.

View karrel84's full-sized avatar

karrel karrel84

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ImageView
android:layout_width="400dp"
@karrel84
karrel84 / FcmPushTest.java
Created September 12, 2017 00:59
서버에서 iOS로 FCM푸쉬를 전송하기위한 예제 입니다.
package kr.co.karrel;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import org.json.JSONObject;