Skip to content

Instantly share code, notes, and snippets.

Verifying that +samcleaver is my blockchain ID. https://onename.com/samcleaver
@samcleaver
samcleaver / TestCase1.js
Last active December 24, 2015 00:59
TIMOB-10212
/*
*
* Sam's Test Case
* (It's essentially just the example given for audioPlayer in the docs
* with getDuration added to the progress event listener.)
* getDuration() Call
* 0.1
*/
//Create an audioPlayer
var win = Titanium.UI.createWindow({
@samcleaver
samcleaver / NoteEdit.java
Created April 10, 2013 12:40
Why override onBackPressed when you can just override finish()?
package com.example.cunoteapp;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;