Декабрь 2021

Interstetial Ads

https://youtu.be/WeD_lDemlzg MainActivity import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Toast import com.google.android.gms.ads.* import com.google.android.gms.ads.interstitial.InterstitialAd import com.google.android.gms.ads.interstitial.InterstitialAdLoadCallback import com.neco_desarrollo.earnapp.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { private lateinit var binding:… Подробнее »Interstetial Ads

Сколько можно заработать на андроид приложении #1

MainActivity import androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport com.google.android.gms.ads.AdRequestimport com.google.android.gms.ads.MobileAdsimport com.neco_desarrollo.earnapp.databinding.ActivityMainBindingclass MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMainBinding override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) binding = ActivityMainBinding.inflate(layoutInflater)… Подробнее »Сколько можно заработать на андроид приложении #1

CountDownTimer

MainActivity import androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.os.CountDownTimerimport com.qrvvacuna_desarrollo_qrv.countdowntimer.databinding.ActivityMainBindingclass MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMainBinding private var timer: CountDownTimer? = null override fun onCreate(savedInstanceState: Bundle?)… Подробнее »CountDownTimer

Android Permission | ActivityResultLauncher

https://youtu.be/_o33f1SugGE MainActivity import android.Manifestimport android.content.pm.PackageManagerimport androidx.appcompat.app.AppCompatActivityimport android.os.Bundleimport android.widget.Toastimport androidx.activity.result.ActivityResultLauncherimport androidx.activity.result.contract.ActivityResultContractsimport androidx.core.content.ContextCompatclass MainActivity : AppCompatActivity() { private lateinit var pLauncher: ActivityResultLauncher<Array<String>> override fun onCreate(savedInstanceState: Bundle?) {… Подробнее »Android Permission | ActivityResultLauncher