Notice
Recent Posts
Recent Comments
Link
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- Java
- ๋ฐ์ดํฐ๋ฒ ์ด์ค
- Python
- ์๋ฐ
- ๋ ์
- ํ๋ก๊ทธ๋๋ฐ
- ์ค๋ธ์
- ๋ผํ๋ผ์ค์๋ง๋
- database
- ๋ง์ผ๋ด๊ฐ์ธ์์๋ค์์ฐ๋ค๋ฉด
- ์ปดํจํฐ๊ณผํ
- ํฐ์คํ ๋ฆฌ์ฑ๋ฆฐ์ง
- JavaScript
- ์๋ฐ์คํฌ๋ฆฝํธ
- ์นํ์ด์ง๋ง๋ค๊ธฐ
- ์นํผ๋ธ๋ฆฌ์ฑ
- ๋ฆฌ์กํธ
- ์ฑ
- ํ์ด์ฌ
- K๋ฐฐํฐ๋ฆฌ๋ ๋ณผ๋ฃจ์
- ์ฝ๋ฉ
- ComputerScience
- ๋ฐ์ํ
- css
- ๊น๋ฏธ๊ฒฝ์๋งํ์์
- ๊ฐ๋ฐ
- ์ํ
- K๋ฐฐํฐ๋ฆฌ
- ์ค๋ผํด
- html
Archives
- Today
- Total
JiYoung Dev ๐ฅ
[Android] android studio ๋ก๋ฉ ํ๋ฉด ์ค์ (2023.07.26) ๋ณธ๋ฌธ
full stack/์๋๋ก์ด๋
[Android] android studio ๋ก๋ฉ ํ๋ฉด ์ค์ (2023.07.26)
Shinjio 2023. 7. 26. 09:52Handler ์ฌ์ฉ
package com.sjy.fragment
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
class IntroActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_intro)
val handler = Handler()
//postDelayed(๋ญํ ๊ฑด์ง(action), ๋๋ ์ด์๊ฐ(ms))
handler.postDelayed({
//Intro ํ๋ฉด์ด ๋ณด์ด๊ณ 3์ด ๋ค์ MainActivity๋ก ์ ํ (Intent ์ฌ์ฉ)
var intent = Intent(this, MainActivity::class.java)
startActivity(intent)
}, 3000)
}
}
manifest์์ ์ฒซ ํ๋ฉด์ผ๋ก introActivity๊ฐ ๋ณด์ด๋๋ก ์ค์
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Fragment"
android:usesCleartextTraffic="true"
tools:targetApi="31">
<activity
android:name=".IntroActivity"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:exported="false"><!--exported ๋ฐ๋ก ์คํ ์์ฑ-->
</activity>
</application>
</manifest>
'full stack > ์๋๋ก์ด๋' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Android] FireBase ์ฐ๋ (2023.07.25~27) (0) | 2023.07.26 |
---|---|
[Android] SharedPreference (2023.07.26) (0) | 2023.07.26 |
[Android] android studio ํฐํธ ์ ์ฉ (2023.07.26) (0) | 2023.07.26 |
[Android] ํ๋๊ทธ๋จผํธ(Fragment) (2023.07.25) (0) | 2023.07.25 |
[Android] ํฌ์ผ๋ชฌ ๋๊ฐ ๋ง๋ค๊ธฐ (Volley, RecyclerView) (2023.07.24~25) (0) | 2023.07.25 |