[Android] Convert Android Java code to Kotlin

Converts Java-coded Android app code to Kotlin code and About starting to the app

■ I tried to summarize it in the video, so please have a look https://www.youtube.com/watch?v=ZLxHyrmqs1c IMAGE ALT TEXT HERE

■ I will introduce the procedure introduced in the video

step 1. Install the Kotlin plugin in Android Studio 1-1. Select [Plugins] → [Install JetBrains plugin] from the Android Studio settings 1-2. Select Kotlin to install 1-3. Restart Android Studio kotlinプラグインインストール.PNG

Step 2. Convert Java code to Kotlin 2-1. Select [Code] → [Convert Java File to Kotlin File] kotlin変換.PNG 2-2. After deciding that it has been converted to Kotlin code, click Configure to write the required code in the gradleBuild file. kotlinConfigure.PNG

Step 3. Launch the app kotlin起動完了.PNG

■ Execution environment ・ Android Studio 2.3.3 ・ PC Mac ・ Smartphone capture software Vysor

■ Poster page HP:http://nana-h.hatenablog.com/

■ Introduction video https://www.youtube.com/watch?v=ZLxHyrmqs1c

Recommended Posts

[Android] Convert Android Java code to Kotlin
Convert all Android apps (Java) to Kotlin
[Android] Convert Map to JSON using GSON in Kotlin and Java
Convert Java Powerpoint to XPS
How to convert Java radix
[Java] Convert ArrayList to array
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 3
Sample code to convert List to List <String> in Java Stream
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 2
Mastering Kotlin ~ Convert Java File to Kotlin File Road to Graduation ~ Part 1
Refer to C ++ in the Android Studio module (Java / kotlin)
Kotlin Class to send to Java developers
[Java] Convert 1-to-N List to Map
[Java] Convert array to ArrayList * Caution
Kotlin Class part.2 to send to Java developers
Convert from java UTC time to JST time
[Java] Convert Object type null to String type
Convert SVG files to PNG files in Java
Kotlin scope functions to send to Java developers
[Java] Flow from source code to execution
Memo for migration from java to kotlin
Java to C and C to Java in Android Studio
Java code TIPS
Java sample code 02
Java sample code 03
Java sample code 04
[Java] Introduction to Java
Introduction to java
Java sample code 01
Java character code
Kotlin vs. Java: Which Programming Language to Choose for Your Android App
Kotlin functions and lambdas to send to Java developers
Specify Java / Kotlin compile-time options for Android apps
[Android] How to convert a character string to resourceId
Introduce Kotlin to your existing Java Maven Project
Migrate from Java to Server Side Kotlin + Spring-boot
Initial settings for rewriting Java projects to Kotlin
How to convert a solidity contract to a Java contract class
Getting started with Kotlin to send to Java developers
What I did when I converted java to Kotlin
Convert Java nested beans to aaa.bbb [0] .ccc format
Where Java programmers tend to trip over Kotlin
How to write Java String # getBytes in Kotlin?
What Java inexperienced people did to study Kotlin
Summary of good points and precautions when converting Java Android application to Kotlin
Launch Docker from Java to convert Office documents to PDF
<java> Read Zip file and convert directly to string
[Java] Convert PDF version
[Android Studio] How to change TextView to any font [Java]
Convert Java enum enums and JSON to and from Jackson
[Android / Kotlin] UI summary
[Android / Java] Set up a button to return to Fragment
[Java] Connect to MySQL
[Android / Kotlin] Detailed notes 2
Introduction to Android Layout
[Android Studio] [Java] How to fix the screen vertically
Kotlin's improvements to Java
[Java, Kotlin] Type Variance
How to use Truth (assertion library for Java / Android)
Java applications convert Word (DOC / DOCX) documents to PDF
From Java to Ruby !!