Questions tagged as 'android'

1
answer

Create responsive site app icon [duplicate]

I have an already responsive website and such, But I did not want the user to have to access the browser on my mobile phone in order to access my site. I wanted to post an app from my site on google play for example, where it download...
asked by 30.10.2017 / 19:23
1
answer

Error adding ProgressDialog

I'mhavingtroubleaddingadialoginthislistViewmethod,isthereanotherwaytomakeitwork?listDebitosPendentes.setOnItemClickListener(newAdapterView.OnItemClickListener(){dialog=ProgressDialog.show(DetalhesDebitosActivity.this,"Aguarde","Enviando Boleto....
asked by 06.12.2016 / 19:40
4
answers

How to change the dynamically displayed Layout

I want to do this, I currently have a ListView that is embedded within my activity_main.xml as follows: <include layout="@layout/lista_categoria" /> I would like to know a way to display another layout (at runtime) within this include...
asked by 02.12.2016 / 18:17
1
answer

Know which checkbox is clicked

I have 20 static checkboxes, clicking on one of them executes a function through onClick . But this is perhaps a stupid question but how do I know exactly which of the 20 checkboxes it was clicked on? I already have if that checks i...
asked by 06.12.2016 / 18:50
1
answer

JSON with value - App List Null

I'm creating an App, where it will display some information from an external database using a JSON file so that I can display this information in the App. But when I run the code, the list in my app returns null and void. I would like to know wh...
asked by 03.12.2016 / 20:34
1
answer

Open new screen with clicked user options

I have a listView and I put all users in the database, I use a adapterView to get the position and id, but I do not know how I will open a new screen for the advanced options for each user. follow the code protected void onCreate(Bundle sav...
asked by 16.12.2016 / 19:40
1
answer

Call a method using Spinner selection

Is it possible to call a method using Spinner of android? I need to select the option and based on this selected option I need to send request to webservice , and this will return me the other options of Spnnier .  ...
asked by 12.12.2016 / 16:21
1
answer

How to transform this Json into an ArrayList of objects?

I'm working on a project where I'm doing a query in the database and need to return a list of database users to be listed in my application. I have the following line Json (returned by the server): {"id": 1, "nome": Raphael, "sexo": M}{"id"...
asked by 08.10.2016 / 08:45
1
answer

Select a RadioButton from a RadioGroup, according to a condition

I have a radiogroup and according to one condition must be selected one or the other. How do I get it to scale to the screen as described below? Code: private RadioGroup mSwitchButtonGroup; private boolean mGoesByCar; private User user; ....
asked by 06.10.2016 / 16:40
2
answers

How to create custom toolbar just like ACMarket

I want to create a Toolbar equal to ACMarket, but I do not want to use CollapsingToolbar , I just want to create a similar Toolbar, does anyone help? <android.support.v7.widget.Toolbarxmlns:android="http://schemas.android.com...
asked by 18.07.2016 / 15:42