Skip to content

Instantly share code, notes, and snippets.

Avatar
🦝

Dmitry Weiner dmitryweiner

🦝
View GitHub Profile
@dmitryweiner
dmitryweiner / Activity.java
Created May 27, 2022
Web API call from Android Java
View Activity.java
package com.dmitryweiner.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Button;
View src\main\java\com\example\myapplication\MainActivity.java
package com.example.myapplication;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Bundle;