Skip to content

Commit

Permalink
Merge pull request #215 from tukcomCD2024/Android_i
Browse files Browse the repository at this point in the history
이미지 URL 메시지 삭제
  • Loading branch information
Chan3711 authored May 16, 2024
2 parents 39ca273 + 302ee60 commit 3954e03
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class PageActivity : AppCompatActivity() {
}


//val imageUrl = intent.getStringExtra(UrlTestActivity.EXTRA_IMAGE_URL)
val imageUrl = intent.getStringExtra(PaintActivity.IMAGE_URL)

// WebView가 로드되면 이미지를 업로드하는 함수 호출
Expand Down Expand Up @@ -136,8 +135,7 @@ class PageActivity : AppCompatActivity() {
val jsFunction = "uploadImageToEditor('$imageUrl')"
webView.evaluateJavascript(jsFunction, null)
} else {
// 이미지 URL이 null인 경우 처리
Toast.makeText(this, "이미지 URL을 가져올 수 없습니다.", Toast.LENGTH_SHORT).show()

}
}

Expand Down

0 comments on commit 3954e03

Please sign in to comment.