Questions tagged as 'android-studio'

0
answers

How do I reference a listview from an xml file using Navigation Drawer? Android Studio

Hello community, I want to reference the ListView to which I added the id: lvPatosProfile that I have added in an xml file that the Drawer navigation creates me by default. But when going to the Perfil.java class, the id does not appear wh...
asked by 26.05.2018 / 02:41
0
answers

Does not solve dependence on gradle (Android Studio)

I'm trying to make an application that reads bar codes and for that I use the ZXing library, but when I synchronize the project it tells me not to solve the dependency. Does anyone have any idea why this happens? The library that causes me pr...
asked by 24.05.2018 / 02:41
0
answers

How I select the Cards Views (Android)

In my application there is a recycler view filled with cardViews with the data of a SQL query, the thing is that I look for an interface to select a CardView and then apply actions that I will have in buttons of the Action Bar, I have been looki...
asked by 25.05.2018 / 07:32
0
answers

Receive and send firebase

How can I write something with edittext and send it to firebase and then see it in list view something like posting a question and another user can see it? I want to do a list view with the questions of the users a...
asked by 30.05.2018 / 13:44
0
answers

When I run my app on certain phones I get an error and it stops

Well, that in some Smartphone runs the program and in others it does not.  Here I leave one of the mistakes that the gradle gives me: apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId...
asked by 30.05.2018 / 12:50
0
answers

fill ListView from another Activity

I have a ListView and I want to fill it with data that comes from another activity I bring the data by the intent but I do not know how to change the position of the new element to enlarge the list. The .java of the first activity: public c...
asked by 29.05.2018 / 21:14
1
answer

Appropriate format to implement videos in Android Studio

On some devices like Sansung S5, and some specific devices, the video that I put on splashscreen is not displayed. The device says: "This video can not be played." The video is in .mp4 format The Logcat tells me that I have the following erro...
asked by 27.05.2018 / 04:34
0
answers

ToggleButton changes when I move from fragment to another fragment (BottomNavigationView)

I'm using bottomnavigationview with fragment ... the problem is that I turn on the togglebutton in "on" and when I select another item in bottomnavigationview and I select again the item where the togglebutton is hosted it goes "off...
asked by 23.05.2018 / 03:00
0
answers

Problem with Receiving Bluetooth Data?

I have an App that connects to bluetooth with another bluetooth device but when receiving the data the following happens: I receive the data cut for example: Recibo: Primer Dato Pero Logro Recibir: imer Dato In other words, missing c...
asked by 23.05.2018 / 01:59
0
answers

Android spinner custom

I'm trying to make a custom Spinner on android. so I can add a white arrow (This is achieved with android: drawableEnd) but what I can not do is paint the right part of the spinner blue. The spinner is custom so android:id="@+id/text1" styl...
asked by 23.05.2018 / 12:21