This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by youngbin on 13. 12. 22. | |
*/ | |
package com.example.app; | |
import android.content.Intent; | |
import android.os.IBinder; | |
import android.util.Log; | |
import android.view.MotionEvent; | |
import android.view.View; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape android:shape="rectangle" | |
android:dither="true"> | |
<corners android:radius="2dp"/> | |
<solid android:color="#ccc" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ STOP | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ START | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ STOP | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ START | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ STOP | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ START | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ STOP | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ START | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ STOP | |
02-12 12:19:20.981 1771-1771/com.hybdms.glownotifier D/GlowBlinkerοΉ START |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hybdms.glownotifier; | |
import android.app.Service; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.graphics.Color; | |
import android.os.Handler; | |
import android.os.IBinder; | |
import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GlowNotifier Application for Android | |
* Copyright (C) 2013 Youngbin Han<[email protected]> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Gradle λΉλ μ€ν¬λ¦½νΈ μμ | |
* | |
* μλ GitHub μ μ₯μλ₯Ό μ°Έμ‘°νμ¬ μμ±νμμ΅λλ€. | |
* https://github.com/GDG-Korea/GradleCodeLab | |
*/ | |
buildscript { | |
repositories { | |
//λ©μ΄λΈ μ€μ μ μ₯μλ₯Ό μ¬μ©νλλ‘ λͺ μ | |
mavenCentral() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================= | |
package com.youngbin.assistscreen.plugin; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.util.Log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/sh | |
echo "========================================" | |
echo "====================" | |
echo "Android Studio Install Script" | |
echo "====================" | |
echo "" | |
echo "====================" | |
echo "Adding PPAs..." | |
echo "====================" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as GPIO | |
import time | |
print "Ready?" | |
time.sleep(5) | |
print "Setting GPIO Mode as BCM" | |
GPIO.setmode(GPIO.BCM) | |
print "Setting Up GPIO from 2 to 9" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
make clean | |
export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH | |
export AR=arm-linux-gnueabihf-ar | |
export CC=arm-linux-gnueabihf-gcc | |
export CXX=arm-linux-gnueabihf-g++ | |
export LINK=arm-linux-gnueabihf-g++ | |
./configure --without-snapshot --dest-cpu=arm --dest-os=linux | |
make -j4 |
OlderNewer