1. 레이아웃을 만들어줍니다. 2. 소스코드를 입력합니다. using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace HelloWorld { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button_..
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace HelloWorld { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e..
FFMpeg를 이용해 안드로이드 동영상 편집 앱 만들기 동영상 편집앱 - Trim 기능 (자르기) AndroidManifest.xml build gradle(Module) apply plugin: 'com.android.application' android { compileSdkVersion 29 defaultConfig { applicationId "com.jwlee.jwvideo" minSdkVersion 16 targetSdkVersion 29 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false..
XML Code Java Code import java.io.FileNotFoundException; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import android.media.ExifInterface; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore.Images; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; im..
AndroidManifest.xml Code /* AndroidManifest.xml 에 추가해야할 인터넷 사용 허가권 */ Xml Code TCP Server Java Code import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class TCPServer implements Runnable { public static final int ServerPort = 999..