Questions tagged as 'android'

1
answer

IllegalStateException error using MediaPlayer - Android

I am developing an app, it works, I give the list view the radio I want, it starts to play, but if I try to change the radio it fails. Any solution? Here the LogCat:    10-03 11: 56: 32.895 1410-1410 / com.david.animefm2   D / ViewRoo...
asked by 03.10.2017 / 10:03
3
answers

Add a custom listview in a fragment

I'm trying to use a custom listview in a fragment, I've already searched several pages and I've already searched in this forum, but I can not locate myself to adapt it to my own. My problem is that in code I can not get the custom adapter to...
asked by 18.10.2017 / 19:40
2
answers

Have an app end when it is placed in the background?

I would like to know how I can achieve this, if it is killing all the Activities, because I am doing a kind of Password Manager.     
asked by 05.10.2017 / 21:05
1
answer

Differences between the mipmap and drawable folders [closed]

I have seen that in the two folders you can store graphic resources but I would like to know what difference there would be between the two.     
asked by 05.10.2017 / 18:04
1
answer

Scroll Horizontal on Android Canvas

I'm working with the Canvas class and I have several problems. I have a class called Workbench that extends the View class to use it as a canvas. On the canvas there are X squares and I can drag them across the screen. I have added the fun...
asked by 01.09.2017 / 21:07
2
answers

How to prevent an Android Activity from being duplicated

I am currently working with a POS WEB that includes barcode scanning. For this the POS is in WebView , and when I click the button to read the barcode I code the url to send the activity of the bar code reader, since this is native...
asked by 20.09.2017 / 17:47
1
answer

How can I invest a Layout? [closed]

What I want is to invest a Layout (that looks around) , so they have an idea is something like this:     
asked by 21.09.2017 / 20:52
1
answer

Create a txt file on Android in a public way? [closed]

How to correctly use getExternalStorageDirectory () to create text files that can be viewed by the user. Regardless of whether I have an external memory or not.     
asked by 22.08.2017 / 23:58
3
answers

How to update items in RecyclerView when a record is deleted, updated or added?

I'm working with the detail master pattern, when I'm in landscape mode the list and detail is displayed (it should be noted that in the detail you could call a fragment that contains the logic to add a new record), that's where it goes the probl...
asked by 22.08.2017 / 21:30
2
answers

Error trying to load google maps in a fragment? Android Studio:

Good morning, I'm doing the exercise of placing a map to my app, I already did an exercise that worked correctly for me using an activity, but now I'm doing it with Fragment in a navigation drawer and it shows me error in the line: Sho...
asked by 24.08.2017 / 14:26