I try to convert a bitmap file in android, to an array of bytes and then pass it to a web service asmx, and since it is saved in a sql database, but I get compatibility error, would anyone know how I can do it?
I have a problem updating the listview , I add the new contact all right (it is saved in the SQLite database) but it does not update the new record in listview .
The code I have is:
public class ContactosDetalle extends Activity...
How can I save a .PDF file in / my_folder with the current date as file name?
val date = Date()
val timeStamp = SimpleDateFormat("dd-MM-yyyy HH:mm:ss", Locale.getDefault()).format(date)
val dir = "${Environment.getExternalStorageD...
What I am trying to do is for a user to select an element through a spinner, I save that element through the position and what I want is that when the user returns to edit the spinner he will be shown the one he marked first.
I leave here par...
Google tells me that my app ( link ) is infringing Privacy policies for collecting sensitive data through crash reporting.
The truth is that it is not because that app was created long ago by a programmer who does not even remember where it c...
I have 2 stored strings with sharedpreferences in a login class, inside the onClick of a Button.
SharedPreferences.Editor editor = getPreferences(MODE_PRIVATE).edit();
editor.putString("rut",loginText.toString());
edito...
Do I want to ask for all the permits only once to make it easier for me to work?
These are my permissions
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET"...
I have 4 activities in which I enter data and I want to receive the same data in a single activity .
First data logging activity:
Intent Register = new Intent(this,Window_Configuracion.class);
etConstanteK = (EditText)findVie...
I am trying to take a photo from my phone and display it in an ImageView. I follow the steps of the web of Android Studio in which it indicates how to take a photo and show it but when showing it in the ImageView it comes out with very little qu...