Questions tagged as 'android-studio'

1
answer

How to install the build tools in android 3.0.1?

How to install the build tools on android, because when creating a new android project I get this error: Currently I validate if I had it installed but I get it as if the correct version is installed.     
asked by 25.12.2017 / 02:53
2
answers

can you put an image in a gradient as background in android?

Good, as the question says, I would like to know if in a degraded background you can put a small image either in the center or in any place of the design, and all this put it as background of an activity. That I know the gradients are created...
asked by 10.01.2018 / 06:43
1
answer

No Save SparceBooleanArray Listview Android

I am wanting to save the positions of the items marked in listView by means of a chekbox in each item. Each time I check the items, I only save the last checked data. To check I made it show with each check a Log of sparseBooleanArray.size () in...
asked by 22.12.2017 / 03:10
1
answer

Fill the contents of an array between classes

I'm doing an application on android, and I need an activity from an array created in another class since from a second activity I'll get the created data, however I can not add data to the array from the first activity. //CLASE QUE MANDA INSER...
asked by 06.12.2017 / 21:57
1
answer

How to read a JSON that is sent from a webservice on Android?

Hi, I have a php file in a hosting, this file consults and returns the data through a JSONArray. $idusu=$_GET['pkusu']; $pass=$_GET['passw']; if($_GET['opc']=="1") { $sql="consulta..."; $r2=mysql_query($sql) or die(mysql_error()); i...
asked by 09.12.2017 / 03:03
2
answers

Place image of the firebase storage in nav_header of navegation_drawer

Good I have NavegationDrawer that has an image in nav_header I would like to know how I can replace that image with the image that is in the storage of firebase of a user I tried to put this in the...
asked by 28.11.2017 / 06:42
1
answer

Go from a fragment of the Drawer Navegation to another activity [closed]

Goodbye everyone, I have a huge problem, I created a Drawer Navigation Activity with their respective fragment and what I want to do is move from a fragment to an activity through a button. Thanks     
asked by 24.11.2017 / 07:46
1
answer

Pass values from one activity (radiobutton) to another activity

Good, I have a problem I want to pass the data of a radiobutton that are in two activitys, one is called sumaActivity and the other restaActivity different to another activity that is called resultadoActivity suma...
asked by 01.12.2017 / 03:38
1
answer

AndroidStudio applications are not running

I'm new to this in Android Studio, the first applications did install me well, but lately they have not been installed. When creating the App, when it only has the text "Hello World" it is installed well, but as soon as I make a couple of method...
asked by 18.11.2017 / 17:03
1
answer

parent="@ android: style / TextAppearance.Material.Title" API 19

I have a problem with compatibility with the following code <style name="ExpandedAppbar" parent="@android:style/TextAppearance.Material.Title"> <item name="android:textColor">@color/colorPrimary</item> <i...
asked by 14.11.2017 / 21:54