Questions tagged as 'android'

0
answers

Web view for Android less than 6.0

Although the WebView in general works well, in which I have enabled javascript, when entering pages that require more resources, they do not load (or load poorly) on mobile phones with android versions of 5 or less. I would like to know if there...
asked by 01.07.2017 / 10:38
0
answers

Load data to a spinner of a fragment in a dialog

I have not been able to load the data I have in an array (string) to a spinner that is in a fragment which is shown when I touch a certain button. Button code in the activity AlertDialog.Builder builder = new AlertDialog.Builder(this);...
asked by 30.06.2017 / 23:12
0
answers

Compare a numbers of an arraylist with a button

I have 4 buttons and an arraylist with numbers between 1-4, what I need to do is to compare the numbers in the array with the button I press (button 1, button 2, button 3, button 4) if it is correct to continue to the next number but call the ne...
asked by 01.07.2017 / 04:45
1
answer

How to change a fragment depending on the item selected [closed]

I have a list where I have several options and win the description appears, but I do not know how I can make the fragment that contains the description change according to the item that I select.     
asked by 29.06.2017 / 14:48
2
answers

Sudden error layout

In an android project, I had the following line in main_activity.xml without giving any error: tools:context="com.example.alumno.prueba_2.Launch" (activity main.xml, carpeta layout dentro de res) but now it does (unresolve launch cla...
asked by 29.06.2017 / 13:21
0
answers

Send data from BroadcastReceiver to unintentional main activity

How I am new, I have the following problem in android studio. I want to identify an incoming call number that is displayed in the main activity, I am using BroadcastReceiver to detect the incoming number. Code where I use BroadcastReceiver that...
asked by 28.07.2017 / 17:33
0
answers

PopupMenu on Fragment Android

I have two projects: In one I open in an activity a reciclerview that I charge with cardviews , these cardviews have a button that opens a popupmenu, all perfect. In the other project I try to do the same but within a fr...
asked by 28.07.2017 / 10:44
0
answers

Android Question OnClick

hello a query the issue is like this I have an onclick that generates a number depending on the button that presses (from 1 to 4) and I have a handler that at a certain moment has to pause and wait for those buttons to be pressed and compare it...
asked by 03.07.2017 / 02:27
1
answer

How can I show two arrays in the same fragment?

I'm trying to do a Array with different categories to show them in the same fragment , the problem is that it only shows me a Array and not both. I would like to know if it can be done like this or there is another way. Th...
asked by 27.06.2017 / 19:45
0
answers

receive parameters from a listview

I have an activity that with a list of products, for each onclick that I do on each element of that list, sends 2 parameters in another activity to love another list according to the elements selected in the first list ... what I want do is a bo...
asked by 27.06.2017 / 15:29