Questions tagged as 'android'

2
answers

Problem with sharing

I used the following code to capture text and share. Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); String texto = "Olá sou um texto compartilhado" sendIntent.putExtra(Intent.EXTRA_TEXT, texto); sendIntent.setType(...
asked by 04.07.2018 / 02:37
2
answers

How to set up a timer in Android Studio to run tasks at constant intervals?

I'm developing a simple app with Android Studio and I need to create a timer to run some methods every 1 second. I tried the following but it did not work: int delay = 1000; int interval = 1000; Timer timer = new Timer(); timer.scheduleAtF...
asked by 31.05.2018 / 04:34
2
answers

App crashes after finishing loop in Thread

Hello, I made an app in Android Studio that breaks the sentences into words and stores them in a vector using the split. Then I made a loop of repetition using the while to display it word for word, but there was a problem, the application freez...
asked by 01.05.2018 / 21:26
2
answers

Automatic search of user address

Any method of automatic address search from the user's current location? You do not need to fill in the address fields. Entering the zip code or clicking an address search button.     
asked by 19.04.2018 / 06:49
1
answer

Validation of CheckBox and RadioButton [closed]

How to validate and return a message if the CheckBox and RadioButton components are not selected in an application? JAVA     
asked by 19.04.2018 / 09:22
2
answers

Numeric keypad no input type="Text", ionic cordova

I have a field for cpf in my app, so when the user is to populate cpf, the device should show only the numeric keypad. But if I change the <input type="text"> to <input type="number"> , the numeric keypad appears, but it...
asked by 04.04.2018 / 22:39
2
answers

How to delete a specific child in Firebase?

I want to exclude only the 1st child (L7jrJ6DtQWrmZsC4zvT) from Firebase through an option in an Android app. I searched several places and could not find it. I only found the option to delete the entire database. Can anyone help?     
asked by 16.03.2018 / 19:52
1
answer

Kotlin + RX Observer without Anonymous

I'm studying Kotlin Android and RX and just see examples like: val api = StarWarsService() api.loadMovies() .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(...
asked by 12.04.2018 / 19:40
1
answer

React Native and hybrid? [closed]

I wanted to know if react native and really hybrid, like ionic, that you program a code only and do export to both platforms (IOS / ANDROID), or similar to xamarin, that you do the 2 different codes. In project development I program as "only...
asked by 25.06.2018 / 20:06
1
answer

Make toast disappear when running root command

Live, I have the phone connected to the computer and when I run root commands by adb, there is always a toast in the crack, is there any way to make these toats disappear? I remind you that they are not being created by my code. I tried to...
asked by 13.04.2018 / 16:17