728x90 ๐จ๐ผ๐ป๊ฐ๋ฐ/์๋๋ก์ด๋ ์คํ๋์ค16 ์๋๋ก์ด๋ ์คํ๋์ค - ๋ฉ๋ด๋ฐ ๋ฐ ๋ฉ๋ด ์์ดํ ์กฐ์ํ๊ธฐ ํ๋ก์ ํธ ํ์ผ์์ res ํด๋์ menu ํด๋๋ฅผ ์์ฑํ๊ณ , menu.xml ์์ฑ item์ ์ง์ด๋ฃ๊ณ id ๊ฐ์ ์ค์ package com.app.dbcontrol; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS.. 2021. 11. 23. ์๋๋ก์ด๋ ์คํ๋์ค - ๋ง์ง๋ง ํ๋ก์ ํธ ์๋ ์ด๊ธฐ ํด์ Settings๋ก ์ด๋ ๊ฒ์์ฐฝ์ reopen ์ ๋ ฅํ์ Reopen last project on startup ์ฒดํฌ ํด์ ์ฐธ์กฐ: https://fiftiesstudy.tistory.com/126 ํํธ012_๋ง์ง๋ง ํ๋ก์ ํธ ์๋ ์ด๊ธฐ ํด์ ์๋๋ก์ด๋ ์คํ๋์ค๋ ์คํํ๋ฉด ๋ง์ง๋ง์ ์์ ํ ํ๋ก์ ํธ๋ฅผ ์๋์ผ๋ก ์ฌ๋ ๊ธฐ๋ฅ์ด ๊ธฐ๋ณธ์ผ๋ก ์ค์ ๋์ด ์๋ค. ์ด๊ฒ์ ํด์ ํ๋ ค๋ฉด File > Settings์์ ์ค์ ํ๋ฉด ๋๋ค. ๊ฒ์์ฐฝ์ reopen(๋ค์์ด๊ธฐ)๋ฅผ fiftiesstudy.tistory.com 2021. 11. 23. ์๋๋ก์ด๋ ์คํ๋์ค - ์กํฐ๋นํฐ ํ๋ฉด ์ ํ ์์ค Intent intent = new Intent(getBaseContext(), SecondActivity.class); startActivity(intent); 2021. 11. 16. ์๋๋ก์ด๋ ์คํ๋์ค - The activity must be exported or contain an intent-filter "The activity must be exported or contain an intent-filter" ์ฃผ๋ก ์๋ก์ด Activity๋ฅผ ์์ฑํด์ ์คํ์ํค๋ ค๊ณ ํ ๋ ๋ฐ์ํ๋ ์ค๋ฅ ์ฐ์ manifests ํด๋์ ์๋ ANdroidManifest.xml๋ก ์ด๋ ๋ง์ฝ Activty ์ด๋ฆ์ด IntroActivity์ธ ๊ฒฝ์ฐ ์ ์์ ๋ฅผ ์ฝ์ ๊ทธ๋ฌ๋๊น ๋๋๋ผ 2021. 11. 16. ์ด์ 1 2 ๋ค์ 728x90