Newer
Older
OverlayMultiCounter / app / src / main / kotlin / jackall / overlaymulticounter / activity / MainActivity.kt
MatsumotoKeiju on 8 Nov 2017 546 bytes [add] Overlay counter view
package jackall.overlaymulticounter.activity

import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import jackall.overlaymulticounter.R
import jackall.overlaymulticounter.service.MainService

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        // TODO: RuntimePermissionの処理
        startService(Intent(this, MainService::class.java))
    }
}