Skip to content

Instantly share code, notes, and snippets.

@seongchan
seongchan / roundTable.html
Created December 11, 2024 07:16
html ํ…Œ์ด๋ธ” ๋ผ์šด๋“œ ์ฒ˜๋ฆฌ
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>๋ผ์šด๋“œ ๋ชจ์„œ๋ฆฌ ํ…Œ์ด๋ธ”</title>
<style>
table {
border-collapse: collapse;
width: 100%;
@seongchan
seongchan / WebPageLoadActivity.java
Last active July 30, 2020 01:06
WebView ์—์„œ ์ž„์˜ ํŽ˜์ด์ง€๊ฐ€ ๊ณ„์† ๋กœ๋”ฉ๋˜๋Š” ํ˜„์ƒ ํ”ผํ•˜๊ธฐ.
package com.clipandbooks.test.myapplication;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebResourceError;
@seongchan
seongchan / sample_layout.xml
Created September 19, 2016 08:26
Android ImageView Brightness using xml file
<!--
See android:tint and android:tintMode
-->
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sample_img"
android:tint="#CCCCCC"
android:tintMode="add"/>
@seongchan
seongchan / EditTextPhoneNumberActivity.java
Last active September 30, 2022 23:08
(Android) EditText for Phone number style (XXX-XXXX-XXXX)
// impport, package name skipped...
public class EditTextPhoneNumberActivity extends Activity implements View.OnClickListener{
private EditText mPhoneNumber;
private TextView mOutputNumber;
private TextView mOutputNumber_refined;
private Button mBtn;
@seongchan
seongchan / ExecuteAppOrGoStore.html
Last active June 20, 2019 11:13
Execute App at Mobile WebPage
<!--
2015.10.29
Hong SeongChan ([email protected])
-------------------------------------------
๋ชจ๋ฐ”์ผ ์›น ํŽ˜์ด์—์„œ ๊ฐœ๋ฐœํ•˜๊ณ  ์žˆ๋Š” ์•ฑ์ด ์‹คํ–‰์ด ์•ˆ๋˜๊ธธ๋ž˜ ์ƒ˜ํ”Œ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•ด ๋ด„.
์ด ์†Œ์Šค์˜ ์ „์ œ ์กฐ๊ฑด์€ uri scheme ๋ฐฉ์‹์ด ์ ์šฉ๋œ ์•ฑ์„ ๊ธฐ์ค€์œผ๋กœ ํ•œ๋‹ค.
Android ์•ฑ์˜ ๊ฒฝ์šฐ intent๋ฅผ ์ด์šฉํ•œ ๋ฐฉ์‹์„ ์ฃผ๋กœ ์‚ฌ์šฉํ–ˆ๊ฒ ์ง€๋งŒ, ๋ชจ๋ฐ”์ผ ์›น์„ ๊ณ ๋ คํ•œ๋‹ค๋ฉด uri scheme์„ ์ ์šฉํ•˜๋Š”๊ฒŒ ์œ ๋ฆฌํ•˜๋‹ค.
(์›น์ชฝ ์ฝ”๋“œ๊ฐ€ ๋‹จ์ˆœํ•ด ์ง„๋‹ค.)
์•„๋ž˜ ์ฝ”๋“œ๋Š” ์ด๋Ÿฌํ•œ ์ „์ œ๋กœ ์ž‘์„ฑ๋˜์—ˆ๋‹ค.
-->