Questions tagged as 'android'

1
answer

How to set the value of a spinner in an elegant way

Dear in an activity where we are making a change, I am setting the value of the spinner (rs) for(int i = 0; i < clienteAdapter.getCount(); i++) { Cliente elemento = (Cliente) clienteAdapter.getItem(i); if(eleme...
asked by 24.05.2017 / 02:39
0
answers

Add seconds to a countdown - Android

I would like that when a button was clicked, 10 seconds would be added to my timer, but I could not find a way to add value to CountDownTimer, here is my code. private void contagemRegressiva(){ new CountDownTimer(31000, 1000) { p...
asked by 24.05.2017 / 20:07
0
answers

Manipulate and filter Notifications on Android

I'm creating an Android app where I use a NotificationListenerService to try to intercept notifications. The intent is to intercept all notifications and let them pass only those that the user has pre-registered in the application. Unt...
asked by 24.05.2017 / 23:42
0
answers

Intent Open FaceBook

How do I open facebook on a particular page. Open mainly by the application if it is not installed open in the navigated of the mobile. Can anyone help me?     
asked by 20.05.2017 / 20:18
2
answers

Error receiving data from Firebase

I'm having problems with my TCC, I'm not able to receive data from Firebase and display them in a listview, it has an error, I'm using ValueEventListener to try to get the data ... listview is in fragment . Anyone know...
asked by 06.06.2017 / 15:59
0
answers

PUT method via JSON [closed]

I have a user "update" screen that would do a data update in my bank .. How to do this update in my bank in Android Studio? My code looks like this: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(s...
asked by 03.07.2017 / 14:20
1
answer

React-native error: does not communicate with AVD or devices

I came across the following error: my app was unable to communicate with the AVD android nor with my Device. Both are connected and working ...     
asked by 04.05.2017 / 18:01
0
answers

Firebase Database - Event-based notifications

I have a project that needs to send notifications when certain data is added to the Firebase. I did several web searches, but I could not find a way that would work to implement this notification. I saw in the Firebird documentation that yo...
asked by 19.04.2017 / 21:29
1
answer

Update SDk Android Studio, Path profile!

I formatted my pc and installed android Studio and got on a separate drive the separate androidSdk folder. When updating Sdk, the following error occurs:    An error occurred while preparing SDK package Android Wear ARM EABI   v7a System Imag...
asked by 20.04.2017 / 00:12
1
answer

How to represent in the database (android sqlite), one class that extends another? [closed]

Hello, I'm working on android, I have a case where one table extends another. example: Exercise table - > String dataInicio, String description ....... etc Football table - > String startTime, Int duration ... etc Football exte...
asked by 08.05.2017 / 14:44