Questions tagged as 'android'

0
answers

Mark this bug with the pickle in Python 2.7

I have this problem running my script I stress that I am using the python 2.7, I would like to see if you can help me     
asked by 14.11.2018 / 08:51
1
answer

Show the first text of the ViewPager in Android Studio obtained from an array

I am doing a project that consists of the following: When the application starts, a list of countries is displayed, the code of that activity ... public class MainActivity extends AppCompatActivity { ListView listView; Arrays arrays;...
asked by 16.09.2018 / 17:38
4
answers

How to consult where sqlite with two fields?

At the moment of entering my data in the Edittext either the code (example "1") or name (example "pepe") only lists me when I enter the code, but when I entered the name I do not and I want to be listed by name or code at the time of the query,...
asked by 15.09.2018 / 03:17
1
answer

Recyclerview shows repeated data

I have 2 records inserted in a SQLite table and I load them into an array to show them in a recyclerview with an Adapter, but in the recyclerview it shows me the second record twice, here I leave the code: @Override public View onCreateVie...
asked by 16.09.2018 / 05:55
1
answer

Fail Android studio compatibility

I have a problem with my application. I currently program it in api 23 marshmallow android and I was running it on a Moto G5 plus physical device from api24 and it worked perfectly, but, try to test it on a Samsum j5 prime of api 23 and not it w...
asked by 16.09.2018 / 22:20
0
answers

IR codes obtained from Arduino in android studio

I am using an arduino board to capture the codes of the remote controls of my house to later make a universal remote control with android studio. I have no experience in IR. In arduino I get the codes in this way Protocol:3 Address:FD Comman...
asked by 08.09.2018 / 01:07
1
answer

File path

I have a problem about the path of a PDF file (apparently files in general), what happens is that when I select a file and try to extract the path data.getData().getPath() but what it brings is something like /document/acc=2;doc=3417...
asked by 06.09.2018 / 18:27
1
answer

Error with notifyItemInserted () when sending an Android Studio message: Error inflating class android.support.v4.widget.CircleImageView

I am making a simple chat app, when I write a message and show it on the screen the app stops, I suspect that the error is in notifyItemInserted () and I would like to know if I am misusing the function or if it exists another way to make messag...
asked by 06.09.2018 / 17:12
1
answer

Problems with Context in BroadcastReceiver: "Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase openOrCreateDatabase"

I have a problem I think with the context when trying to run a BroadcastReceiver, what I try is to connect to an internal sqlite database and read the data. This through an Alarm that runs repeatedly every x minutes. The code works in MainAct...
asked by 11.09.2018 / 16:24
1
answer

Can you place two different Layouts in the same RecyclerView? [closed]

To give the example of a chat. The messages are placed in a RecyclerView, and each element of the RecyclerView is a Layout that is composed of a cardView where the name, time and message goes. Now, a user is going to choose an option where th...
asked by 13.09.2018 / 16:57