Questions tagged as 'android'

1
answer

You have not accepted the license agreement of the following SDK components:

I'm trying to get an android emulation through ionic. For this I go to the folder of my project and write ionic cordova emulate android . I find that he gives me a "FAILURE" and two "BUILD FAILED". The FAILURE message is as follows:   ...
asked by 12.04.2018 / 13:44
1
answer

How to convert the format of the date and time consulted from the Internet?

As you can see in the image below, I check the date and time from the Internet, everything goes well even with the time zone, the problem is that the name of Month and Day < /> of the week come in English, how could I change them to Spanish a...
asked by 12.04.2018 / 00:15
1
answer

How do I get the View in a Fragment?

I'm starting to program on Android with Kotlin and I'm a bit confused with the Null Safety. The main problem comes when wanting to do a findViewById from the getView () (view in kotlin) in a fragment, I have been consulted and I have only fou...
asked by 28.04.2018 / 15:36
1
answer

RecyclerView duplicating items when starting the application

When starting the fragment and loading the recyclerview, it duplicates the items. private void loadData() { if (categoriaList.size() > 0) categoriaList.clear(); miprogress.setVisibility(View.VISIBLE); db.collection("cat...
asked by 25.04.2018 / 18:23
1
answer

Load SQLite data in listview

I would like to know how to load the data of an sql query in a list view. As much as I try, I can not do it: S @Override public void onCreate(SQLiteDatabase db) { db.execSQL("create table usuarios(nombre text primary key, edad int, puntuac...
asked by 03.03.2018 / 17:23
2
answers

Because the java calendar does not work for hours and minutes

My problem is simple: because this method does not work for me when it's time is more than 30 minutes. I do not know exactly if it is for 30 but for 1 hour and 30 minutes it does not work. It just does not enter run () method of the Tempor class...
asked by 25.03.2018 / 12:04
1
answer

java.util.Listandroid.widget.ImageView "is not supported error android

I am trying to pass a List (From an activity, AddClothesActivity) to create a class (Clothes). This step of information I do in the constructor. The problem is that I miss a compilation error in which it says: Field "clothesList" of type "jav...
asked by 22.03.2018 / 11:51
3
answers

A manifest file prevents me from accessing the internet on Android

I have a problem, the following manifest prevents me from accessing the internet in Android . <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.educaapp.toole...
asked by 10.03.2017 / 04:30
1
answer

Problem with a ListView and its elements

It turns out that I have a list where certain football matches and their phases are displayed, when it comes to displaying and showing its elements is perfect, the problem occurs in the following since each match contains a phase field like this...
asked by 26.03.2018 / 22:08
1
answer

Implement Filterable to a Custom BaseAdapter - Android

I have the following custom adapter for a GridView : public class AdapterGrid extends BaseAdapter implements Filterable{ private Context context; private int layout; private List<String> items; public AdapterGrid...
asked by 27.03.2018 / 18:44