Questions tagged as 'android'

1
answer

How to leave a hidden seek bar until another button is clicked - Android

Hello. I have a silly doubt, but I will be very grateful to anyone who helps me! I am making an app in which in an activity I have an image view, several buttons and a seekbar. The idea is the following, I want to set an image in the image view...
asked by 14.02.2018 / 02:02
1
answer

String comparison does not work

I have a string that currently only receives "ERROR" and I made an if for when it gave me this value I executed some things, it happens that the comparison always fails, even if the strings being exactly the same, I always compared string that w...
asked by 06.02.2018 / 00:58
1
answer

How to change the location of the database

I'm creating a database as SqlOpenHelper and I know it saves the database in the date folder. I would like to know if there is a way to change the location of the database to sdcard for example.     
asked by 23.02.2018 / 03:37
2
answers

How to execute request again after having accepted permission on android?

I have a button that when pressed it should open the phone call mode with a dynamic number. This method requires the CALL_PHONE permission. And when it is pressed the first time, it opens a dialog asking if I authorize the requested permiss...
asked by 12.03.2018 / 09:35
1
answer

Error creating onClick Android

I have a button on Android where when clicking, will be directed to another screen. The structure of the page looks like this: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/andr...
asked by 01.02.2018 / 23:10
2
answers

Data sent from one activity to another arrives null

My Activity I am displaying the database data in the listview @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_tela_visualizar_clientes); final Lis...
asked by 05.03.2018 / 20:32
1
answer

Icon rounded android studio

What is the difference between android: icon and android: icon rounded? Do not have an icon rounded cause an application problem?     
asked by 04.03.2018 / 22:46
1
answer

Doubt return API Json Android

I recently read a lot about getting data through an API on Android, but I can not seem to get what's being returned in Json from a specific API shown below. { "Sumario": { "Termo": "teste", "Tipo": "teste", "Editora...
asked by 06.02.2018 / 17:38
1
answer

User permissions on firebase

Good morning, I'm having a question, I'm putting together an app where the person accesses it, logs in and password and then the home screen appears. if the person has not registered, she will register through the app itself, but my concern is t...
asked by 24.01.2018 / 18:10
1
answer

How to convert an object into kotlin of type Any! to anyone else who can access the fields?

Good morning, I'm having a rather annoying problem of being solved in a project. I'm trying to make an application that will communicate with odoo ERP, however, this ERP uses the xml-rpc protocol for their requests. To make the requests I'...
asked by 24.01.2018 / 13:30