skip to Main Content

Firebase – Internal Error when executing TextRecognition using CameraX in realtime

I am attempting to us ML Kit to do some realtime text detection from CameraX on an Android app. My ImageAnalyser is as follows: package com.renegade.CoWarrior; import android.annotation.SuppressLint; import android.media.Image; import android.util.Log; import androidx.annotation.NonNull; import androidx.camera.core.ImageAnalysis; import androidx.camera.core.ImageProxy; import com.google.android.gms.tasks.OnCompleteListener;…

VIEW QUESTION

Android Studio – android.Editable android.widget.EditText.getText

package my.anupamroy.smartcanteenapp.activities; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import android.Manifest; import android.app.ProgressDialog; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText;…

VIEW QUESTION

Android Studio – Give TextView a variable

I'm trying to set a text on a TextView using a val class shoeDetails : AppCompatActivity() { private lateinit var binding: ActivityShoeDetailsBinding override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) binding = ActivityShoeDetailsBinding.inflate(layoutInflater) val view = binding.root setContentView(R.layout.activity_shoe_details) val title = intent.getStringExtra("Title")…

VIEW QUESTION
Back To Top
Search