Skip to content

Instantly share code, notes, and snippets.

View a1yama's full-sized avatar

あいやま EIichi Yamazaki a1yama

View GitHub Profile
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.support.v4.content.WakefulBroadcastReceiver;
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
package jp.hoge.webview;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends Activity {
hello = ->
console.log("Hello World!")
hello()