Skip to content

Instantly share code, notes, and snippets.

View ananthrajsingh's full-sized avatar
🏗️

Ananth Raj Singh ananthrajsingh

🏗️
View GitHub Profile
@lpbas
lpbas / GPIO.java
Last active September 27, 2019 08:39 — forked from rosterloh/gpio.java
Android class for GPIO control
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
This class allows you to control GPIO pins form android, by abstracting the command line excecution into a java class.
IMPORTANT NOTE: Requires root to run, since it is required to write to GPIO ports in /sys/class/gpio/
*/
public class GPIO {
@stepio
stepio / build.gradle
Last active August 8, 2023 07:47 — forked from qrtt1/aar-deps.gradle
gradle: package *.jar into aar
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 1
versionName "1.0"
@stkent
stkent / android-bluetooth-low-energy-resources.md
Last active February 8, 2024 16:22
Android Bluetooth Low Energy (BLE) Resources