Questions tagged as 'android'

0
answers

Problem in creating unit test android with RxJava and Mockito

The test comes down to making the assertions that the methods are called when the execution is done successfully, but an error is occurring that I can not resolve. My class: class LoginActivityPresenter(private var authUseCase: AuthStruct...
asked by 03.08.2018 / 13:52
1
answer

Get values from the 4th node of Firebase on Android

I need to look for the red-highlighted values in the image, but I only know the item in blue. Itriedthisway:firebase=ConfiguracaoFirebase.getFirebase().child("tb_contato").child(identificador); valueEventListener = new ValueE...
asked by 03.08.2018 / 21:01
1
answer

Marquee in TextView - Android

I would like to know if you can do the marquee effect on textview the text is too large, and I do not want to break line, I want the text to move from right to left horizontally. The text I want to manipulate and what contains the mus...
asked by 25.07.2018 / 18:30
0
answers

adb.exe when performing command cordova

Hello, I have prepared the whole environment to work with the cord: I installed Android Studio, Nodejs, Apache Ant, Java; I configured the environment variables and PATH All right. However, every time I run the command: cordova emulat...
asked by 19.07.2018 / 17:59
0
answers

Format a Field of Decimal Type and Include in SQLite Xamarin Forms with Android

Hello to the masters of Xamarin Forms, I have a small problem, for you maybe very simple. I am not able to format a field of type decimal in monetary value and then make the insert of it in SQLite. Below is the code for the Products.cs class:...
asked by 14.08.2018 / 15:05
0
answers

Error calling non-static function from a static context

I created a class only to call 2 methods that can not be static. However calling the method of this object returns the error that I can not interpret. Code: public static Handler handler = new Handler() { @Override public void ha...
asked by 11.08.2018 / 03:17
1
answer

Lock buttons on the phone, by android studio

I have a question. I would like to push a button on the layout created in Android Studio, I could lock the buttons of the phone (volume and on / off). And that he only came back to normal, after I pressed another button on the screen or typed a...
asked by 16.07.2018 / 17:03
1
answer

How do I restrict the display of some folders in the gallery? android

I know to list all the photos in the gallery but I do not need the Download folder to appear in the listing. I know I can filter but I can not get it to work. I do not want the parameter in the query to collate so that the download folder is...
asked by 18.07.2018 / 14:40
0
answers

Emulator: emulator: ERROR: Unknown AVD name [Nexus_5X_API_26], use -list-avds to see valid list

I installed the emulator all right, but when I go to run, this error is appearing there. I'm using Linux Mint.     
asked by 05.08.2018 / 03:43
0
answers

Retrieve directory where apk was created by gulp with the cordova-lib plugin

Good evening, I'm having a problem retrieving the directory where the apk file was generated. I use the cordova-lib plugin in gulp to build an ionic application. The "real" problem is that I can not recover the default location, or even te...
asked by 12.07.2018 / 02:25