Mobile Development
Mobile development involves the creation of software applications that run on mobile devices like smartphones and tablets. As a software engineer, you'll need to be familiar with mobile development platforms like iOS and Android, as well as programming languages like Swift and Kotlin. Here's an example of a simple Android app that displays a message when a button is clicked:
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val button = findViewById<Button>(R.id.button)
button.setOnClickListener {
val textView = findViewById<TextView>(R.id.textView)
textView.text = "Button clicked!"
}
}
}
No comments:
Post a Comment