Questions tagged as 'android'

0
answers

Failed to resolve: com.android.support:appcompat-v4:23.0.0

I'm using Android Studio version 3, the cell that I try uses the api 23, so I tried to change the gradle, but I get the error message Failed to resolve: com.android.support:appcompat-v4:23.0.0 apply plugin: 'com.android.application' android {...
asked by 12.09.2018 / 07:10
0
answers

Convert Uri to Bitmap and save the image on the device

I try to convert Uri to Bitmap with this method: try { Uri uri = FileProvider.getUriForFile(PostDetailActivity.this, getApplicationContext().getPackageName() + ".fileprovider", new File(Uri.parse(mPost.getPhoto()).getPath()));...
asked by 12.09.2018 / 04:52
2
answers

No Achievement running the application on the Android Studio phone

Hello I can not prove my project created in Android Studio in my emulator and on my phone This is the LogCat when I run the application: 09-06 10:33:39.688 21767-21767/? E/Zygote: v2 09-06 10:33:39.689 21767-21767/? I/libpersona: KNOX_SDC...
asked by 06.09.2018 / 07:45
0
answers

Listview undone after scrole

I have a small problem with a list of data .. At the beginning the data appear well (As ordered in the XML) after scrole the list, the results are disordered ... help there are my codes and the xml file .. <android.support.percent.PercentRe...
asked by 03.09.2018 / 19:36
0
answers

android / view / View $ OnUnhandleKeyListener (Error)

I am creating a menu that is built by a Toolbar, but I get an error android / view / View $ OnUnhandleKeyListener , I can not see the part of the Design p> This is the code of the Menu <menu xmlns:android="http://schemas.android.com...
asked by 31.08.2018 / 21:16
0
answers

How to update database in the assets folder

I am new to Android Studio, I have an application that shows a list of names from a database, everything works fine except that it does not detect the changes of the database, the member.db file is replaced correctly by the new one in the assets...
asked by 02.09.2018 / 14:04
0
answers

What type of data do I get when reading a DNI with UFC?

I'm trying to implement an NFC reader in an Android app. Would someone know what format I would get the result of reading a DNI or any other type of card? Thank you.     
asked by 02.09.2018 / 01:11
1
answer

How to put Double zero (00) to a NumberPicker

I have this code and I could not make the NumberPicker in the 00 as I have it there, only the 0 is seen alone. numberPicker.setMaxValue(59); numberPicker.setMinValue(00); numberPicker.setValue(3); btnCalcular.setOnClickLi...
asked by 30.08.2018 / 01:06
2
answers

Open fragment from activity

How can I open the ItvList fragment from the AddItv activity's Snackbar? import android.app.DatePickerDialog import android.content.Intent import android.os.AsyncTask import android.support.v7.app.AppCompatActivity import android.os.Bundle imp...
asked by 10.09.2018 / 07:00
0
answers

Problem with wait screen in selenium webdriver

Hi, I have a generated method to replace the waitsleep and that this is more efficient, I have it as follows: public void caso50() throws IOException { ingresoCredenciales("50", Constantes.equipoMotox4, "8.0"); RemoteWe...
asked by 04.09.2018 / 16:19