Questions tagged as 'android'

1
answer

problem with notifications

the notification works fine, but when I press it, I create another activiti instead of opening the one that is already in memory, this causes the audio to continue playing, but the new activitie is not able to interact with that audio (let's say...
asked by 06.10.2017 / 16:36
1
answer

Help. From Broadcastreceiver to MainActivity [closed]

Good day to the community, I need your help to solve a problem, I am a newbie. I have confused days and asking by this means if what I want can be done. I need to pass a value (state) from the broadcatReceiver to the Mainactivity and then perfor...
asked by 29.09.2017 / 20:57
1
answer

Error: SQLiteException: no such column: comments (code 1) :, while compiling

I'm trying to access the database in local to get the list of all the plays and I get the error SQLiteException: no such column: comments (code 1) :, while compiling I've been using the debugger and the error jumps just at the moment you try...
asked by 15.11.2017 / 22:24
1
answer

setOnItemClickListener send post data

Hello, excuse my previous questions and delete them to avoid generating spam since they were not well posed. This time I try to capture the data from a listview and send them via post. I'm using a class I found on the web called httpParser...
asked by 29.09.2017 / 03:37
1
answer

How can I fix the immersive mode in Android Studio?

I have a problem with the Immersive Mode , it is that the app is in full screen at the beginning but if I open another app and return to mine already the Immersive Mode disappears, and I have to close it and open it again to return the app to...
asked by 29.09.2017 / 20:48
1
answer

Optimize battery android app consumption

I have developed a app in android , but some users have told me that from time to time your mobile phone sends you a notification that my app is consuming a lot of battery. How can I optimize battery consumption or monit...
asked by 27.11.2017 / 10:57
0
answers

Problem when creating NavigationView

In an activity, I try to create a side menu. For this I am using the NavigationView object following this tutorial: User Interface on Android: Navigation Drawer (NavigationView) The problem I have is that I do not recognize this object,...
asked by 28.11.2017 / 11:33
1
answer

Problem when creating directory on SDCard. Android Studio

I have the following code, in which I want to create a directory (E4) in the SD external memory, however, when I run it I can not create it, and I also want it to be in / sdcard / documents /, but I put it on in ** / storage / emulated / 0 / **...
asked by 25.11.2017 / 23:11
1
answer

ListView is not displayed correctly when swiping

I have a generic abstract class that inherits from BaseAdapter and which I use to load ListView (s) from a ArrayList of any objects. The class works well and being abstract forces me to implement the onEntrada meth...
asked by 20.09.2017 / 15:02
2
answers

Problems with DatePikerDialog when comparing dates

I am using the DatePikerDialog to publish news from my android app, this dialog is launched by a button in which the publication date is chosen, which has to be greater than or equal to the current date , if this is smaller, skip a snackbar of...
asked by 19.09.2017 / 17:32