Skip to content

Instantly share code, notes, and snippets.

View wseemann's full-sized avatar

William Seemann wseemann

View GitHub Profile
import java.util.Scanner;
public class SampleMain {
public static void main(String [] args) {
Scanner scanner = new Scanner(;
// validate input
String validInput = validateInput(scanner);
int set_data_source_fd(State **ps, int fd, int64_t offset, int64_t length) {
char path[256] = "";
State *state = *ps;
ANativeWindow *native_window = NULL;
if (state && state->native_window) {
native_window = state->native_window;
wseemann /
Created December 20, 2016 04:16 — forked from cogwirrel/
Build curl and openssl for all android architectures
./libcurl_builder <options>
-c <curl_directory> The top level curl directory
-s <openssl_directory> The top level openssl directory
-n <ndk_directory> The top level ndk directory