Skip to content

Instantly share code, notes, and snippets.

View odbol's full-sized avatar

Tyler Freeman odbol

View GitHub Profile
@odbol
odbol / TimePreference.java
Last active May 10, 2021 04:17 — forked from nickaknudson/TimePreference.java
TimePicker DialogPreference for Android - fixed to respect user's 24 hour formatting preferences
package com.xxx.xxx.preference;
package com.odbol.android;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import android.content.Context;
/*
* robotNav.js
*
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
*/
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the