Skip to content

Instantly share code, notes, and snippets.

View jerryOkafor's full-sized avatar

Jerry Hanks Okafor jerryOkafor

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
@jerryOkafor
jerryOkafor / MessagingEndpoint.java
Created June 18, 2016 00:49
This will show u how to send the messages
/*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Backend with Google Cloud Messaging" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/GcmEndpoints
*/
package com.dotdex.squattn;
import com.dotdex.squattn.models.RegistrationRecord;
import com.dotdex.squattn.util.Utility;
@jerryOkafor
jerryOkafor / FileChooser.java
Created April 23, 2016 09:04
This gist is to enable you select, or choose a file, stringfy it and uplaod to server
package com.dipoletech.unnmobile;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.database.Cursor;
import android.graphics.Color;