Questions tagged as 'android'

1
answer

How to display a json return in a listView

I'm trying to return a json that resulted from a select done in php (web service) for my application. The select is here: mysql_connect('localhost','root','ugauga'); mysql_select_db('noise') or die (mysql_error()); $Cod_Empresa = $_GET['...
asked by 19.04.2016 / 19:24
1
answer

Problem sending notification with parameters

I'm having problems in an android app, when trying to send a notification everything happens 100% until I get to open the notification activity. This calling activity needs a "store" parameter and I'm not able to send it via notification....
asked by 20.04.2016 / 02:47
2
answers

Android Gradle sync failed

I have an old android project and want to bring it to life. I downloaded android studio 2.0 I imported my project and nothing worked error message. 14:22:37 Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10. If...
asked by 22.04.2016 / 19:30
2
answers

How to search in one table by date and add values contained in it?

This is personal, I'm having a hard time creating a date search in my android sqlite database. I wanted to search the tables by date, if possible, I wanted to do a conditional that would detect the current date, and only update the table (adding...
asked by 23.04.2016 / 19:21
1
answer

Return results of a query

How do I return a value from a "SELECT" method ?? I have this code: public void SELECT(String Colunas,String Tabela,String Condicao) { String QUERY=null; if(Colunas!=null && Condicao!=null) QUERY=" SELEC...
asked by 10.04.2016 / 17:46
1
answer

Receive response from a restful web service java on Android

I'm developing an Android application and would like to know how do I get a response from the server, the technology I'm using on Android is the retrofit 2. After sending a POST request, how do I get a response from the server and from that info...
asked by 17.05.2016 / 22:41
1
answer

DrawerLayout - control visibility

When the app is run the first drawer presented is correct ie; comes with only one visible option item. This option when selected activates an activity that is normally executed but at the end of its execution the other options are not visible....
asked by 08.07.2016 / 16:17
1
answer

Java Android - Save Events

How do I save events in an Android java app? For example, a program has a checkbox, I open it in the box and exit, when it returns it will be unchecked. How do I make the information that it is checked thanks?     
asked by 09.07.2016 / 15:05
1
answer

My app that has ListView with ArrayAdapter is closing when creating the list

I want to make a product listing, where each line contains more than one information per line. The problem is that the app throws an exception (I believe) and closes when I click the button that would populate the list. I made a custom Vie...
asked by 07.07.2016 / 05:05
1
answer

Function in Background - Android

Hello, I need to put an animation on the screen, it can only be visible for 10 seconds, after that time it disappears, and if the user clicks a specific button the animation comes back. Can someone help me? I can not solve it. Thank you!    ...
asked by 25.05.2016 / 21:27