Questions tagged as 'android'

1
answer

Attribute "clearTaskOnLaunch" does not work

What I need basically is that when the user leaves the app for A or B reason to return to take me to the Login and not the screen where he stayed. I put the attribute clearTaskOnLaunch in true then I understand that the behavior should...
asked by 31.03.2016 / 10:35
1
answer

RecyclerView with sections and Firebase data

Hi, I'm working on an app, in it I have to fill a recyclerview with Firebase data, which I managed to do with the adapter and information that firebase itself provides . Now what I want to do is fill a recyclerview with the firebase data but it...
asked by 31.03.2016 / 06:05
1
answer

Error in Android Studio Button

being new I'm practicing in Android Studio, but I have a problem, I created a button and I want to launch a message when it is pressed, but I miss the following error in a screen that I can only put OK and does not stop exit, so I click OK but i...
asked by 03.04.2016 / 07:50
1
answer

Error compiling cordova: unexpected token

Good morning, I'm struggling since the morning with the plugin of cordova of local notifications katzer ... I followed exactly the steps that are in github but when I give it    cordova build Android I get a big mis...
asked by 26.01.2016 / 08:15
2
answers

In a TabbedActivity with a ViewPager, the ListView are cut off from below

I have a TabbedActivity with three Fragments of type list but I get cut off below: I've tried everything but I do not know what to do. This is the TabbedActivity layout: <?xml version="1.0" encoding="utf-8"?...
asked by 26.01.2016 / 09:54
1
answer

How to make me return the variable with the assigned values within a TRY

public Usuario buscar(final Usuario nombreUsuario) { Log.i("Usuario:", nombreUsuario.toString()); final Usuario usuario = new Usuario(); final String url = EstructuraURL.URL_LOGIN; StringRequest stringRequest = new StringReques...
asked by 31.12.2018 / 04:29
1
answer

getDownloadUrl on Android returns me null

this time, I try to recover images that have been uploaded directly to Firebase Storage, a structure for the database has been generated in the following way: DATABASE { "categorias" : { "categoria1" : { "nombre" : "Licores",...
asked by 23.11.2018 / 17:15
1
answer

WebView in a Fragment?

I have this error:    Second_Fragment can not be converted to Fragment Code: public class Second_fragment extends Fragment { String direccion_web = "https://www.google.es/"; public View onCreateView(LayoutInflater inflater, @N...
asked by 27.10.2016 / 23:31
1
answer

Do not save checkitem selected in Sharedpreference

Good afternoon I have an AlertDialog singlechoice which I fill from an array of objects which I get from a webservices. Well my problem is that I save the id of the selected object in the shapredpreferences and then use them in a filter in...
asked by 11.06.2016 / 01:40
1
answer

Detect if an item is visible within a NestedScrollView on Android?

I need to detect if an element inside a scroll is being displayed on the screen. On my test bench I have a text lorem impsum and then a button myBtn1 To detect when scrolling in NestedScrollView use Button myBtn1 = (Button)...
asked by 07.06.2016 / 12:52