Questions tagged as 'android-studio'

1
answer

Upload an image from a URL in a Recycler View

I'm doing an exercise where I connect my application with an external database, I can retrieve text stored in a MySQL database, I have a field called a photo, it's a "varchar" and there I store a URL on it. problem is that when I load the image...
asked by 26.11.2018 / 18:15
1
answer

Login on Android

I'm implementing in my Android app a login with both username and password and google and all this with firebase. The fact is that I have two buttons, a button that initiates me taking the data Email and Password of two editText and another butt...
asked by 14.11.2018 / 22:16
1
answer

Error Could not read row 0, col 5 from CursorWindow sqlite CRUD

I was starting my app to make the connection and return the list with the data of the object and throws me that error some solution to be able to continue with my app? 2018-11-11 22: 04: 55.122 4942-4942 /? E / AndroidRuntime: FATAL EXCEPTION...
asked by 12.11.2018 / 01:20
1
answer

Number of elements of a ListView in a TextView

I update the code I have now: public class ArrayAdapterWithCountingFilter extends AppCompatActivity implements Filter.FilterListener { ListView lvElements; TextView tvTotals; EditText etSearch; StringFilterCountArrayAdapter adapter; Filter.Fi...
asked by 23.10.2018 / 11:09
2
answers

How to put videos from youtube in Android application

I am working on an application where I want to show youtube videos in a fragment that has CardsViews, my cardviews already work without problem, the problem is that the videos are not reproduced, I always miss an error: I am adding the...
asked by 07.11.2018 / 15:03
2
answers

Error Copying directory file downloads to another, open failed: EACCES (Permission denied) in api level 19

Good morning. I have the following problem in ANDROID STUDIO, I have an application in which the user chooses a pdf or word file, gets the path of the path and if the user decides to upload the file to the server, the application copies the file...
asked by 15.11.2018 / 19:35
1
answer

WebView through setContentView

Hello people, I come all day wanting to solve this. I have a Main activity that has a WebView. This activity is attentive to the connection to the internet. When you do not have an Internet connection, you will be set up with a new Layout contai...
asked by 21.11.2018 / 03:10
2
answers

Android Studio error: error: unknown element service found

Good day I have the following error with google services in firebase Android Studio error: unknown element <service> found. Message {kind = ERROR, text = error: unknown element found., sources = [C: \ Users \ Sony Vaio \ Desktop \ Bac...
asked by 31.10.2018 / 20:09
1
answer

Send a Boolean from an adapter to its fragment

I have a problem, maybe you can help me, in the onclick event of a recycler I want to send a boolean to its fragment to update a method, but I do not know how to do it. before I had done it but not with an adapter from a fragment, this is the...
asked by 25.10.2018 / 00:24
1
answer

Animation XML fragment with setTransition does not work

I've been programming with Android Studio for a long time, I do not like to use a lot of XML, so Animations usually create them in java but what I realized is that with the FragmentManager there is not a method to place it, it touches by...
asked by 28.08.2018 / 15:30