Skip to content

Instantly share code, notes, and snippets.

View the-jedi-droid's full-sized avatar

Suhas Mandrawadkar the-jedi-droid

View GitHub Profile
package io.hypertrack.driverdemo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
package io.hypertrack.htdemo;
import com.hypertrack.android.sdk.base.network.HyperTrack;
import com.hypertrack.android.sdk.base.view.HTMapFragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.view.LayoutInflater;
import android.view.Menu;
package io.hypertrack.driverdemo;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.support.v4.app.FragmentManager;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v7.app.AppCompatActivity;
apply plugin: 'com.android.application'
repositories {
maven {
url 'https://customers.pspdfkit.com/maven/'
}
}
android {
compileSdkVersion 23
@the-jedi-droid
the-jedi-droid / ubuntu-cli-install-android-sdk.sh
Created February 9, 2017 06:58 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff
@the-jedi-droid
the-jedi-droid / AndroidDevLinux
Created February 9, 2017 06:59 — forked from venkateshshukla/AndroidDevLinux
Setting up your Linux for Android Application Development
Step 1. Preparation
--------------------
First take care of the dependencies for Android Application Development.
Dependencies are -
1. Java
2. ant
3. Eclipse and Android Development tools (IDE)
4. Android SDK and NDK
5. adb
@the-jedi-droid
the-jedi-droid / osx_bootstrap.sh
Last active April 3, 2018 23:42 — forked from Nimrodda/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/bin/bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Notes:
#
# - If installing full Xcode, it's better to install that first from the app
# store before running the bootstrap script. Otherwise, Homebrew can't access