Questions tagged as 'android'

1
answer

Select itemes [closed]

I am developing an app and a part of what I have to do is that I can select the state and the municipality in which the user is located can be said that I want to use a select box type and in one the states come and in other the municipalities b...
asked by 17.08.2017 / 00:56
2
answers

Because when comparing two Drawable resources the value is not the same?

Good morning, I'm trying to make the next comparison. I have verified that both Backgrounds are the same, but still the comparison does not return a True. if(contenedorMarcas.getBackground() == getResources().getDrawable(R.drawable.conte...
asked by 21.06.2017 / 19:35
3
answers

how can I achieve this with the editText?

I would like to know how to achieve this with a editText I can not find the form, I can not find information for someone to enlighten me pls     
asked by 04.09.2017 / 05:51
1
answer

How to make the button back in android studio?

Hello friends, I would like to know how I can create the back button in the ActionBar in android studio, as well as the image, which when pressed will bring me back to the previous class. I hope you can help me and thank you very much.   ...
asked by 03.06.2017 / 20:08
2
answers

event onclick on a spinner

I'm doing an activity that uses a spinner to enable several options but within the spinner I want to put an event onclick to communicate with a button in the activity and this performs an operation. This is the code. pu...
asked by 13.05.2017 / 03:17
1
answer

The Ionic program makes me the build but it does not generate the APK

I was working with Ionic and I wanted my project to generate the APK to be able to upload it to Play Store , I created a platform Android with the ionic cordova platform add android command and it worked. Then I wanted to create th...
asked by 22.05.2017 / 01:01
1
answer

Android 'setText' for X seconds

In my activity I call a setText : tvdato.setText(String.valueOf("BIEN")); I would like to know a method to make it provisional, that is, to last for a few seconds drawn on the screen.     
asked by 22.05.2017 / 08:12
1
answer

Repeated values in JSON

I'm loading some values in JSON and I would like to control and delete the duplicates: public void loadEventos(){ SharedPreferences prefs = getSharedPreferences(getString(R.string.gamedata), Context.MODE_PRIVATE); String data=prefs...
asked by 29.06.2017 / 08:01
2
answers

RecyclerView does not enter the onCreateViewHolder

Good community, this is a long question, but I bring the solution in it, now you will see. I'm doing a screen to bring some data from firebase to RecyclerView , up to here all right, there is a screen that does the same as in wha...
asked by 08.12.2017 / 19:33
1
answer

In Android Studio Zoom in WebView

When you click on one of the options in the menu, it shows a web page, the page is integrated into the application, how can I do it when the page is displayed on the whole page, and then I can zoom in to show it manor yo minor? I do not know...
asked by 06.12.2017 / 22:12